@emeraldemperaur/vector-sigma 1.4.2 → 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/lib/index.cjs +202 -172
- package/lib/index.esm.js +202 -172
- package/lib/types/components/avatar/avatar.d.ts +3 -3
- package/lib/types/components/button/button.d.ts +2 -2
- package/lib/types/components/checkbox/checkbox.d.ts +3 -3
- package/lib/types/components/conditional/conditional.d.ts +4 -4
- package/lib/types/components/datepicker/datepicker.d.ts +3 -3
- package/lib/types/components/daterangepicker/daterangepicker.d.ts +2 -2
- package/lib/types/components/datetimepicker/datetimepicker.d.ts +3 -3
- package/lib/types/components/dropdown/dropdown.d.ts +3 -3
- package/lib/types/components/file/file.d.ts +3 -3
- package/lib/types/components/file/filemultiple.d.ts +3 -3
- package/lib/types/components/image/image.d.ts +1 -1
- package/lib/types/components/input/input.d.ts +4 -4
- 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 +1 -1
- package/lib/types/components/input/xCreditCardInput.d.ts +1 -1
- package/lib/types/components/inputcurrency/inputcurrency.d.ts +1 -1
- package/lib/types/components/inputcurrency/stockInput.d.ts +1 -1
- package/lib/types/components/radio/radio.d.ts +2 -2
- package/lib/types/components/select/select.d.ts +2 -2
- package/lib/types/components/selectmultiple/selectmultiple.d.ts +2 -2
- package/lib/types/components/slider/range.d.ts +4 -4
- package/lib/types/components/slider/slider.d.ts +2 -2
- package/lib/types/components/toggle/toggle.d.ts +4 -11
- package/lib/types/components/xtitle/xtitle.d.ts +1 -2
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ export type AvatarShape = 'circle' | 'square' | 'rounded';
|
|
|
4
4
|
export interface AvatarProps {
|
|
5
5
|
inputtype?: AvatarDesign & {};
|
|
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 AvatarProps {
|
|
|
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 AvatarInput: ({ inputtype, alias,
|
|
26
|
+
export declare const AvatarInput: ({ inputtype, alias, readonly, width, inputlabel, placeholder, value, shape, size, style, accept, ...props }: AvatarProps) => React.JSX.Element;
|
|
@@ -5,7 +5,7 @@ import '../../styles/main.scss';
|
|
|
5
5
|
export interface DesignButtonProps extends ButtonProps {
|
|
6
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 ButtonInput: ({ inputtype, alias, readOnly, style, width, children, ...props }: DesignButtonProps) => React.JSX.Element;
|
|
22
|
+
export declare const ButtonInput: ({ inputtype, type, inputlabel, alias, readOnly, style, width, children, ...props }: DesignButtonProps) => React.JSX.Element;
|
|
@@ -5,7 +5,7 @@ export type CheckBoxDesign = 'checkbox' | 'checkbox-material' | 'checkbox-outlin
|
|
|
5
5
|
export interface CheckboxGroup {
|
|
6
6
|
inputtype?: CheckBoxDesign & {};
|
|
7
7
|
alias: string;
|
|
8
|
-
|
|
8
|
+
inputlabel?: string;
|
|
9
9
|
icon?: React.ReactNode;
|
|
10
10
|
width: number;
|
|
11
11
|
defaultValue?: any[];
|
|
@@ -13,7 +13,7 @@ export interface CheckboxGroup {
|
|
|
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 CheckboxGroupInput: ({ inputtype, alias,
|
|
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?: any;
|
|
13
|
+
defaultValue?: any[] | any;
|
|
14
|
+
value?: any | any[];
|
|
15
15
|
newRow?: boolean;
|
|
16
16
|
isEdit?: boolean;
|
|
17
17
|
placeholder?: string;
|
|
@@ -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;
|
|
@@ -4,14 +4,14 @@ export type DatePickerDesign = 'datepicker' | 'datepicker-material' | 'datepicke
|
|
|
4
4
|
export interface DatePickerProps {
|
|
5
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
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;
|
|
@@ -4,7 +4,7 @@ export type DateRangePickerDesign = 'daterangepicker' | 'daterangepicker-materia
|
|
|
4
4
|
export interface DateRangePickerProps {
|
|
5
5
|
inputtype?: DateRangePickerDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: string;
|
|
@@ -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;
|
|
@@ -4,14 +4,14 @@ export type DateTimePickerDesign = 'datetimepicker' | 'datetimepicker-material'
|
|
|
4
4
|
export interface DateTimePickerProps {
|
|
5
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
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;
|
|
@@ -4,14 +4,14 @@ export type DropDownDesign = 'dropdown' | 'dropdown-material' | 'dropdown-outlin
|
|
|
4
4
|
export interface DropDownProps {
|
|
5
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
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;
|
|
@@ -4,7 +4,7 @@ export type FileInputDesign = 'fileinput' | 'fileinput-material' | 'fileinput-ou
|
|
|
4
4
|
export interface FileInputProps {
|
|
5
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;
|
|
@@ -4,7 +4,7 @@ export type FileMultipleInputDesign = 'filemultiple' | 'filemultiple-material' |
|
|
|
4
4
|
export interface FileMultipleInputProps {
|
|
5
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;
|
|
@@ -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;
|
|
@@ -6,17 +6,17 @@ export type InputDesign = "input" | "input-material" | "input-outline" | "input-
|
|
|
6
6
|
export type xInputFieldProps = React.ComponentProps<typeof TextField.Root> & {
|
|
7
7
|
alias: string;
|
|
8
8
|
inputtype?: InputType & {};
|
|
9
|
-
|
|
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;
|
|
@@ -24,4 +24,4 @@ export type xInputFieldProps = React.ComponentProps<typeof TextField.Root> & {
|
|
|
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;
|
|
@@ -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;
|
|
@@ -9,7 +9,7 @@ interface RadioGroupProps {
|
|
|
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 RadioGroupInput: ({ inputtype, alias, readOnly, width, placeholder, style,
|
|
27
|
+
export declare const RadioGroupInput: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, style, inputoptions, direction, columns, className, ...props }: RadioGroupProps) => React.JSX.Element;
|
|
28
28
|
export {};
|
|
@@ -9,7 +9,7 @@ interface OptionSelectProps {
|
|
|
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 {};
|
|
@@ -9,7 +9,7 @@ interface MultipleSelectProps {
|
|
|
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 {};
|
|
@@ -4,15 +4,15 @@ export type RangeDesign = 'range' | 'range-material' | 'range-outline' | 'range-
|
|
|
4
4
|
interface RangeProps {
|
|
5
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 {};
|
|
@@ -8,7 +8,7 @@ interface SliderProps {
|
|
|
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 SliderInput: ({ inputtype, alias, readOnly, width, placeholder,
|
|
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
|
-
inputtype?: ToggleDesign
|
|
7
|
-
pressed?: boolean;
|
|
8
|
-
defaultPressed?: boolean;
|
|
9
|
-
onPressedChange?: (pressed: boolean) => void;
|
|
6
|
+
inputtype?: ToggleDesign;
|
|
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 {};
|