akeyless-client-commons 1.0.51 → 1.0.53
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/index.d.mts +22 -5
- package/dist/components/index.d.ts +22 -5
- package/dist/components/index.js +753 -619
- package/dist/components/index.mjs +719 -589
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ReactNode, Dispatch, SetStateAction } from 'react';
|
|
3
|
+
import React__default, { MouseEvent, ReactNode, Dispatch, SetStateAction } from 'react';
|
|
4
|
+
import { User } from 'firebase/auth';
|
|
4
5
|
import { TObject, Geo } from 'akeyless-types-commons';
|
|
5
6
|
import { Command as Command$1 } from 'cmdk';
|
|
6
7
|
import * as RPNInput from 'react-phone-number-input';
|
|
@@ -39,13 +40,29 @@ interface LoaderProps {
|
|
|
39
40
|
style?: React__default.CSSProperties;
|
|
40
41
|
className?: string;
|
|
41
42
|
}
|
|
42
|
-
declare const Loader:
|
|
43
|
+
declare const Loader: ({ color, size, style, className }: LoaderProps) => react_jsx_runtime.JSX.Element;
|
|
43
44
|
|
|
44
45
|
declare const Version: ({ version, className }: {
|
|
45
46
|
version: string;
|
|
46
47
|
className?: string;
|
|
47
48
|
}) => react_jsx_runtime.JSX.Element;
|
|
48
49
|
|
|
50
|
+
interface GoogleSvgProps {
|
|
51
|
+
width?: string;
|
|
52
|
+
height?: string;
|
|
53
|
+
viewBox?: string;
|
|
54
|
+
}
|
|
55
|
+
interface LoginWithGoogleButtonProps {
|
|
56
|
+
label: string;
|
|
57
|
+
onClick: (e: MouseEvent<HTMLButtonElement>, user: User) => Promise<void>;
|
|
58
|
+
className?: string;
|
|
59
|
+
containerClassName?: string;
|
|
60
|
+
loaderProps?: LoaderProps;
|
|
61
|
+
googleSvgProps?: GoogleSvgProps;
|
|
62
|
+
onError?: (error: any) => void;
|
|
63
|
+
}
|
|
64
|
+
declare const LoginWithGoogleButton: ({ label, className, containerClassName, onClick, onError, loaderProps, googleSvgProps, }: LoginWithGoogleButtonProps) => react_jsx_runtime.JSX.Element;
|
|
65
|
+
|
|
49
66
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
50
67
|
children?: React$1.ReactNode;
|
|
51
68
|
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -123,11 +140,11 @@ declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_
|
|
|
123
140
|
|
|
124
141
|
declare const buttonVariants: (props?: {
|
|
125
142
|
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost";
|
|
126
|
-
size?: "default" | "
|
|
143
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
127
144
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
128
145
|
declare const Button: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: {
|
|
129
146
|
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost";
|
|
130
|
-
size?: "default" | "
|
|
147
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
131
148
|
} & class_variance_authority_dist_types.ClassProp) => string> & {
|
|
132
149
|
asChild?: boolean;
|
|
133
150
|
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -518,4 +535,4 @@ interface CodeInputProps {
|
|
|
518
535
|
}
|
|
519
536
|
declare function CodeInput({ codeValue, setCodeValue, className, slotContainerClassName }: CodeInputProps): react_jsx_runtime.JSX.Element;
|
|
520
537
|
|
|
521
|
-
export { Badge, type BadgeProps, BooleanUi, Button, Checkbox, CodeInput, ConfirmForm, DatePicker, DurationUI, ElementLabel, ErrorBoundary, ExportToExcel, Filter, type FilterProps, GeoUi, type GeoUiProps, Input, InputContainer, InternationalPhonePicker, Loader, type LoaderProps, MaxRowsLabel, ModularForm, MultiSelect, type MultipleSelectorOption, type MultipleSelectorProps, type MultipleSelectorRef, NumberUI, type NumberUIProps, PhoneUI, ProgressComponent, Search, type SearchSelectOptions, type SearchSelectProps, SelectContainer, SelectWithSearch, Summary, Table, TableBody, TableButton, TableCell, TableContext, TableHead, type TableProps, TableProvider, type TableProviderType, TableRow, TextAreaContainer, TimesUI, type UseFilterProps, Version, badgeVariants, buttonVariants, getFixedNumber, useDebounce, useSortValues };
|
|
538
|
+
export { Badge, type BadgeProps, BooleanUi, Button, Checkbox, CodeInput, ConfirmForm, DatePicker, DurationUI, ElementLabel, ErrorBoundary, ExportToExcel, Filter, type FilterProps, GeoUi, type GeoUiProps, Input, InputContainer, InternationalPhonePicker, Loader, type LoaderProps, LoginWithGoogleButton, MaxRowsLabel, ModularForm, MultiSelect, type MultipleSelectorOption, type MultipleSelectorProps, type MultipleSelectorRef, NumberUI, type NumberUIProps, PhoneUI, ProgressComponent, Search, type SearchSelectOptions, type SearchSelectProps, SelectContainer, SelectWithSearch, Summary, Table, TableBody, TableButton, TableCell, TableContext, TableHead, type TableProps, TableProvider, type TableProviderType, TableRow, TextAreaContainer, TimesUI, type UseFilterProps, Version, badgeVariants, buttonVariants, getFixedNumber, useDebounce, useSortValues };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ReactNode, Dispatch, SetStateAction } from 'react';
|
|
3
|
+
import React__default, { MouseEvent, ReactNode, Dispatch, SetStateAction } from 'react';
|
|
4
|
+
import { User } from 'firebase/auth';
|
|
4
5
|
import { TObject, Geo } from 'akeyless-types-commons';
|
|
5
6
|
import { Command as Command$1 } from 'cmdk';
|
|
6
7
|
import * as RPNInput from 'react-phone-number-input';
|
|
@@ -39,13 +40,29 @@ interface LoaderProps {
|
|
|
39
40
|
style?: React__default.CSSProperties;
|
|
40
41
|
className?: string;
|
|
41
42
|
}
|
|
42
|
-
declare const Loader:
|
|
43
|
+
declare const Loader: ({ color, size, style, className }: LoaderProps) => react_jsx_runtime.JSX.Element;
|
|
43
44
|
|
|
44
45
|
declare const Version: ({ version, className }: {
|
|
45
46
|
version: string;
|
|
46
47
|
className?: string;
|
|
47
48
|
}) => react_jsx_runtime.JSX.Element;
|
|
48
49
|
|
|
50
|
+
interface GoogleSvgProps {
|
|
51
|
+
width?: string;
|
|
52
|
+
height?: string;
|
|
53
|
+
viewBox?: string;
|
|
54
|
+
}
|
|
55
|
+
interface LoginWithGoogleButtonProps {
|
|
56
|
+
label: string;
|
|
57
|
+
onClick: (e: MouseEvent<HTMLButtonElement>, user: User) => Promise<void>;
|
|
58
|
+
className?: string;
|
|
59
|
+
containerClassName?: string;
|
|
60
|
+
loaderProps?: LoaderProps;
|
|
61
|
+
googleSvgProps?: GoogleSvgProps;
|
|
62
|
+
onError?: (error: any) => void;
|
|
63
|
+
}
|
|
64
|
+
declare const LoginWithGoogleButton: ({ label, className, containerClassName, onClick, onError, loaderProps, googleSvgProps, }: LoginWithGoogleButtonProps) => react_jsx_runtime.JSX.Element;
|
|
65
|
+
|
|
49
66
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
50
67
|
children?: React$1.ReactNode;
|
|
51
68
|
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -123,11 +140,11 @@ declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_
|
|
|
123
140
|
|
|
124
141
|
declare const buttonVariants: (props?: {
|
|
125
142
|
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost";
|
|
126
|
-
size?: "default" | "
|
|
143
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
127
144
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
128
145
|
declare const Button: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: {
|
|
129
146
|
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost";
|
|
130
|
-
size?: "default" | "
|
|
147
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
131
148
|
} & class_variance_authority_dist_types.ClassProp) => string> & {
|
|
132
149
|
asChild?: boolean;
|
|
133
150
|
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -518,4 +535,4 @@ interface CodeInputProps {
|
|
|
518
535
|
}
|
|
519
536
|
declare function CodeInput({ codeValue, setCodeValue, className, slotContainerClassName }: CodeInputProps): react_jsx_runtime.JSX.Element;
|
|
520
537
|
|
|
521
|
-
export { Badge, type BadgeProps, BooleanUi, Button, Checkbox, CodeInput, ConfirmForm, DatePicker, DurationUI, ElementLabel, ErrorBoundary, ExportToExcel, Filter, type FilterProps, GeoUi, type GeoUiProps, Input, InputContainer, InternationalPhonePicker, Loader, type LoaderProps, MaxRowsLabel, ModularForm, MultiSelect, type MultipleSelectorOption, type MultipleSelectorProps, type MultipleSelectorRef, NumberUI, type NumberUIProps, PhoneUI, ProgressComponent, Search, type SearchSelectOptions, type SearchSelectProps, SelectContainer, SelectWithSearch, Summary, Table, TableBody, TableButton, TableCell, TableContext, TableHead, type TableProps, TableProvider, type TableProviderType, TableRow, TextAreaContainer, TimesUI, type UseFilterProps, Version, badgeVariants, buttonVariants, getFixedNumber, useDebounce, useSortValues };
|
|
538
|
+
export { Badge, type BadgeProps, BooleanUi, Button, Checkbox, CodeInput, ConfirmForm, DatePicker, DurationUI, ElementLabel, ErrorBoundary, ExportToExcel, Filter, type FilterProps, GeoUi, type GeoUiProps, Input, InputContainer, InternationalPhonePicker, Loader, type LoaderProps, LoginWithGoogleButton, MaxRowsLabel, ModularForm, MultiSelect, type MultipleSelectorOption, type MultipleSelectorProps, type MultipleSelectorRef, NumberUI, type NumberUIProps, PhoneUI, ProgressComponent, Search, type SearchSelectOptions, type SearchSelectProps, SelectContainer, SelectWithSearch, Summary, Table, TableBody, TableButton, TableCell, TableContext, TableHead, type TableProps, TableProvider, type TableProviderType, TableRow, TextAreaContainer, TimesUI, type UseFilterProps, Version, badgeVariants, buttonVariants, getFixedNumber, useDebounce, useSortValues };
|