helppeople-ui 1.10.3 → 1.10.4
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/CustomDatePicker/CustomDatePicker.d.ts +4 -0
- package/dist/components/CustomInputSwitch/CustomSwitch.d.ts +1 -0
- package/dist/components/Inputs/CustomNumericInput/CustomNumericInput.d.ts +2 -0
- package/dist/components/Inputs/CustomPasswordInput/PasswordInput.d.ts +2 -0
- package/dist/components/Inputs/CustomSearchInput/SearchInput.d.ts +2 -0
- package/dist/my-library.cjs.js +14 -7
- package/dist/my-library.es.js +317 -208
- package/package.json +1 -1
|
@@ -3,9 +3,13 @@ import { DatePickerProps as AntDatePickerProps } from 'antd';
|
|
|
3
3
|
import { RangePickerProps } from 'antd/es/date-picker';
|
|
4
4
|
export interface CustomDatePickerProps extends AntDatePickerProps {
|
|
5
5
|
localeCode?: "es" | "en" | "pt";
|
|
6
|
+
label?: string;
|
|
7
|
+
required?: boolean;
|
|
6
8
|
}
|
|
7
9
|
export interface CustomRangePickerProps extends RangePickerProps {
|
|
8
10
|
localeCode?: "es" | "en" | "pt";
|
|
11
|
+
label?: string;
|
|
12
|
+
required?: boolean;
|
|
9
13
|
}
|
|
10
14
|
declare const InnerDatePicker: React.ForwardRefExoticComponent<Omit<CustomDatePickerProps, "ref"> & React.RefAttributes<any>>;
|
|
11
15
|
declare const InnerRangePicker: React.ForwardRefExoticComponent<CustomRangePickerProps & React.RefAttributes<any>>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { InputNumberProps as AntInputNumberProps } from 'antd';
|
|
3
3
|
export interface CustomNumericInputProps extends AntInputNumberProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
required?: boolean;
|
|
4
6
|
}
|
|
5
7
|
declare const CustomNumericInput: React.FC<CustomNumericInputProps>;
|
|
6
8
|
export default CustomNumericInput;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { PasswordProps } from 'antd/es/input';
|
|
3
3
|
export interface CustomPasswordInputProps extends PasswordProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
required?: boolean;
|
|
4
6
|
}
|
|
5
7
|
declare const CustomPasswordInput: React.FC<CustomPasswordInputProps>;
|
|
6
8
|
export default CustomPasswordInput;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Input as AntInput } from 'antd';
|
|
3
3
|
export interface CustomSearchInputProps extends React.ComponentProps<typeof AntInput.Search> {
|
|
4
|
+
label?: string;
|
|
5
|
+
required?: boolean;
|
|
4
6
|
}
|
|
5
7
|
declare const CustomSearchInput: React.FC<CustomSearchInputProps>;
|
|
6
8
|
export default CustomSearchInput;
|