@emeraldemperaur/vector-sigma 1.4.1 → 1.4.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/README.md +60 -6
- package/lib/index.cjs +459 -260
- package/lib/index.esm.js +452 -254
- package/lib/types/components/avatar/avatar.d.ts +5 -5
- package/lib/types/components/button/button.d.ts +3 -3
- package/lib/types/components/checkbox/checkbox.d.ts +5 -5
- package/lib/types/components/conditional/conditional.d.ts +6 -6
- package/lib/types/components/datepicker/datepicker.d.ts +5 -5
- package/lib/types/components/daterangepicker/daterangepicker.d.ts +4 -4
- package/lib/types/components/datetimepicker/datetimepicker.d.ts +5 -5
- package/lib/types/components/dropdown/dropdown.d.ts +5 -5
- package/lib/types/components/file/file.d.ts +4 -4
- package/lib/types/components/file/filemultiple.d.ts +4 -4
- package/lib/types/components/image/image.d.ts +3 -3
- package/lib/types/components/input/input.d.ts +6 -6
- package/lib/types/components/input/passwordInput.d.ts +1 -1
- package/lib/types/components/input/phoneInput.d.ts +1 -1
- package/lib/types/components/input/uuidInput.d.ts +2 -2
- package/lib/types/components/input/xCreditCardInput.d.ts +1 -1
- package/lib/types/components/inputcurrency/inputcurrency.d.ts +3 -3
- package/lib/types/components/inputcurrency/stockInput.d.ts +2 -2
- package/lib/types/components/radio/radio.d.ts +3 -3
- package/lib/types/components/select/select.d.ts +3 -3
- package/lib/types/components/selectmultiple/selectmultiple.d.ts +3 -3
- package/lib/types/components/slider/range.d.ts +5 -5
- package/lib/types/components/slider/slider.d.ts +3 -3
- package/lib/types/components/toggle/toggle.d.ts +3 -10
- package/lib/types/components/xtitle/xtitle.d.ts +2 -3
- package/lib/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,17 +2,17 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
export type AvatarDesign = 'avatar' | 'avatar-outline' | 'avatar-material' | 'avatar-neumorphic';
|
|
3
3
|
export type AvatarShape = 'circle' | 'square' | 'rounded';
|
|
4
4
|
export interface AvatarProps {
|
|
5
|
-
inputtype?: AvatarDesign;
|
|
5
|
+
inputtype?: AvatarDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: any[];
|
|
11
|
-
value
|
|
11
|
+
value?: any[];
|
|
12
12
|
newRow?: boolean;
|
|
13
13
|
isEdit?: boolean;
|
|
14
14
|
placeholder?: string;
|
|
15
|
-
|
|
15
|
+
readonly?: boolean;
|
|
16
16
|
isHinted?: boolean;
|
|
17
17
|
hintText?: string;
|
|
18
18
|
hintUrl?: string;
|
|
@@ -23,4 +23,4 @@ export interface AvatarProps {
|
|
|
23
23
|
style?: React.CSSProperties;
|
|
24
24
|
accept?: string;
|
|
25
25
|
}
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const AvatarInput: ({ inputtype, alias, readonly, width, inputlabel, placeholder, value, shape, size, style, accept, ...props }: AvatarProps) => React.JSX.Element;
|
|
@@ -3,9 +3,9 @@ import type { ButtonProps } from '@radix-ui/themes';
|
|
|
3
3
|
export type ButtonDesign = 'button' | 'button-material' | 'button-outline' | 'button-neumorphic';
|
|
4
4
|
import '../../styles/main.scss';
|
|
5
5
|
export interface DesignButtonProps extends ButtonProps {
|
|
6
|
-
inputtype?: ButtonDesign;
|
|
6
|
+
inputtype?: ButtonDesign & {};
|
|
7
7
|
alias: string;
|
|
8
|
-
|
|
8
|
+
inputlabel?: string;
|
|
9
9
|
icon?: React.ReactNode;
|
|
10
10
|
width: number;
|
|
11
11
|
defaultValue?: string;
|
|
@@ -19,4 +19,4 @@ export interface DesignButtonProps extends ButtonProps {
|
|
|
19
19
|
hintUrl?: string;
|
|
20
20
|
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
21
21
|
}
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const ButtonInput: ({ inputtype, type, inputlabel, alias, readOnly, style, width, children, ...props }: DesignButtonProps) => React.JSX.Element;
|
|
@@ -3,17 +3,17 @@ import { InputOption } from 'utils/vinci';
|
|
|
3
3
|
import '../../styles/main.scss';
|
|
4
4
|
export type CheckBoxDesign = 'checkbox' | 'checkbox-material' | 'checkbox-outline' | 'checkbox-neumorphic';
|
|
5
5
|
export interface CheckboxGroup {
|
|
6
|
-
inputtype?: CheckBoxDesign;
|
|
6
|
+
inputtype?: CheckBoxDesign & {};
|
|
7
7
|
alias: string;
|
|
8
|
-
|
|
8
|
+
inputlabel?: string;
|
|
9
9
|
icon?: React.ReactNode;
|
|
10
10
|
width: number;
|
|
11
11
|
defaultValue?: any[];
|
|
12
|
-
value
|
|
12
|
+
value?: any[];
|
|
13
13
|
newRow?: boolean;
|
|
14
14
|
isEdit?: boolean;
|
|
15
15
|
placeholder?: string;
|
|
16
|
-
|
|
16
|
+
readonly?: boolean;
|
|
17
17
|
isHinted?: boolean;
|
|
18
18
|
hintText?: string;
|
|
19
19
|
hintUrl?: string;
|
|
@@ -24,4 +24,4 @@ export interface CheckboxGroup {
|
|
|
24
24
|
className?: string;
|
|
25
25
|
style?: React.CSSProperties;
|
|
26
26
|
}
|
|
27
|
-
export declare const
|
|
27
|
+
export declare const CheckboxGroupInput: ({ inputtype, alias, readonly, width, placeholder, inputlabel, style, value, inputoptions, direction, columns, className, ...props }: CheckboxGroup) => React.JSX.Element;
|
|
@@ -7,11 +7,11 @@ export type SelectTriggerDesign = 'conditionalselect' | 'conditionalselect-outli
|
|
|
7
7
|
export type TriggerType = 'conditionaltoggle' | 'conditionalcheckbox' | 'conditionalselect';
|
|
8
8
|
export interface ConditionalProps {
|
|
9
9
|
alias: string;
|
|
10
|
-
|
|
10
|
+
inputlabel?: string;
|
|
11
11
|
icon?: React.ReactNode;
|
|
12
12
|
width: number;
|
|
13
|
-
defaultValue?: any[];
|
|
14
|
-
value
|
|
13
|
+
defaultValue?: any[] | any;
|
|
14
|
+
value?: any | any[];
|
|
15
15
|
newRow?: boolean;
|
|
16
16
|
isEdit?: boolean;
|
|
17
17
|
placeholder?: string;
|
|
@@ -19,8 +19,8 @@ export interface ConditionalProps {
|
|
|
19
19
|
isHinted?: boolean;
|
|
20
20
|
hintText?: string;
|
|
21
21
|
hintUrl?: string;
|
|
22
|
-
inputtype?: ToggleTriggerDesign | CheckboxTriggerDesign | SelectTriggerDesign;
|
|
23
|
-
toggledinputtype?: ToggleTriggerDesign | CheckboxTriggerDesign | SelectTriggerDesign;
|
|
22
|
+
inputtype?: ToggleTriggerDesign & {} | CheckboxTriggerDesign & {} | SelectTriggerDesign & {};
|
|
23
|
+
toggledinputtype?: ToggleTriggerDesign & {} | CheckboxTriggerDesign & {} | SelectTriggerDesign & {};
|
|
24
24
|
triggerValue?: any;
|
|
25
25
|
inputoptions?: InputOption[];
|
|
26
26
|
errorText?: ReactNode | string | null;
|
|
@@ -28,4 +28,4 @@ export interface ConditionalProps {
|
|
|
28
28
|
className?: string;
|
|
29
29
|
style?: React.CSSProperties;
|
|
30
30
|
}
|
|
31
|
-
export declare const ConditionalTrigger: ({ alias, readOnly, width, placeholder, value, inputtype, triggerValue, inputoptions, toggledinputtype, children, style, className, ...props }: ConditionalProps) => React.JSX.Element;
|
|
31
|
+
export declare const ConditionalTrigger: ({ alias, readOnly, width, placeholder, value, inputlabel, inputtype, triggerValue, inputoptions, toggledinputtype, children, style, className, ...props }: ConditionalProps) => React.JSX.Element;
|
|
@@ -2,16 +2,16 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type DatePickerDesign = 'datepicker' | 'datepicker-material' | 'datepicker-outline' | 'datepicker-neumorphic';
|
|
4
4
|
export interface DatePickerProps {
|
|
5
|
-
inputtype?: DatePickerDesign;
|
|
5
|
+
inputtype?: DatePickerDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: string;
|
|
11
|
-
value
|
|
11
|
+
value?: string;
|
|
12
12
|
newRow?: boolean;
|
|
13
13
|
placeholder?: string;
|
|
14
|
-
|
|
14
|
+
readonly?: boolean;
|
|
15
15
|
isHinted?: boolean;
|
|
16
16
|
hintText?: string;
|
|
17
17
|
hintUrl?: string;
|
|
@@ -21,4 +21,4 @@ export interface DatePickerProps {
|
|
|
21
21
|
className?: string;
|
|
22
22
|
style?: React.CSSProperties;
|
|
23
23
|
}
|
|
24
|
-
export declare const DatePicker: ({ inputtype, alias,
|
|
24
|
+
export declare const DatePicker: ({ inputtype, alias, readonly, width, inputlabel, placeholder, minvalue, maxvalue, className, style, ...props }: DatePickerProps) => React.JSX.Element;
|
|
@@ -2,13 +2,13 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type DateRangePickerDesign = 'daterangepicker' | 'daterangepicker-material' | 'daterangepicker-outline' | 'daterangepicker-neumorphic';
|
|
4
4
|
export interface DateRangePickerProps {
|
|
5
|
-
inputtype?: DateRangePickerDesign;
|
|
5
|
+
inputtype?: DateRangePickerDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: string;
|
|
11
|
-
value
|
|
11
|
+
value?: string;
|
|
12
12
|
newRow?: boolean;
|
|
13
13
|
placeholder?: string;
|
|
14
14
|
readOnly?: boolean;
|
|
@@ -21,4 +21,4 @@ export interface DateRangePickerProps {
|
|
|
21
21
|
className?: string;
|
|
22
22
|
style?: React.CSSProperties;
|
|
23
23
|
}
|
|
24
|
-
export declare const DateRangePicker: ({ inputtype, alias, readOnly, width, placeholder, value, minvalue, maxvalue, className, style, ...props }: DateRangePickerProps) => React.JSX.Element;
|
|
24
|
+
export declare const DateRangePicker: ({ inputtype, alias, readOnly, width, inputlabel, placeholder, value, minvalue, maxvalue, className, style, ...props }: DateRangePickerProps) => React.JSX.Element;
|
|
@@ -2,16 +2,16 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type DateTimePickerDesign = 'datetimepicker' | 'datetimepicker-material' | 'datetimepicker-outline' | 'datetimepicker-neumorphic';
|
|
4
4
|
export interface DateTimePickerProps {
|
|
5
|
-
inputtype?: DateTimePickerDesign;
|
|
5
|
+
inputtype?: DateTimePickerDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: string;
|
|
11
|
-
value
|
|
11
|
+
value?: string;
|
|
12
12
|
newRow?: boolean;
|
|
13
13
|
placeholder?: string;
|
|
14
|
-
|
|
14
|
+
readonly?: boolean;
|
|
15
15
|
isHinted?: boolean;
|
|
16
16
|
hintText?: string;
|
|
17
17
|
hintUrl?: string;
|
|
@@ -21,4 +21,4 @@ export interface DateTimePickerProps {
|
|
|
21
21
|
className?: string;
|
|
22
22
|
style?: React.CSSProperties;
|
|
23
23
|
}
|
|
24
|
-
export declare const DateTimePicker: ({ inputtype, alias,
|
|
24
|
+
export declare const DateTimePicker: ({ inputtype, alias, readonly, width, inputlabel, placeholder, value, minvalue, maxvalue, className, style, ...props }: DateTimePickerProps) => React.JSX.Element;
|
|
@@ -2,16 +2,16 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type DropDownDesign = 'dropdown' | 'dropdown-material' | 'dropdown-outline' | 'dropdown-neumorphic';
|
|
4
4
|
export interface DropDownProps {
|
|
5
|
-
inputtype?: DropDownDesign;
|
|
5
|
+
inputtype?: DropDownDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: string;
|
|
11
|
-
value
|
|
11
|
+
value?: string;
|
|
12
12
|
newRow?: boolean;
|
|
13
13
|
placeholder?: string;
|
|
14
|
-
|
|
14
|
+
readonly?: boolean;
|
|
15
15
|
isHinted?: boolean;
|
|
16
16
|
hintText?: string;
|
|
17
17
|
hintUrl?: string;
|
|
@@ -29,4 +29,4 @@ export interface DropDownProps {
|
|
|
29
29
|
className?: string;
|
|
30
30
|
style?: React.CSSProperties;
|
|
31
31
|
}
|
|
32
|
-
export declare const Dropdown: ({ inputtype, alias,
|
|
32
|
+
export declare const Dropdown: ({ inputtype, alias, readonly, width, inputlabel, placeholder, value, inputoptions, style, ...props }: DropDownProps) => React.JSX.Element;
|
|
@@ -2,9 +2,9 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type FileInputDesign = 'fileinput' | 'fileinput-material' | 'fileinput-outline' | 'fileinput-neumorphic';
|
|
4
4
|
export interface FileInputProps {
|
|
5
|
-
inputtype?: FileInputDesign;
|
|
5
|
+
inputtype?: FileInputDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: any;
|
|
@@ -12,7 +12,7 @@ export interface FileInputProps {
|
|
|
12
12
|
newRow?: boolean;
|
|
13
13
|
isEdit?: boolean;
|
|
14
14
|
placeholder?: string;
|
|
15
|
-
|
|
15
|
+
readonly?: boolean;
|
|
16
16
|
isHinted?: boolean;
|
|
17
17
|
hintText?: string;
|
|
18
18
|
hintUrl?: string;
|
|
@@ -21,4 +21,4 @@ export interface FileInputProps {
|
|
|
21
21
|
errorText?: ReactNode | string | null;
|
|
22
22
|
style?: React.CSSProperties;
|
|
23
23
|
}
|
|
24
|
-
export declare const File: ({ inputtype, alias,
|
|
24
|
+
export declare const File: ({ inputtype, alias, readonly, width, inputlabel, placeholder, preview, className, style, ...props }: FileInputProps) => React.JSX.Element;
|
|
@@ -2,9 +2,9 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type FileMultipleInputDesign = 'filemultiple' | 'filemultiple-material' | 'filemultiple-outline' | 'filemultiple-neumorphic';
|
|
4
4
|
export interface FileMultipleInputProps {
|
|
5
|
-
inputtype?: FileMultipleInputDesign;
|
|
5
|
+
inputtype?: FileMultipleInputDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: any;
|
|
@@ -12,7 +12,7 @@ export interface FileMultipleInputProps {
|
|
|
12
12
|
newRow?: boolean;
|
|
13
13
|
isEdit?: boolean;
|
|
14
14
|
placeholder?: string;
|
|
15
|
-
|
|
15
|
+
readonly?: boolean;
|
|
16
16
|
isHinted?: boolean;
|
|
17
17
|
hintText?: string;
|
|
18
18
|
hintUrl?: string;
|
|
@@ -21,4 +21,4 @@ export interface FileMultipleInputProps {
|
|
|
21
21
|
className?: string;
|
|
22
22
|
style?: React.CSSProperties;
|
|
23
23
|
}
|
|
24
|
-
export declare const FileMultiple: ({ inputtype, alias,
|
|
24
|
+
export declare const FileMultiple: ({ inputtype, alias, readonly, width, inputlabel, placeholder, preview, className, style, ...props }: FileMultipleInputProps) => React.JSX.Element;
|
|
@@ -5,8 +5,8 @@ export interface ImageDisplayProps {
|
|
|
5
5
|
id: string | number;
|
|
6
6
|
src: string;
|
|
7
7
|
alt?: string;
|
|
8
|
-
design?: ImageDesign;
|
|
9
|
-
layout?: ImageLayout;
|
|
8
|
+
design?: ImageDesign & {};
|
|
9
|
+
layout?: ImageLayout & {};
|
|
10
10
|
aspectRatio?: number;
|
|
11
11
|
height?: string | number;
|
|
12
12
|
width?: string | number;
|
|
@@ -14,4 +14,4 @@ export interface ImageDisplayProps {
|
|
|
14
14
|
style?: React.CSSProperties;
|
|
15
15
|
onClick?: () => void;
|
|
16
16
|
}
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const ImageOutput: ({ id, src, alt, design, layout, aspectRatio, height, width, className, style, onClick, }: ImageDisplayProps) => React.JSX.Element;
|
|
@@ -5,23 +5,23 @@ export type InputType = 'date' | 'datetime-local' | 'email' | 'hidden' | 'month'
|
|
|
5
5
|
export type InputDesign = "input" | "input-material" | "input-outline" | "input-neumorphic";
|
|
6
6
|
export type xInputFieldProps = React.ComponentProps<typeof TextField.Root> & {
|
|
7
7
|
alias: string;
|
|
8
|
-
inputtype?: InputType;
|
|
9
|
-
|
|
8
|
+
inputtype?: InputType & {};
|
|
9
|
+
inputlabel?: string;
|
|
10
10
|
width: number;
|
|
11
11
|
newRow?: boolean;
|
|
12
12
|
placeholder?: string;
|
|
13
|
-
|
|
13
|
+
readonly?: boolean;
|
|
14
14
|
isHinted?: boolean;
|
|
15
15
|
hintText?: string;
|
|
16
16
|
hintUrl?: string;
|
|
17
17
|
icon?: React.ReactNode;
|
|
18
18
|
defaultValue?: string;
|
|
19
|
-
value
|
|
19
|
+
value?: string;
|
|
20
20
|
errorText?: ReactNode | string | null;
|
|
21
21
|
className?: string;
|
|
22
22
|
style?: React.CSSProperties;
|
|
23
|
-
inputVariant?: InputDesign;
|
|
23
|
+
inputVariant?: InputDesign & {};
|
|
24
24
|
delimiter?: string;
|
|
25
25
|
format?: number[];
|
|
26
26
|
};
|
|
27
|
-
export declare const Input: ({ alias, inputtype, width,
|
|
27
|
+
export declare const Input: ({ alias, inputtype, width, inputlabel, readonly, placeholder, className, size, style, inputVariant, ...props }: xInputFieldProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { xInputFieldProps } from "./input";
|
|
3
3
|
import '../../styles/main.scss';
|
|
4
|
-
export declare const PasswordInput: ({ alias,
|
|
4
|
+
export declare const PasswordInput: ({ alias, inputlabel, width, readonly, placeholder, inputVariant, size, className, ...props }: xInputFieldProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { xInputFieldProps } from "./input";
|
|
3
3
|
import '../../styles/main.scss';
|
|
4
|
-
export declare const PhoneInput: ({ alias,
|
|
4
|
+
export declare const PhoneInput: ({ alias, inputlabel, width, placeholder, readonly, inputVariant, size, className, ...props }: xInputFieldProps) => React.JSX.Element;
|
|
@@ -6,7 +6,7 @@ type startsWithUuid = `uuid${string}`;
|
|
|
6
6
|
type UUIDInputProps = Omit<React.ComponentProps<typeof TextField.Root>, 'type' | 'onChange' | 'value' | 'defaultValue'> & {
|
|
7
7
|
alias: string;
|
|
8
8
|
type: startsWithUuid;
|
|
9
|
-
inputLabel
|
|
9
|
+
inputLabel?: string;
|
|
10
10
|
width: number;
|
|
11
11
|
newRow?: boolean;
|
|
12
12
|
delimiter?: string;
|
|
@@ -17,7 +17,7 @@ type UUIDInputProps = Omit<React.ComponentProps<typeof TextField.Root>, 'type' |
|
|
|
17
17
|
placeholder?: string;
|
|
18
18
|
errorText?: ReactNode | string | null;
|
|
19
19
|
className?: string;
|
|
20
|
-
inputVariant?: InputDesign;
|
|
20
|
+
inputVariant?: InputDesign & {};
|
|
21
21
|
};
|
|
22
22
|
export declare const UUIDInput: ({ alias, type, inputLabel, width, delimiter, format, placeholder, readOnly, inputVariant, size, className, ...props }: UUIDInputProps) => React.JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { xInputFieldProps } from "./input";
|
|
3
3
|
import '../../styles/main.scss';
|
|
4
|
-
export declare const CreditCardInput: ({ alias,
|
|
4
|
+
export declare const CreditCardInput: ({ alias, inputlabel, width, placeholder, readonly, inputVariant, className, ...props }: xInputFieldProps) => React.JSX.Element;
|
|
@@ -4,8 +4,8 @@ import { InputDesign } from "components/input/input";
|
|
|
4
4
|
import '../../styles/main.scss';
|
|
5
5
|
type CurrencyInputProps = {
|
|
6
6
|
alias: string;
|
|
7
|
-
inputtype?: SupportedCurrency | "currency";
|
|
8
|
-
inputLabel
|
|
7
|
+
inputtype?: SupportedCurrency & {} | "currency";
|
|
8
|
+
inputLabel?: string;
|
|
9
9
|
width: number;
|
|
10
10
|
newRow?: boolean;
|
|
11
11
|
defaultValue?: string;
|
|
@@ -15,7 +15,7 @@ type CurrencyInputProps = {
|
|
|
15
15
|
hintText?: string;
|
|
16
16
|
errorText?: ReactNode | string | null;
|
|
17
17
|
hintUrl?: string;
|
|
18
|
-
inputVariant?: InputDesign;
|
|
18
|
+
inputVariant?: InputDesign & {};
|
|
19
19
|
className?: string;
|
|
20
20
|
};
|
|
21
21
|
export declare const CurrencyInput: ({ alias, inputtype, inputLabel, width, defaultValue, placeholder, readOnly, inputVariant, className, ...props }: CurrencyInputProps) => React.JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { InputDesign } from "components/input/input";
|
|
|
3
3
|
import '../../styles/main.scss';
|
|
4
4
|
type StockInputProps = {
|
|
5
5
|
alias: string;
|
|
6
|
-
inputLabel
|
|
6
|
+
inputLabel?: string;
|
|
7
7
|
width: number;
|
|
8
8
|
defaultValue: string;
|
|
9
9
|
newRow?: boolean;
|
|
@@ -13,7 +13,7 @@ type StockInputProps = {
|
|
|
13
13
|
hintText?: string;
|
|
14
14
|
hintUrl?: string;
|
|
15
15
|
errorText?: ReactNode | string | null;
|
|
16
|
-
inputVariant?: InputDesign;
|
|
16
|
+
inputVariant?: InputDesign & {};
|
|
17
17
|
className?: string;
|
|
18
18
|
};
|
|
19
19
|
export declare const StockInput: ({ alias, inputLabel, width, defaultValue, placeholder, readOnly, inputVariant, className, ...props }: StockInputProps) => React.JSX.Element;
|
|
@@ -3,13 +3,13 @@ import { InputOption } from 'utils/vinci';
|
|
|
3
3
|
import '../../styles/main.scss';
|
|
4
4
|
export type RadioDesign = 'radio' | 'radio-material' | 'radio-outline' | 'radio-neumorphic';
|
|
5
5
|
interface RadioGroupProps {
|
|
6
|
-
inputtype?: RadioDesign;
|
|
6
|
+
inputtype?: RadioDesign & {};
|
|
7
7
|
alias: string;
|
|
8
8
|
inputLabel?: string;
|
|
9
9
|
icon?: React.ReactNode;
|
|
10
10
|
width: number;
|
|
11
11
|
defaultValue?: any[];
|
|
12
|
-
value
|
|
12
|
+
value?: any[];
|
|
13
13
|
newRow?: boolean;
|
|
14
14
|
isEdit?: boolean;
|
|
15
15
|
placeholder?: string;
|
|
@@ -24,5 +24,5 @@ interface RadioGroupProps {
|
|
|
24
24
|
errorText?: ReactNode | string | null;
|
|
25
25
|
style?: React.CSSProperties;
|
|
26
26
|
}
|
|
27
|
-
export declare const
|
|
27
|
+
export declare const RadioGroupInput: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, style, inputoptions, direction, columns, className, ...props }: RadioGroupProps) => React.JSX.Element;
|
|
28
28
|
export {};
|
|
@@ -3,13 +3,13 @@ import { InputOption } from "utils/vinci";
|
|
|
3
3
|
import '../../styles/main.scss';
|
|
4
4
|
export type OptionSelectDesign = 'select' | 'select-material' | 'select-outline' | 'select-neumorphic';
|
|
5
5
|
interface OptionSelectProps {
|
|
6
|
-
inputtype?: OptionSelectDesign;
|
|
6
|
+
inputtype?: OptionSelectDesign & {};
|
|
7
7
|
alias: string;
|
|
8
8
|
inputLabel?: string;
|
|
9
9
|
icon?: React.ReactNode;
|
|
10
10
|
width: number;
|
|
11
11
|
defaultValue?: string;
|
|
12
|
-
value
|
|
12
|
+
value?: string;
|
|
13
13
|
newRow?: boolean;
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
readOnly?: boolean;
|
|
@@ -22,5 +22,5 @@ interface OptionSelectProps {
|
|
|
22
22
|
className?: string;
|
|
23
23
|
style?: React.CSSProperties;
|
|
24
24
|
}
|
|
25
|
-
export declare const OptionSelect: ({ inputtype, alias, readOnly, width, placeholder, style,
|
|
25
|
+
export declare const OptionSelect: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, style, inputoptions, className, ...props }: OptionSelectProps) => React.JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -3,13 +3,13 @@ import { InputOption } from "utils/vinci";
|
|
|
3
3
|
import '../../styles/main.scss';
|
|
4
4
|
export type MultipleSelectDesign = 'multiselect' | 'multiselect-material' | 'multiselect-outline' | 'multiselect-neumorphic';
|
|
5
5
|
interface MultipleSelectProps {
|
|
6
|
-
inputtype?: MultipleSelectDesign;
|
|
6
|
+
inputtype?: MultipleSelectDesign & {};
|
|
7
7
|
alias: string;
|
|
8
8
|
inputLabel?: string;
|
|
9
9
|
icon?: React.ReactNode;
|
|
10
10
|
width: number;
|
|
11
11
|
defaultValue?: any[];
|
|
12
|
-
value
|
|
12
|
+
value?: any[];
|
|
13
13
|
newRow?: boolean;
|
|
14
14
|
isEdit?: boolean;
|
|
15
15
|
placeholder?: string;
|
|
@@ -22,5 +22,5 @@ interface MultipleSelectProps {
|
|
|
22
22
|
className?: string;
|
|
23
23
|
style?: React.CSSProperties;
|
|
24
24
|
}
|
|
25
|
-
export declare const MultipleSelect: ({ inputtype, alias, readOnly, width, placeholder, style,
|
|
25
|
+
export declare const MultipleSelect: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, style, inputoptions, className, ...props }: MultipleSelectProps) => React.JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -2,17 +2,17 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type RangeDesign = 'range' | 'range-material' | 'range-outline' | 'range-neumorphic';
|
|
4
4
|
interface RangeProps {
|
|
5
|
-
inputtype?: RangeDesign;
|
|
5
|
+
inputtype?: RangeDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: string;
|
|
11
|
-
value
|
|
11
|
+
value?: string;
|
|
12
12
|
newRow?: boolean;
|
|
13
13
|
errorText?: ReactNode | string | null;
|
|
14
14
|
placeholder?: string;
|
|
15
|
-
|
|
15
|
+
readonly?: boolean;
|
|
16
16
|
isHinted?: boolean;
|
|
17
17
|
hintText?: string;
|
|
18
18
|
hintUrl?: string;
|
|
@@ -24,5 +24,5 @@ interface RangeProps {
|
|
|
24
24
|
className?: string;
|
|
25
25
|
style?: React.CSSProperties;
|
|
26
26
|
}
|
|
27
|
-
export declare const RangeSlider: ({ inputtype, alias,
|
|
27
|
+
export declare const RangeSlider: ({ inputtype, alias, readonly, width, inputlabel, placeholder, minvalue, maxvalue, stepvalue, minStepsBetweenThumbs, className, style, ...props }: RangeProps) => React.JSX.Element;
|
|
28
28
|
export {};
|
|
@@ -2,13 +2,13 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
3
|
export type SliderDesign = 'slider' | 'slider-material' | 'slider-outline' | 'slider-neumorphic';
|
|
4
4
|
interface SliderProps {
|
|
5
|
-
inputtype?: SliderDesign;
|
|
5
|
+
inputtype?: SliderDesign & {};
|
|
6
6
|
alias: string;
|
|
7
7
|
inputLabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: string;
|
|
11
|
-
value
|
|
11
|
+
value?: string;
|
|
12
12
|
newRow?: boolean;
|
|
13
13
|
errorText?: ReactNode | string | null;
|
|
14
14
|
placeholder?: string;
|
|
@@ -22,5 +22,5 @@ interface SliderProps {
|
|
|
22
22
|
className?: string;
|
|
23
23
|
style?: React.CSSProperties;
|
|
24
24
|
}
|
|
25
|
-
export declare const
|
|
25
|
+
export declare const SliderInput: ({ inputtype, alias, readOnly, width, placeholder, minvalue, maxvalue, stepvalue, className, style, ...props }: SliderProps) => React.JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -1,25 +1,18 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
2
|
import type { ButtonProps } from '@radix-ui/themes';
|
|
3
3
|
import '../../styles/main.scss';
|
|
4
4
|
export type ToggleDesign = 'toggle' | 'toggle-material' | 'toggle-outline' | 'toggle-neumorphic';
|
|
5
5
|
interface ToggleProps extends ButtonProps {
|
|
6
6
|
inputtype?: ToggleDesign;
|
|
7
|
-
pressed?: boolean;
|
|
8
|
-
defaultPressed?: boolean;
|
|
9
|
-
onPressedChange?: (pressed: boolean) => void;
|
|
10
7
|
alias: string;
|
|
11
8
|
inputLabel?: string;
|
|
12
|
-
icon?: React.ReactNode;
|
|
13
9
|
width: number;
|
|
14
|
-
defaultValue?: string;
|
|
15
|
-
value: string;
|
|
16
10
|
newRow?: boolean;
|
|
17
|
-
placeholder?: string;
|
|
18
11
|
readOnly?: boolean;
|
|
19
12
|
isHinted?: boolean;
|
|
20
13
|
hintText?: string;
|
|
21
14
|
hintUrl?: string;
|
|
22
|
-
|
|
15
|
+
errorText?: ReactNode | string | null;
|
|
23
16
|
}
|
|
24
|
-
export declare const Toggle: ({ inputtype, alias, readOnly, width,
|
|
17
|
+
export declare const Toggle: ({ inputtype, alias, readOnly, width, inputLabel, style, children, newRow, isHinted, hintText, hintUrl, ...props }: ToggleProps) => React.JSX.Element;
|
|
25
18
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { TextProps } from '@radix-ui/themes';
|
|
3
2
|
import '../../styles/main.scss';
|
|
4
|
-
type xTitleProps =
|
|
3
|
+
type xTitleProps = {
|
|
5
4
|
title: string;
|
|
6
5
|
iconname?: string;
|
|
7
6
|
width: number;
|
|
@@ -11,5 +10,5 @@ type xTitleProps = TextProps & {
|
|
|
11
10
|
fontFamily?: string;
|
|
12
11
|
subTitle?: string;
|
|
13
12
|
};
|
|
14
|
-
export declare const
|
|
13
|
+
export declare const SectionTitle: ({ title, iconname, textColor, backgroundColor, fontFamily, ...props }: xTitleProps) => React.JSX.Element;
|
|
15
14
|
export {};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './components/daterangepicker/daterangepicker';
|
|
|
10
10
|
export * from './components/datetimepicker/datetimepicker';
|
|
11
11
|
export * from './components/dropdown/dropdown';
|
|
12
12
|
export * from './components/file/file';
|
|
13
|
+
export * from './components/file/filemultiple';
|
|
13
14
|
export * from './components/icons/icons';
|
|
14
15
|
export * from './components/icons/flagicon';
|
|
15
16
|
export * from './components/image/image';
|