@emeraldemperaur/vector-sigma 1.4.5 → 1.4.8
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 +18 -5
- package/lib/index.cjs +726 -338
- package/lib/index.esm.js +726 -338
- package/lib/types/components/conditional/conditional.d.ts +2 -2
- package/lib/types/components/dropdown/dropdown.d.ts +4 -4
- 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 +2 -2
- package/lib/types/components/select/select.d.ts +14 -8
- package/lib/types/components/selectmultiple/selectmultiple.d.ts +2 -2
- package/lib/types/components/slider/slider.d.ts +2 -2
- package/lib/types/components/toggle/toggle.d.ts +2 -1
- package/lib/types/components/xtitle/xtitle.d.ts +10 -9
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ export interface ConditionalProps {
|
|
|
15
15
|
newRow?: boolean;
|
|
16
16
|
isEdit?: boolean;
|
|
17
17
|
placeholder?: string;
|
|
18
|
-
|
|
18
|
+
readonly?: boolean;
|
|
19
19
|
isHinted?: boolean;
|
|
20
20
|
hintText?: string;
|
|
21
21
|
hintUrl?: 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,
|
|
31
|
+
export declare const ConditionalTrigger: ({ alias, readonly, width, placeholder, value, inputlabel, inputtype, triggerValue, inputoptions, toggledinputtype, children, style, className, ...props }: ConditionalProps) => React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
|
-
export type
|
|
4
|
-
export interface
|
|
5
|
-
inputtype?:
|
|
3
|
+
export type xDropDownDesign = 'dropdown' | 'dropdown-material' | 'dropdown-outline' | 'dropdown-neumorphic';
|
|
4
|
+
export interface xDropDownProps {
|
|
5
|
+
inputtype?: xDropDownDesign & {};
|
|
6
6
|
alias: string;
|
|
7
7
|
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
@@ -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, readonly, width, inputlabel, placeholder, value, inputoptions, style, ...props }:
|
|
32
|
+
export declare const Dropdown: ({ inputtype, alias, readonly, width, inputlabel, placeholder, value, inputoptions, style, newRow, isHinted, hintText, hintUrl, defaultValue, errorText, ...props }: xDropDownProps) => 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
|
|
8
|
-
|
|
7
|
+
inputtype?: SupportedCurrency | "currency";
|
|
8
|
+
inputlabel?: string;
|
|
9
9
|
width: number;
|
|
10
10
|
newRow?: boolean;
|
|
11
11
|
defaultValue?: string;
|
|
@@ -18,5 +18,5 @@ type CurrencyInputProps = {
|
|
|
18
18
|
inputVariant?: InputDesign & {};
|
|
19
19
|
className?: string;
|
|
20
20
|
};
|
|
21
|
-
export declare const CurrencyInput: ({ alias, inputtype,
|
|
21
|
+
export declare const CurrencyInput: ({ alias, inputtype, inputlabel, width, defaultValue, placeholder, readOnly, inputVariant, className, ...props }: CurrencyInputProps) => React.JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -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
|
-
|
|
6
|
+
inputlabel?: string;
|
|
7
7
|
width: number;
|
|
8
8
|
defaultValue: string;
|
|
9
9
|
newRow?: boolean;
|
|
@@ -16,5 +16,5 @@ type StockInputProps = {
|
|
|
16
16
|
inputVariant?: InputDesign & {};
|
|
17
17
|
className?: string;
|
|
18
18
|
};
|
|
19
|
-
export declare const StockInput: ({ alias,
|
|
19
|
+
export declare const StockInput: ({ alias, inputlabel, width, defaultValue, placeholder, readOnly, inputVariant, className, ...props }: StockInputProps) => React.JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -5,7 +5,7 @@ export type RadioDesign = 'radio' | 'radio-material' | 'radio-outline' | 'radio-
|
|
|
5
5
|
interface RadioGroupProps {
|
|
6
6
|
inputtype?: RadioDesign & {};
|
|
7
7
|
alias: string;
|
|
8
|
-
|
|
8
|
+
inputlabel?: string;
|
|
9
9
|
icon?: React.ReactNode;
|
|
10
10
|
width: number;
|
|
11
11
|
defaultValue?: any[];
|
|
@@ -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,
|
|
27
|
+
export declare const RadioGroupInput: ({ inputtype, alias, readOnly, width, inputlabel, placeholder, style, inputoptions, direction, columns, className, ...props }: RadioGroupProps) => React.JSX.Element;
|
|
28
28
|
export {};
|
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { InputOption } from "utils/vinci";
|
|
3
2
|
import '../../styles/main.scss';
|
|
4
|
-
export type OptionSelectDesign = '
|
|
5
|
-
interface
|
|
3
|
+
export type OptionSelectDesign = 'dropdown' | 'dropdown-material' | 'dropdown-outline' | 'dropdown-neumorphic';
|
|
4
|
+
export interface SelectProps {
|
|
6
5
|
inputtype?: OptionSelectDesign & {};
|
|
7
6
|
alias: string;
|
|
8
|
-
|
|
7
|
+
inputlabel?: string;
|
|
9
8
|
icon?: React.ReactNode;
|
|
10
9
|
width: number;
|
|
11
10
|
defaultValue?: string;
|
|
12
11
|
value?: string;
|
|
13
12
|
newRow?: boolean;
|
|
14
13
|
placeholder?: string;
|
|
15
|
-
|
|
14
|
+
readonly?: boolean;
|
|
16
15
|
isHinted?: boolean;
|
|
17
16
|
hintText?: string;
|
|
18
17
|
hintUrl?: string;
|
|
19
18
|
onValueChange?: (value: string) => void;
|
|
20
|
-
inputoptions: InputOption[];
|
|
21
19
|
errorText?: ReactNode | string | null;
|
|
20
|
+
inputoptions: {
|
|
21
|
+
optionid: number | string;
|
|
22
|
+
text: string;
|
|
23
|
+
optionvalue: string;
|
|
24
|
+
tag?: string;
|
|
25
|
+
score?: number | string;
|
|
26
|
+
note?: string;
|
|
27
|
+
optionurl?: string;
|
|
28
|
+
}[];
|
|
22
29
|
className?: string;
|
|
23
30
|
style?: React.CSSProperties;
|
|
24
31
|
}
|
|
25
|
-
export declare const OptionSelect: ({ inputtype, alias,
|
|
26
|
-
export {};
|
|
32
|
+
export declare const OptionSelect: ({ inputtype, alias, readonly, width, inputlabel, placeholder, value, inputoptions, style, newRow, isHinted, hintText, hintUrl, defaultValue, errorText, ...props }: SelectProps) => React.JSX.Element;
|
|
@@ -5,7 +5,7 @@ export type MultipleSelectDesign = 'multiselect' | 'multiselect-material' | 'mul
|
|
|
5
5
|
interface MultipleSelectProps {
|
|
6
6
|
inputtype?: MultipleSelectDesign & {};
|
|
7
7
|
alias: string;
|
|
8
|
-
|
|
8
|
+
inputlabel?: string;
|
|
9
9
|
icon?: React.ReactNode;
|
|
10
10
|
width: number;
|
|
11
11
|
defaultValue?: any[];
|
|
@@ -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,
|
|
25
|
+
export declare const MultipleSelect: ({ inputtype, alias, readOnly, width, inputlabel, placeholder, style, inputoptions, className, ...props }: MultipleSelectProps) => React.JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -4,7 +4,7 @@ export type SliderDesign = 'slider' | 'slider-material' | 'slider-outline' | 'sl
|
|
|
4
4
|
interface SliderProps {
|
|
5
5
|
inputtype?: SliderDesign & {};
|
|
6
6
|
alias: string;
|
|
7
|
-
|
|
7
|
+
inputlabel?: string;
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
width: number;
|
|
10
10
|
defaultValue?: 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,
|
|
25
|
+
export declare const SliderInput: ({ inputtype, alias, readOnly, width, inputlabel, placeholder, minvalue, maxvalue, stepvalue, className, style, ...props }: SliderProps) => React.JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -12,7 +12,8 @@ interface ToggleProps extends ButtonProps {
|
|
|
12
12
|
isHinted?: boolean;
|
|
13
13
|
hintText?: string;
|
|
14
14
|
hintUrl?: string;
|
|
15
|
+
icon?: string;
|
|
15
16
|
errorText?: ReactNode | string | null;
|
|
16
17
|
}
|
|
17
|
-
export declare const Toggle: ({ inputtype, alias, readOnly, width, inputLabel, style, children, newRow, isHinted, hintText, hintUrl, ...props }: ToggleProps) => React.JSX.Element;
|
|
18
|
+
export declare const Toggle: ({ inputtype, alias, readOnly, width, inputLabel, style, children, newRow, isHinted, hintText, hintUrl, icon, ...props }: ToggleProps) => React.JSX.Element;
|
|
18
19
|
export {};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import '../../styles/main.scss';
|
|
3
|
-
|
|
3
|
+
interface TitleProps {
|
|
4
4
|
title: string;
|
|
5
|
-
|
|
6
|
-
width: number;
|
|
7
|
-
textColor?: string;
|
|
8
|
-
backgroundColor: string;
|
|
5
|
+
width?: number;
|
|
9
6
|
newRow?: boolean;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
|
|
8
|
+
subsize?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
align?: "left" | "center" | "right";
|
|
11
|
+
withSeparator?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const SectionTitle: ({ title, width, newRow, size, subsize, subtitle, align, withSeparator, className }: TitleProps) => React.JSX.Element;
|
|
14
15
|
export {};
|