@vritti/quantum-ui 0.2.2 → 0.2.3
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/Button/Button.d.ts +9 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Card/Card.d.ts +2 -0
- package/dist/components/Card/Card.d.ts.map +1 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +17 -0
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/DatePicker/index.d.ts +3 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -0
- package/dist/components/Field/index.d.ts +2 -0
- package/dist/components/Field/index.d.ts.map +1 -0
- package/dist/components/Form/Form.d.ts +21 -0
- package/dist/components/Form/Form.d.ts.map +1 -0
- package/dist/components/Form/index.d.ts +3 -0
- package/dist/components/Form/index.d.ts.map +1 -0
- package/dist/components/OTPField/OTPField.d.ts +14 -0
- package/dist/components/OTPField/OTPField.d.ts.map +1 -0
- package/dist/components/OTPField/index.d.ts +2 -0
- package/dist/components/OTPField/index.d.ts.map +1 -0
- package/dist/components/PasswordField/PasswordField.d.ts +10 -0
- package/dist/components/PasswordField/PasswordField.d.ts.map +1 -0
- package/dist/components/PasswordField/index.d.ts +2 -0
- package/dist/components/PasswordField/index.d.ts.map +1 -0
- package/dist/components/PhoneField/PhoneField.d.ts +15 -0
- package/dist/components/PhoneField/PhoneField.d.ts.map +1 -0
- package/dist/components/PhoneField/index.d.ts +3 -0
- package/dist/components/PhoneField/index.d.ts.map +1 -0
- package/dist/components/Progress/Progress.d.ts +2 -0
- package/dist/components/Progress/Progress.d.ts.map +1 -0
- package/dist/components/Progress/index.d.ts +2 -0
- package/dist/components/Progress/index.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +4 -0
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/index.d.ts +2 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/Spinner/Spinner.d.ts +3 -0
- package/dist/components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/components/Spinner/index.d.ts +2 -0
- package/dist/components/Spinner/index.d.ts.map +1 -0
- package/dist/components/TextArea/TextArea.d.ts +8 -0
- package/dist/components/TextArea/TextArea.d.ts.map +1 -0
- package/dist/components/TextArea/index.d.ts +2 -0
- package/dist/components/TextArea/index.d.ts.map +1 -0
- package/dist/components/TextField/TextField.d.ts +10 -0
- package/dist/components/TextField/TextField.d.ts.map +1 -0
- package/dist/components/TextField/index.d.ts +2 -0
- package/dist/components/TextField/index.d.ts.map +1 -0
- package/dist/components/ThemeToggle/ThemeToggle.d.ts +7 -0
- package/dist/components/ThemeToggle/ThemeToggle.d.ts.map +1 -0
- package/dist/components/ThemeToggle/index.d.ts +2 -0
- package/dist/components/ThemeToggle/index.d.ts.map +1 -0
- package/dist/{Typography.d.ts → components/Typography/Typography.d.ts} +10 -13
- package/dist/components/Typography/Typography.d.ts.map +1 -0
- package/dist/components/Typography/index.d.ts +2 -0
- package/dist/components/Typography/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +16 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/config/index.d.ts +34 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/index.d.ts +5 -563
- package/dist/index.d.ts.map +1 -0
- package/dist/utils/axios.d.ts +1 -7
- package/dist/utils/axios.d.ts.map +1 -0
- package/dist/utils/formHelpers.d.ts +19 -0
- package/dist/utils/formHelpers.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/package.json +16 -16
- package/dist/Button.d.ts +0 -54
- package/dist/Card.d.ts +0 -44
- package/dist/Checkbox.d.ts +0 -33
- package/dist/DatePicker.d.ts +0 -68
- package/dist/Form.d.ts +0 -250
- package/dist/OTPField.d.ts +0 -17
- package/dist/PasswordField.d.ts +0 -20
- package/dist/PhoneField.d.ts +0 -24
- package/dist/Progress.d.ts +0 -7
- package/dist/Skeleton.d.ts +0 -6
- package/dist/Spinner.d.ts +0 -14
- package/dist/TextArea.d.ts +0 -11
- package/dist/TextField.d.ts +0 -13
- package/dist/ThemeToggle.d.ts +0 -10
- package/dist/axios.d.ts +0 -28
- package/dist/components/Button.d.ts +0 -9
- package/dist/components/Card.d.ts +0 -9
- package/dist/components/Checkbox.d.ts +0 -9
- package/dist/components/DatePicker.d.ts +0 -9
- package/dist/components/Form.d.ts +0 -9
- package/dist/components/OTPField.d.ts +0 -9
- package/dist/components/PasswordField.d.ts +0 -9
- package/dist/components/PhoneField.d.ts +0 -9
- package/dist/components/Progress.d.ts +0 -9
- package/dist/components/Skeleton.d.ts +0 -9
- package/dist/components/Spinner.d.ts +0 -9
- package/dist/components/TextArea.d.ts +0 -9
- package/dist/components/TextField.d.ts +0 -9
- package/dist/components/ThemeToggle.d.ts +0 -9
- package/dist/components/Typography.d.ts +0 -9
- package/dist/shadcn/shadcnField.d.ts +0 -8
- package/dist/shadcnField.d.ts +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Button as ShadcnButton, buttonVariants } from '../../../shadcn/shadcnButton';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface ButtonProps extends React.ComponentProps<typeof ShadcnButton> {
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
loadingText?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export { Button, buttonVariants };
|
|
9
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../lib/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAItF,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC;IAE5E,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAiBD,QAAA,MAAM,MAAM,oGAqBX,CAAC;AAIF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAClD,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../lib/components/Card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,EACJ,UAAU,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Checkbox as ShadcnCheckbox } from '../../../shadcn/shadcnCheckbox';
|
|
3
|
+
export interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof ShadcnCheckbox> {
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
description?: React.ReactNode;
|
|
6
|
+
error?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../lib/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAG5E,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC;IAI1F,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAKxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,eAAO,MAAM,QAAQ,yFAkCpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CalendarProps } from '../../../shadcn/shadcnCalendar';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface DatePickerProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
description?: React.ReactNode;
|
|
6
|
+
error?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
value?: Date;
|
|
9
|
+
onValueChange?: (date: Date | undefined) => void;
|
|
10
|
+
open?: boolean;
|
|
11
|
+
onOpenChange?: (open: boolean) => void;
|
|
12
|
+
calendarProps?: CalendarProps;
|
|
13
|
+
className?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
17
|
+
//# sourceMappingURL=DatePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../lib/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAK9E,MAAM,WAAW,eAAe;IAI9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,KAAK,CAAC,EAAE,IAAI,CAAC;IAKb,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAKjD,IAAI,CAAC,EAAE,OAAO,CAAC;IAKf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAKvC,aAAa,CAAC,EAAE,aAAa,CAAC;IAK9B,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,UAAU,2FA8EtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/DatePicker/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { FieldValues, UseFormReturn } from 'react-hook-form';
|
|
3
|
+
import { FieldMapping } from '../../utils/formHelpers';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export { Controller } from 'react-hook-form';
|
|
6
|
+
export interface FormProps<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = TFieldValues, TMutationData = unknown, TMutationError = Error, TMutationVariables = any> extends Omit<React.FormHTMLAttributes<HTMLFormElement>, 'onSubmit'> {
|
|
7
|
+
form: UseFormReturn<TFieldValues, TContext, TTransformedValues>;
|
|
8
|
+
onSubmit?: Parameters<UseFormReturn<TFieldValues, TContext, TTransformedValues>['handleSubmit']>[0];
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
showRootError?: boolean;
|
|
11
|
+
rootErrorPosition?: 'top' | 'bottom';
|
|
12
|
+
rootErrorClassName?: string;
|
|
13
|
+
fieldMapping?: FieldMapping;
|
|
14
|
+
mutation?: UseMutationResult<TMutationData, TMutationError, TMutationVariables, unknown>;
|
|
15
|
+
transformSubmit?: (data: TTransformedValues extends undefined ? TFieldValues : TTransformedValues) => TMutationVariables;
|
|
16
|
+
}
|
|
17
|
+
export declare function Form<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = TFieldValues, TMutationData = unknown, TMutationError = Error, TMutationVariables = any>({ form, onSubmit, children, showRootError, rootErrorPosition, rootErrorClassName, fieldMapping, mutation, transformSubmit, ...props }: FormProps<TFieldValues, TContext, TTransformedValues, TMutationData, TMutationError, TMutationVariables>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare namespace Form {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../lib/components/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAIL,KAAK,WAAW,EAEhB,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,yBAAyB,CAAC;AAKhF,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAwF7C,MAAM,WAAW,SAAS,CACxB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,QAAQ,GAAG,GAAG,EACd,kBAAkB,SAAS,WAAW,GAAG,SAAS,GAAG,YAAY,EACjE,aAAa,GAAG,OAAO,EACvB,cAAc,GAAG,KAAK,EACtB,kBAAkB,GAAG,GAAG,CACxB,SAAQ,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,eAAe,CAAC,EAAE,UAAU,CAAC;IAInE,IAAI,EAAE,aAAa,CAAC,YAAY,EAAE,QAAQ,EAAE,kBAAkB,CAAC,CAAC;IAMhE,QAAQ,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,YAAY,EAAE,QAAQ,EAAE,kBAAkB,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAKpG,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAM1B,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,iBAAiB,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAKrC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAM5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAQ5B,QAAQ,CAAC,EAAE,iBAAiB,CAAC,aAAa,EAAE,cAAc,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;IAMzF,eAAe,CAAC,EAAE,CAChB,IAAI,EAAE,kBAAkB,SAAS,SAAS,GAAG,YAAY,GAAG,kBAAkB,KAC3E,kBAAkB,CAAC;CACzB;AAgCD,wBAAgB,IAAI,CAClB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,QAAQ,GAAG,GAAG,EACd,kBAAkB,SAAS,WAAW,GAAG,SAAS,GAAG,YAAY,EACjE,aAAa,GAAG,OAAO,EACvB,cAAc,GAAG,KAAK,EACtB,kBAAkB,GAAG,GAAG,EACxB,EACA,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,aAAoB,EACpB,iBAA4B,EAC5B,kBAAkB,EAClB,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,YAAY,EAAE,QAAQ,EAAE,kBAAkB,EAAE,aAAa,EAAE,cAAc,EAAE,kBAAkB,CAAC,2CAqD1G;yBAvEe,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Form/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EACL,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,UAAU,EACV,IAAI,EACJ,KAAK,SAAS,GACf,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface OTPFieldProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
length?: number;
|
|
6
|
+
label?: string;
|
|
7
|
+
description?: React.ReactNode;
|
|
8
|
+
error?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const OTPField: React.ForwardRefExoticComponent<OTPFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
14
|
+
//# sourceMappingURL=OTPField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OTPField.d.ts","sourceRoot":"","sources":["../../../lib/components/OTPField/OTPField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,aAAa;IAI5B,KAAK,EAAE,MAAM,CAAC;IAKd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAMlC,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,eAAO,MAAM,QAAQ,wFAqDpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/OTPField/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TextFieldProps } from '../TextField/TextField';
|
|
3
|
+
export interface PasswordFieldProps extends Omit<TextFieldProps, 'type' | 'endAdornment'> {
|
|
4
|
+
showStrengthIndicator?: boolean;
|
|
5
|
+
showMatchIndicator?: boolean;
|
|
6
|
+
matchPassword?: string;
|
|
7
|
+
toggleAriaLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const PasswordField: React.ForwardRefExoticComponent<Omit<PasswordFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
10
|
+
//# sourceMappingURL=PasswordField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../lib/components/PasswordField/PasswordField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExE,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,cAAc,CAAC;IAIvF,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAKhC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAK7B,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAiBD,eAAO,MAAM,aAAa,0GAkFzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/PasswordField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Country, Value } from 'react-phone-number-input';
|
|
3
|
+
export interface PhoneFieldProps {
|
|
4
|
+
value?: Value;
|
|
5
|
+
onChange: (value: Value | undefined) => void;
|
|
6
|
+
defaultCountry?: Country;
|
|
7
|
+
label?: string;
|
|
8
|
+
description?: React.ReactNode;
|
|
9
|
+
error?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const PhoneField: React.ForwardRefExoticComponent<PhoneFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
15
|
+
//# sourceMappingURL=PhoneField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhoneField.d.ts","sourceRoot":"","sources":["../../../lib/components/PhoneField/PhoneField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAuB,EAAE,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,oCAAoC,CAAC;AAI5C,MAAM,WAAW,eAAe;IAI9B,KAAK,CAAC,EAAE,KAAK,CAAC;IAKd,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,CAAC;IAK7C,cAAc,CAAC,EAAE,OAAO,CAAC;IAKzB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD,eAAO,MAAM,UAAU,0FAkDtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/PhoneField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,KAAK,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACxF,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../lib/components/Progress/Progress.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,0MAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../lib/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,2CAE9E;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../lib/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEzE,eAAO,MAAM,OAAO,sBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface TextAreaProps extends React.ComponentProps<'textarea'> {
|
|
3
|
+
label?: string;
|
|
4
|
+
description?: React.ReactNode;
|
|
5
|
+
error?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const TextArea: React.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
8
|
+
//# sourceMappingURL=TextArea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../lib/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC;IAIrE,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,eAAO,MAAM,QAAQ,wGA2BpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/TextArea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface TextFieldProps extends React.ComponentProps<'input'> {
|
|
3
|
+
label?: string;
|
|
4
|
+
description?: React.ReactNode;
|
|
5
|
+
error?: string;
|
|
6
|
+
startAdornment?: React.ReactNode;
|
|
7
|
+
endAdornment?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const TextField: React.ForwardRefExoticComponent<Omit<TextFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
10
|
+
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../lib/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;IAInE,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAKjC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC;AAGD,eAAO,MAAM,SAAS,sGAyBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/TextField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeToggle.d.ts","sourceRoot":"","sources":["../../../lib/components/ThemeToggle/ThemeToggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,gBAAgB;IAI/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAwClD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/ThemeToggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { }
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface TypographyProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body1' | 'body2' | 'caption' | 'overline' | 'subtitle1' | 'subtitle2' | 'button' | 'code' | 'blockquote';
|
|
5
|
+
intent?: 'default' | 'primary' | 'secondary' | 'muted' | 'success' | 'warning' | 'error';
|
|
6
|
+
align?: 'left' | 'center' | 'right' | 'justify';
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const Typography: React.FC<TypographyProps>;
|
|
10
|
+
//# sourceMappingURL=Typography.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../lib/components/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,eAAe;IAI9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAK1B,OAAO,CAAC,EACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,OAAO,GACP,SAAS,GACT,UAAU,GACV,WAAW,GACX,WAAW,GACX,QAAQ,GACR,MAAM,GACN,YAAY,CAAC;IAKjB,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAKzF,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IAKhD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAoBD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoFhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './Button';
|
|
2
|
+
export * from './Card';
|
|
3
|
+
export * from './Checkbox';
|
|
4
|
+
export * from './DatePicker';
|
|
5
|
+
export * from './Field';
|
|
6
|
+
export * from './Form';
|
|
7
|
+
export * from './OTPField';
|
|
8
|
+
export * from './PasswordField';
|
|
9
|
+
export * from './PhoneField';
|
|
10
|
+
export * from './Skeleton';
|
|
11
|
+
export * from './Spinner';
|
|
12
|
+
export * from './TextArea';
|
|
13
|
+
export * from './TextField';
|
|
14
|
+
export * from './ThemeToggle';
|
|
15
|
+
export * from './Typography';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface CsrfConfig {
|
|
2
|
+
endpoint: string;
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
headerName: string;
|
|
5
|
+
}
|
|
6
|
+
export interface AxiosConfig {
|
|
7
|
+
baseURL: string;
|
|
8
|
+
timeout: number;
|
|
9
|
+
withCredentials: boolean;
|
|
10
|
+
headers?: Record<string, string>;
|
|
11
|
+
}
|
|
12
|
+
export interface AuthConfig {
|
|
13
|
+
tokenHeaderName: string;
|
|
14
|
+
tokenPrefix: string;
|
|
15
|
+
tokenEndpoint: string;
|
|
16
|
+
refreshEndpoint: string;
|
|
17
|
+
sessionRecoveryEnabled: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface QuantumUIConfig {
|
|
20
|
+
csrf?: Partial<CsrfConfig>;
|
|
21
|
+
axios?: Partial<AxiosConfig>;
|
|
22
|
+
auth?: Partial<AuthConfig>;
|
|
23
|
+
}
|
|
24
|
+
declare const defaultConfig: Required<{
|
|
25
|
+
csrf: CsrfConfig;
|
|
26
|
+
axios: AxiosConfig;
|
|
27
|
+
auth: AuthConfig;
|
|
28
|
+
}>;
|
|
29
|
+
export declare function defineConfig(config: QuantumUIConfig): QuantumUIConfig;
|
|
30
|
+
export declare function configureQuantumUI(userConfig: QuantumUIConfig): void;
|
|
31
|
+
export declare function getConfig(): typeof defaultConfig;
|
|
32
|
+
export declare function resetConfig(): void;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/config/index.ts"],"names":[],"mappings":"AA2BA,MAAM,WAAW,UAAU;IAKzB,QAAQ,EAAE,MAAM,CAAC;IAMjB,OAAO,EAAE,OAAO,CAAC;IAMjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAKD,MAAM,WAAW,WAAW;IAK1B,OAAO,EAAE,MAAM,CAAC;IAMhB,OAAO,EAAE,MAAM,CAAC;IAMhB,eAAe,EAAE,OAAO,CAAC;IAKzB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC;AAKD,MAAM,WAAW,UAAU;IAKzB,eAAe,EAAE,MAAM,CAAC;IAMxB,WAAW,EAAE,MAAM,CAAC;IAMpB,aAAa,EAAE,MAAM,CAAC;IAMtB,eAAe,EAAE,MAAM,CAAC;IAMxB,sBAAsB,EAAE,OAAO,CAAC;CACjC;AAKD,MAAM,WAAW,eAAe;IAI9B,IAAI,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAK3B,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAK7B,IAAI,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;CAC5B;AAKD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC;IAC5B,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,UAAU,CAAC;CAClB,CAsBA,CAAC;AAgDF,wBAAgB,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,eAAe,CAErE;AAgBD,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,eAAe,GAAG,IAAI,CAoBpE;AAMD,wBAAgB,SAAS,IAAI,OAAO,aAAa,CAEhD;AAMD,wBAAgB,WAAW,IAAI,IAAI,CAElC"}
|