@emeraldemperaur/vector-sigma 1.4.10 → 1.4.12

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.
Files changed (29) hide show
  1. package/lib/index.cjs +5194 -5498
  2. package/lib/index.esm.js +5194 -5498
  3. package/lib/types/components/avatar/avatar.d.ts +89 -12
  4. package/lib/types/components/button/button.d.ts +60 -11
  5. package/lib/types/components/checkbox/checkbox.d.ts +93 -13
  6. package/lib/types/components/conditional/conditional.d.ts +103 -16
  7. package/lib/types/components/datepicker/datepicker.d.ts +10 -13
  8. package/lib/types/components/daterangepicker/daterangepicker.d.ts +12 -15
  9. package/lib/types/components/datetimepicker/datetimepicker.d.ts +12 -15
  10. package/lib/types/components/dropdown/dropdown.d.ts +10 -10
  11. package/lib/types/components/file/file.d.ts +9 -10
  12. package/lib/types/components/file/filemultiple.d.ts +9 -10
  13. package/lib/types/components/image/image.d.ts +2 -2
  14. package/lib/types/components/input/input.d.ts +9 -9
  15. package/lib/types/components/input/passwordInput.d.ts +1 -1
  16. package/lib/types/components/input/phoneInput.d.ts +1 -1
  17. package/lib/types/components/input/uuidInput.d.ts +9 -9
  18. package/lib/types/components/input/xCreditCardInput.d.ts +1 -1
  19. package/lib/types/components/inputcurrency/inputcurrency.d.ts +8 -8
  20. package/lib/types/components/inputcurrency/stockInput.d.ts +9 -9
  21. package/lib/types/components/radio/radio.d.ts +9 -10
  22. package/lib/types/components/select/select.d.ts +8 -8
  23. package/lib/types/components/selectmultiple/selectmultiple.d.ts +10 -11
  24. package/lib/types/components/slider/range.d.ts +8 -8
  25. package/lib/types/components/slider/slider.d.ts +11 -11
  26. package/lib/types/components/toggle/toggle.d.ts +9 -9
  27. package/lib/types/components/xtitle/xtitle.d.ts +4 -3
  28. package/lib/types/utils/vinci.d.ts +36 -1
  29. package/package.json +1 -1
@@ -10,8 +10,8 @@ export interface ImageDisplayProps {
10
10
  aspectratio?: number;
11
11
  height?: string | number;
12
12
  width?: string | number;
13
- classname?: string;
13
+ className?: string;
14
14
  style?: React.CSSProperties;
15
15
  onClick?: () => void;
16
16
  }
17
- export declare const ImageOutput: ({ id, src, alt, design, layout, aspectratio, height, width, classname, style, onClick, }: ImageDisplayProps) => React.JSX.Element;
17
+ export declare const ImageOutput: ({ id, src, alt, design, layout, aspectratio, height, width, className, style, onClick, }: ImageDisplayProps) => React.JSX.Element;
@@ -6,22 +6,22 @@ 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
- inputlabel?: string;
9
+ inputLabel?: string;
10
10
  width: number;
11
- newrow?: boolean;
11
+ newRow?: boolean;
12
12
  placeholder?: string;
13
- readonly?: boolean;
14
- ishinted?: boolean;
15
- hinttext?: string;
16
- hinturl?: string;
13
+ readOnly?: boolean;
14
+ isHinted?: boolean;
15
+ hintText?: string;
16
+ hintUrl?: string;
17
17
  icon?: React.ReactNode;
18
18
  defaultvalue?: string;
19
19
  value?: string;
20
- errortext?: ReactNode | string | null;
21
- classname?: string;
20
+ errorText?: ReactNode | string | null;
21
+ className?: string;
22
22
  style?: React.CSSProperties;
23
23
  inputvariant?: InputDesign & {};
24
24
  delimiter?: string;
25
25
  format?: number[];
26
26
  };
27
- export declare const Input: ({ alias, inputtype, width, inputlabel, readonly, placeholder, className, size, style, inputvariant, ...props }: xInputFieldProps) => React.JSX.Element;
27
+ export declare const Input: ({ alias, inputtype, width, inputLabel, readOnly, placeholder, newRow, isHinted, hintText, hintUrl, errorText, 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, inputlabel, width, readonly, placeholder, inputvariant, size, className, ...props }: xInputFieldProps) => React.JSX.Element;
4
+ export declare const PasswordInput: ({ alias, inputLabel, width, readOnly, placeholder, newRow, isHinted, hintText, hintUrl, errorText, 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, inputlabel, width, placeholder, readonly, inputvariant, size, className, ...props }: xInputFieldProps) => React.JSX.Element;
4
+ export declare const PhoneInput: ({ alias, inputLabel, width, placeholder, newRow, isHinted, hintText, hintUrl, errorText, readOnly, inputvariant, size, className, ...props }: xInputFieldProps) => React.JSX.Element;
@@ -6,18 +6,18 @@ 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?: string;
9
+ inputLabel?: string;
10
10
  width: number;
11
- newrow?: boolean;
11
+ newRow?: boolean;
12
12
  delimiter?: string;
13
13
  format?: number[];
14
- ishinted?: boolean;
15
- hinttext?: string;
16
- hinturl?: string;
14
+ isHinted?: boolean;
15
+ hintText?: string;
16
+ hintUrl?: string;
17
17
  placeholder?: string;
18
- errortext?: ReactNode | string | null;
19
- classname?: string;
20
- inputvariant?: InputDesign & {};
18
+ errorText?: ReactNode | string | null;
19
+ className?: string;
20
+ inputVariant?: InputDesign & {};
21
21
  };
22
- export declare const UUIDInput: ({ alias, type, inputlabel, width, delimiter, format, placeholder, readOnly, inputvariant, size, className, ...props }: UUIDInputProps) => React.JSX.Element;
22
+ export declare const UUIDInput: ({ alias, type, inputLabel, width, delimiter, format, placeholder, newRow, isHinted, hintText, hintUrl, errorText, 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, inputlabel, width, placeholder, readonly, inputvariant, classname, ...props }: xInputFieldProps) => React.JSX.Element;
4
+ export declare const CreditCardInput: ({ alias, inputLabel, width, placeholder, newRow, isHinted, hintText, hintUrl, errorText, readOnly, inputvariant, className, ...props }: xInputFieldProps) => React.JSX.Element;
@@ -5,18 +5,18 @@ import '../../styles/main.scss';
5
5
  type CurrencyInputProps = {
6
6
  alias: string;
7
7
  inputtype?: SupportedCurrency | "currency";
8
- inputlabel?: string;
8
+ inputLabel?: string;
9
9
  width: number;
10
10
  newRow?: boolean;
11
11
  defaultvalue?: string;
12
12
  placeholder?: string;
13
- readonly?: boolean;
14
- ishinted?: boolean;
15
- hinttext?: string;
16
- errortext?: ReactNode | string | null;
17
- hinturl?: string;
13
+ readOnly?: boolean;
14
+ isHinted?: boolean;
15
+ hintText?: string;
16
+ errorText?: ReactNode | string | null;
17
+ hintUrl?: string;
18
18
  inputvariant?: InputDesign & {};
19
- classname?: string;
19
+ className?: string;
20
20
  };
21
- export declare const CurrencyInput: ({ alias, inputtype, inputlabel, width, defaultvalue, placeholder, readonly, inputvariant, classname, ...props }: CurrencyInputProps) => React.JSX.Element;
21
+ export declare const CurrencyInput: ({ alias, inputtype, inputLabel, width, defaultvalue, placeholder, newRow, isHinted, hintText, hintUrl, errorText, readOnly, inputvariant, className, ...props }: CurrencyInputProps) => React.JSX.Element;
22
22
  export {};
@@ -3,18 +3,18 @@ import { InputDesign } from "components/input/input";
3
3
  import '../../styles/main.scss';
4
4
  type StockInputProps = {
5
5
  alias: string;
6
- inputlabel?: string;
6
+ inputLabel?: string;
7
7
  width: number;
8
8
  defaultvalue: string;
9
- newrow?: boolean;
9
+ newRow?: boolean;
10
10
  placeholder?: string;
11
- readonly?: boolean;
12
- ishinted?: boolean;
13
- hinttext?: string;
14
- hinturl?: string;
15
- errortext?: ReactNode | string | null;
11
+ readOnly?: boolean;
12
+ isHinted?: boolean;
13
+ hintText?: string;
14
+ hintUrl?: string;
15
+ errorText?: ReactNode | string | null;
16
16
  inputvariant?: InputDesign & {};
17
- classname?: string;
17
+ className?: string;
18
18
  };
19
- export declare const StockInput: ({ alias, inputlabel, width, defaultvalue, placeholder, readonly, inputvariant, classname, ...props }: StockInputProps) => React.JSX.Element;
19
+ export declare const StockInput: ({ alias, inputLabel, width, defaultvalue, placeholder, newRow, isHinted, hintText, hintUrl, errorText, readOnly, inputvariant, className, ...props }: StockInputProps) => React.JSX.Element;
20
20
  export {};
@@ -5,24 +5,23 @@ export type RadioDesign = 'radio' | 'radio-material' | 'radio-outline' | 'radio-
5
5
  interface RadioGroupProps {
6
6
  inputtype?: RadioDesign & {};
7
7
  alias: string;
8
- inputlabel?: string;
8
+ inputLabel?: string;
9
9
  icon?: React.ReactNode;
10
10
  width: number;
11
11
  defaultvalue?: any[];
12
12
  value?: any[];
13
- newrow?: boolean;
14
- isedit?: boolean;
13
+ newRow?: boolean;
15
14
  placeholder?: string;
16
- readonly?: boolean;
17
- ishinted?: boolean;
18
- hinttext?: string;
19
- hinturl?: string;
20
- inputoptions: InputOption[];
15
+ readOnly?: boolean;
16
+ isHinted?: boolean;
17
+ hintText?: string;
18
+ hintUrl?: string;
19
+ inputOptions: InputOption[];
21
20
  direction?: 'row' | 'column';
22
21
  columns?: string;
23
- classname?: string;
22
+ className?: string;
24
23
  errorText?: ReactNode | string | null;
25
24
  style?: React.CSSProperties;
26
25
  }
27
- export declare const RadioGroupInput: ({ inputtype, alias, readonly, width, inputlabel, placeholder, style, inputoptions, direction, columns, classname, ...props }: RadioGroupProps) => React.JSX.Element;
26
+ export declare const RadioGroupInput: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, newRow, isHinted, hintText, hintUrl, errorText, style, inputOptions, direction, columns, className, ...props }: RadioGroupProps) => React.JSX.Element;
28
27
  export {};
@@ -4,20 +4,20 @@ export type OptionSelectDesign = 'dropdown' | 'dropdown-material' | 'dropdown-ou
4
4
  export interface SelectProps {
5
5
  inputtype?: OptionSelectDesign & {};
6
6
  alias: string;
7
- inputlabel?: string;
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
- readonly?: boolean;
15
- ishinted?: boolean;
16
- hinttext?: string;
17
- hinturl?: string;
14
+ readOnly?: boolean;
15
+ isHinted?: boolean;
16
+ hintText?: string;
17
+ hintUrl?: string;
18
18
  onValueChange?: (value: string) => void;
19
- errortext?: ReactNode | string | null;
20
- inputoptions: {
19
+ errorText?: ReactNode | string | null;
20
+ inputOptions: {
21
21
  optionid: number | string;
22
22
  text: string;
23
23
  optionvalue: string;
@@ -29,4 +29,4 @@ export interface SelectProps {
29
29
  className?: string;
30
30
  style?: React.CSSProperties;
31
31
  }
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;
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,22 +5,21 @@ export type MultipleSelectDesign = 'multiselect' | 'multiselect-material' | 'mul
5
5
  interface MultipleSelectProps {
6
6
  inputtype?: MultipleSelectDesign & {};
7
7
  alias: string;
8
- inputlabel?: string;
8
+ inputLabel?: string;
9
9
  icon?: React.ReactNode;
10
10
  width: number;
11
11
  defaultvalue?: any[];
12
12
  value?: any[];
13
- newrow?: boolean;
14
- isedit?: boolean;
13
+ newRow?: boolean;
15
14
  placeholder?: string;
16
- readonly?: boolean;
17
- ishinted?: boolean;
18
- hinttext?: string;
19
- hinturl?: string;
20
- inputoptions: InputOption[];
21
- errortext?: ReactNode | string | null;
22
- classname?: string;
15
+ readOnly?: boolean;
16
+ isHinted?: boolean;
17
+ hintText?: string;
18
+ hintUrl?: string;
19
+ inputOptions: InputOption[];
20
+ errorText?: ReactNode | string | null;
21
+ className?: string;
23
22
  style?: React.CSSProperties;
24
23
  }
25
- export declare const MultipleSelect: ({ inputtype, alias, readonly, width, inputlabel, placeholder, style, inputoptions, classname, ...props }: MultipleSelectProps) => React.JSX.Element;
24
+ export declare const MultipleSelect: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, newRow, isHinted, hintText, hintUrl, errorText, style, inputOptions, className, ...props }: MultipleSelectProps) => React.JSX.Element;
26
25
  export {};
@@ -4,18 +4,18 @@ export type RangeDesign = 'range' | 'range-material' | 'range-outline' | 'range-
4
4
  interface RangeProps {
5
5
  inputtype?: RangeDesign & {};
6
6
  alias: string;
7
- inputlabel?: string;
7
+ inputLabel?: string;
8
8
  icon?: React.ReactNode;
9
9
  width: number;
10
10
  defaultvalue?: string;
11
11
  value?: string;
12
- newrow?: boolean;
13
- errortext?: ReactNode | string | null;
12
+ newRow?: boolean;
13
+ errorText?: ReactNode | string | null;
14
14
  placeholder?: string;
15
- readonly?: boolean;
16
- ishinted?: boolean;
17
- hinttext?: string;
18
- hinturl?: string;
15
+ readOnly?: boolean;
16
+ isHinted?: boolean;
17
+ hintText?: string;
18
+ hintUrl?: string;
19
19
  minvalue?: number;
20
20
  maxvalue?: number;
21
21
  stepvalue?: number;
@@ -24,5 +24,5 @@ interface RangeProps {
24
24
  className?: string;
25
25
  style?: React.CSSProperties;
26
26
  }
27
- export declare const RangeSlider: ({ inputtype, alias, readonly, width, inputlabel, placeholder, minvalue, maxvalue, stepvalue, minStepsBetweenThumbs, className, style, ...props }: RangeProps) => React.JSX.Element;
27
+ export declare const RangeSlider: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, newRow, isHinted, hintText, hintUrl, errorText, minvalue, maxvalue, stepvalue, minStepsBetweenThumbs, className, style, ...props }: RangeProps) => React.JSX.Element;
28
28
  export {};
@@ -4,23 +4,23 @@ export type SliderDesign = 'slider' | 'slider-material' | 'slider-outline' | 'sl
4
4
  interface SliderProps {
5
5
  inputtype?: SliderDesign & {};
6
6
  alias: string;
7
- inputlabel?: string;
7
+ inputLabel?: string;
8
8
  icon?: React.ReactNode;
9
9
  width: number;
10
10
  defaultvalue?: string;
11
11
  value?: string;
12
- newrow?: boolean;
13
- errortext?: ReactNode | string | null;
12
+ newRow?: boolean;
13
+ errorText?: ReactNode | string | null;
14
14
  placeholder?: string;
15
- readonly?: boolean;
16
- ishinted?: boolean;
17
- hinttext?: string;
18
- hinturl?: string;
19
- minvalue?: number;
20
- maxvalue?: number;
21
- stepvalue?: number;
15
+ readOnly?: boolean;
16
+ isHinted?: boolean;
17
+ hintText?: string;
18
+ hintUrl?: string;
19
+ minValue?: number;
20
+ maxValue?: number;
21
+ stepValue?: number;
22
22
  className?: string;
23
23
  style?: React.CSSProperties;
24
24
  }
25
- export declare const SliderInput: ({ inputtype, alias, readonly, width, inputlabel, placeholder, minvalue, maxvalue, stepvalue, className, style, ...props }: SliderProps) => React.JSX.Element;
25
+ export declare const SliderInput: ({ inputtype, alias, readOnly, width, inputLabel, placeholder, newRow, isHinted, hintText, hintUrl, errorText, minValue, maxValue, stepValue, className, style, ...props }: SliderProps) => React.JSX.Element;
26
26
  export {};
@@ -3,17 +3,17 @@ 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;
6
+ inputtype?: ToggleDesign & {};
7
7
  alias: string;
8
- inputlabel?: string;
8
+ inputLabel?: string;
9
9
  width: number;
10
- newrow?: boolean;
11
- readonly?: boolean;
12
- ishinted?: boolean;
13
- hinttext?: string;
14
- hinturl?: string;
10
+ newRow?: boolean;
11
+ readOnly?: boolean;
12
+ isHinted?: boolean;
13
+ hintText?: string;
14
+ hintUrl?: string;
15
15
  icon?: string;
16
- errortext?: ReactNode | string | null;
16
+ errorText?: ReactNode | string | null;
17
17
  }
18
- export declare const Toggle: ({ inputtype, alias, readonly, width, inputlabel, style, children, newrow, ishinted, hinttext, hinturl, icon, ...props }: ToggleProps) => React.JSX.Element;
18
+ export declare const Toggle: ({ inputtype, alias, readOnly, width, inputLabel, style, children, newRow, isHinted, hintText, hintUrl, errorText, icon, ...props }: ToggleProps) => React.JSX.Element;
19
19
  export {};
@@ -6,14 +6,15 @@ interface TitleProps {
6
6
  newRow?: boolean;
7
7
  size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
8
8
  subsize?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
9
- subtitle?: string;
9
+ subTitle?: string;
10
10
  align?: "left" | "center" | "right";
11
11
  withSeparator?: boolean;
12
12
  className?: string;
13
- backgroundcolor?: string;
13
+ backgroundColor?: string;
14
14
  icon?: React.ReactNode;
15
15
  titleColor?: string;
16
16
  subtitleColor?: string;
17
+ letterSpacing?: string;
17
18
  }
18
- export declare const SectionTitle: ({ title, width, newRow, size, subsize, subtitle, align, withSeparator, className, backgroundcolor, icon, titleColor, subtitleColor }: TitleProps) => React.JSX.Element;
19
+ export declare const SectionTitle: ({ title, width, newRow, size, subsize, subTitle, align, letterSpacing, withSeparator, className, backgroundColor, icon, titleColor, subtitleColor }: TitleProps) => React.JSX.Element;
19
20
  export {};
@@ -10,11 +10,46 @@ export declare const ACCEPTED_EXTENSIONS: string;
10
10
  export declare const formatBytes: (bytes: number, decimals?: number) => string;
11
11
  export declare const classNames: (...classes: string[]) => string;
12
12
  export interface InputOption {
13
+ /**
14
+ * * The required unique option id for the Input Option item.
15
+ * * @example
16
+ * optionid="versin-gtr-x-1000"
17
+ */
13
18
  optionid: number | string;
19
+ /**
20
+ * * The required text for the Input Option item.
21
+ * * @example
22
+ * text="Versin' GTR-X"
23
+ */
14
24
  text: string;
25
+ /**
26
+ * * The required option value for the Input Option item.
27
+ * * @example
28
+ * optionvalue="VGTRX-1000"
29
+ */
15
30
  optionvalue: string;
31
+ /**
32
+ * * The optional tag for the Input Option item.
33
+ * * @example
34
+ * tag="HINT"
35
+ */
16
36
  tag?: string;
17
- score?: number | string;
37
+ /**
38
+ * * The optional meta numerical score for the Input Option item.
39
+ * * @example
40
+ * score={10}
41
+ */
42
+ score?: number;
43
+ /**
44
+ * * The optional meta note for the Input Option item.
45
+ * * @example
46
+ * note="This is an example hint note for the Input Option item."
47
+ */
18
48
  note?: string;
49
+ /**
50
+ * * The optional meta optionurl for the Input Option item.
51
+ * * @example
52
+ * optionurl="https://github.com/emeraldemperaur/vector-sigma"
53
+ */
19
54
  optionurl?: string;
20
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeraldemperaur/vector-sigma",
3
- "version": "1.4.10",
3
+ "version": "1.4.12",
4
4
  "description": "Dynamic Form Orchestrator: NPM Package",
5
5
  "repository": {
6
6
  "type": "git",