@emeraldemperaur/vector-sigma 1.4.12 → 1.4.14

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.
@@ -1,21 +1,20 @@
1
- import React, { ReactNode } from 'react';
1
+ import React from 'react';
2
+ import "react-datepicker/dist/react-datepicker.css";
2
3
  import '../../styles/main.scss';
3
- export type DatePickerDesign = 'datepicker' | 'datepicker-material' | 'datepicker-outline' | 'datepicker-neumorphic';
4
- export interface DatePickerProps {
5
- inputtype?: DatePickerDesign;
4
+ export type DatePickerDesign = 'datepicker' | 'datepicker-outline' | 'datepicker-material' | 'datepicker-neumorphic';
5
+ interface DatePickerProps {
6
6
  alias: string;
7
- inputLabel?: string;
8
- width: number;
7
+ inputlabel?: string;
8
+ inputtype?: DatePickerDesign;
9
+ width?: number;
9
10
  newRow?: boolean;
10
11
  placeholder?: string;
11
- readOnly?: boolean;
12
12
  isHinted?: boolean;
13
13
  hintText?: string;
14
14
  hintUrl?: string;
15
- minDate?: Date | string;
16
- maxDate?: Date | string;
17
- errorText?: ReactNode | string | null;
15
+ errorText?: string;
16
+ readOnly?: boolean;
18
17
  className?: string;
19
- style?: React.CSSProperties;
20
18
  }
21
- export declare const DatePicker: ({ inputtype, alias, readOnly, newRow, isHinted, hintText, hintUrl, errorText, width, inputLabel, placeholder, minDate, maxDate, className, style, ...props }: DatePickerProps) => React.JSX.Element;
19
+ export declare const DatePicker: ({ alias, inputlabel, inputtype, width, newRow, placeholder, isHinted, hintText, hintUrl, errorText, readOnly, className }: DatePickerProps) => React.JSX.Element;
20
+ export {};
@@ -1,21 +1,20 @@
1
- import React, { ReactNode } from 'react';
1
+ import React from 'react';
2
+ import "react-datepicker/dist/react-datepicker.css";
2
3
  import '../../styles/main.scss';
3
- export type DateRangePickerDesign = 'daterangepicker' | 'daterangepicker-material' | 'daterangepicker-outline' | 'daterangepicker-neumorphic';
4
- export interface DateRangePickerProps {
5
- inputtype?: DateRangePickerDesign;
4
+ export type DateRangePickerDesign = 'daterangepicker' | 'daterangepicker-outline' | 'daterangepicker-material' | 'daterangepicker-neumorphic';
5
+ interface DateRangePickerProps {
6
6
  alias: string;
7
- inputLabel?: string;
8
- width: number;
7
+ inputlabel?: string;
8
+ inputtype?: DateRangePickerDesign;
9
+ width?: number;
9
10
  newRow?: boolean;
10
11
  placeholder?: string;
11
- readOnly?: boolean;
12
12
  isHinted?: boolean;
13
13
  hintText?: string;
14
14
  hintUrl?: string;
15
- minDate?: Date | string;
16
- maxDate?: Date | string;
17
- errorText?: ReactNode | string | null;
15
+ errorText?: string;
16
+ readOnly?: boolean;
18
17
  className?: string;
19
- style?: React.CSSProperties;
20
18
  }
21
- export declare const DateRangePicker: ({ inputtype, alias, readOnly, newRow, isHinted, hintText, hintUrl, errorText, width, inputLabel, placeholder, minDate, maxDate, className, style, ...props }: DateRangePickerProps) => React.JSX.Element;
19
+ export declare const DateRangePicker: ({ alias, inputlabel, inputtype, width, newRow, placeholder, isHinted, hintText, hintUrl, errorText, readOnly, className }: DateRangePickerProps) => React.JSX.Element;
20
+ export {};
@@ -1,21 +1,20 @@
1
- import React, { ReactNode } from 'react';
1
+ import React from 'react';
2
+ import "react-datepicker/dist/react-datepicker.css";
2
3
  import '../../styles/main.scss';
3
- export type DateTimePickerDesign = 'datetimepicker' | 'datetimepicker-material' | 'datetimepicker-outline' | 'datetimepicker-neumorphic';
4
- export interface DateTimePickerProps {
5
- inputtype?: DateTimePickerDesign;
4
+ export type DateTimePickerDesign = 'datetimepicker' | 'datetimepicker-outline' | 'datetimepicker-material' | 'datetimepicker-neumorphic';
5
+ interface DateTimePickerProps {
6
6
  alias: string;
7
- inputLabel?: string;
8
- width: number;
7
+ inputlabel?: string;
8
+ inputtype?: DateTimePickerDesign;
9
+ width?: number;
9
10
  newRow?: boolean;
10
11
  placeholder?: string;
11
- readOnly?: boolean;
12
12
  isHinted?: boolean;
13
13
  hintText?: string;
14
14
  hintUrl?: string;
15
- minDate?: Date | string;
16
- maxDate?: Date | string;
17
- errorText?: ReactNode | string | null;
15
+ errorText?: string;
16
+ readOnly?: boolean;
18
17
  className?: string;
19
- style?: React.CSSProperties;
20
18
  }
21
- export declare const DateTimePicker: ({ inputtype, alias, readOnly, newRow, isHinted, hintText, hintUrl, errorText, width, inputLabel, placeholder, minDate, maxDate, className, style, ...props }: DateTimePickerProps) => React.JSX.Element;
19
+ export declare const DateTimePicker: ({ alias, inputlabel, inputtype, width, newRow, placeholder, isHinted, hintText, hintUrl, errorText, readOnly, className }: DateTimePickerProps) => React.JSX.Element;
20
+ export {};
@@ -1,11 +1,10 @@
1
1
  import React, { ReactNode } from "react";
2
- import { TextField } from '@radix-ui/themes';
3
2
  import { InputDesign } from "./input";
4
3
  import '../../styles/main.scss';
5
4
  type startsWithUuid = `uuid${string}`;
6
- type UUIDInputProps = Omit<React.ComponentProps<typeof TextField.Root>, 'type' | 'onChange' | 'value' | 'defaultValue'> & {
5
+ type UUIDInputProps = {
7
6
  alias: string;
8
- type: startsWithUuid;
7
+ type?: startsWithUuid | string;
9
8
  inputLabel?: string;
10
9
  width: number;
11
10
  newRow?: boolean;
@@ -17,7 +16,9 @@ type UUIDInputProps = Omit<React.ComponentProps<typeof TextField.Root>, 'type' |
17
16
  placeholder?: string;
18
17
  errorText?: ReactNode | string | null;
19
18
  className?: string;
20
- inputVariant?: InputDesign & {};
19
+ inputVariant?: InputDesign;
20
+ readOnly?: boolean;
21
+ size?: "1" | "2" | "3";
21
22
  };
22
23
  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
24
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeraldemperaur/vector-sigma",
3
- "version": "1.4.12",
3
+ "version": "1.4.14",
4
4
  "description": "Dynamic Form Orchestrator: NPM Package",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,6 +33,7 @@
33
33
  "devDependencies": {
34
34
  "@changesets/cli": "^2.29.8",
35
35
  "@radix-ui/themes": "^3.3.0",
36
+ "@react-icons/all-files": "^4.1.0",
36
37
  "@rollup/plugin-commonjs": "^29.0.0",
37
38
  "@rollup/plugin-node-resolve": "^16.0.3",
38
39
  "@rollup/plugin-terser": "^0.4.4",
@@ -41,6 +42,9 @@
41
42
  "@types/jest": "^30.0.0",
42
43
  "@types/react": "^19.2.10",
43
44
  "@types/react-dom": "^19.2.3",
45
+ "card-validator": "^10.0.4",
46
+ "country-flag-icons": "^1.6.12",
47
+ "date-fns": "^4.1.0",
44
48
  "formik": "^2.4.9",
45
49
  "identity-obj-proxy": "^3.0.0",
46
50
  "jest": "^30.2.0",
@@ -59,22 +63,20 @@
59
63
  "tslib": "^2.8.1",
60
64
  "typescript": "^5.9.3",
61
65
  "yup": "^1.7.1",
62
- "@react-icons/all-files": "^4.1.0",
63
- "card-validator": "^10.0.4",
64
- "country-flag-icons": "^1.6.12",
65
- "date-fns": "^4.1.0",
66
66
  "zod": "^4.3.6"
67
67
  },
68
68
  "peerDependencies": {
69
+ "formik": "^2.4.9",
69
70
  "react": ">=18.0.0",
70
71
  "react-dom": ">=18.0.0",
71
72
  "sass-embedded": "^1.97.3",
72
- "formik": "^2.4.9",
73
73
  "yup": "^1.7.1"
74
74
  },
75
75
  "dependencies": {
76
76
  "@radix-ui/react-icons": "^1.3.2",
77
77
  "@radix-ui/themes": "^3.3.0",
78
+ "@types/react-datepicker": "^6.2.0",
79
+ "react-datepicker": "^9.1.0",
78
80
  "react-day-picker": "^9.13.1",
79
81
  "react-imask": "^7.6.1",
80
82
  "react-phone-number-input": "^3.4.14"