next-helios-fe 1.5.3 → 1.6.1
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/dist/components/form/index.d.ts +2 -0
- package/dist/components/form/input/date.d.ts +9 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/form/index.tsx +3 -0
- package/src/components/form/input/date.tsx +191 -0
- package/src/components/form/input/time.tsx +138 -179
- package/src/components/table/index.tsx +60 -56
@@ -7,6 +7,7 @@ import { type CheckboxProps } from "./input/checkbox";
|
|
7
7
|
import { type RadioProps } from "./input/radio";
|
8
8
|
import { type RangeProps } from "./input/range";
|
9
9
|
import { type TimeProps } from "./input/time";
|
10
|
+
import { type DateProps } from "./input/date";
|
10
11
|
import { type FileProps } from "./input/file";
|
11
12
|
import { type ColorProps } from "./input/color";
|
12
13
|
import { type PasswordProps } from "./input/password";
|
@@ -30,6 +31,7 @@ interface FormComponent extends React.FC<FormProps> {
|
|
30
31
|
Radio: React.FC<RadioProps>;
|
31
32
|
Range: React.FC<RangeProps>;
|
32
33
|
Time: React.FC<TimeProps>;
|
34
|
+
Date: React.FC<DateProps>;
|
33
35
|
File: React.FC<FileProps>;
|
34
36
|
Color: React.FC<ColorProps>;
|
35
37
|
Password: React.FC<PasswordProps>;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export interface DateProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
3
|
+
options?: {
|
4
|
+
width?: "full" | "fit";
|
5
|
+
height?: "short" | "medium" | "high";
|
6
|
+
};
|
7
|
+
label?: string;
|
8
|
+
}
|
9
|
+
export declare const Date: React.FC<DateProps>;
|