fis-component 0.1.2 → 0.1.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/cjs/index.js +3032 -2113
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/Input/DateRange/index.d.ts +3 -1
- package/dist/cjs/types/src/components/Input/InputStepper/InputStepper.stories.d.ts +1 -3
- package/dist/esm/index.js +3126 -2207
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/Input/DateRange/index.d.ts +3 -1
- package/dist/esm/types/src/components/Input/InputStepper/InputStepper.stories.d.ts +1 -3
- package/dist/index.d.ts +4 -1
- package/package.json +4 -2
|
@@ -8,7 +8,7 @@ export type DateRangeProps = {
|
|
|
8
8
|
positive?: boolean;
|
|
9
9
|
placeholder?: [string, string];
|
|
10
10
|
} & React.ComponentProps<typeof RangePicker>;
|
|
11
|
-
declare const RangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
11
|
+
declare const RangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "styles" | "classNames" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
12
12
|
locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
|
|
13
13
|
size?: import("antd/es/button").ButtonSize;
|
|
14
14
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
@@ -19,6 +19,8 @@ declare const RangePicker: import("react").ForwardRefExoticComponent<Omit<import
|
|
|
19
19
|
popupClassName?: string;
|
|
20
20
|
rootClassName?: string;
|
|
21
21
|
popupStyle?: React.CSSProperties;
|
|
22
|
+
styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
|
|
23
|
+
classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
|
|
22
24
|
} & import("react").RefAttributes<import("rc-picker").PickerRef>>;
|
|
23
25
|
declare const FISDateRange: {
|
|
24
26
|
({ placeholder, label, required, message, negative, positive, disabled, ...rest }: DateRangeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -150,7 +150,7 @@ declare const meta: {
|
|
|
150
150
|
onBlur?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
|
|
151
151
|
onBlurCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
|
|
152
152
|
onChangeCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
153
|
-
onBeforeInput?: import("react").
|
|
153
|
+
onBeforeInput?: import("react").InputEventHandler<HTMLInputElement> | undefined;
|
|
154
154
|
onBeforeInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
155
155
|
onInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
156
156
|
onInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
@@ -200,8 +200,6 @@ declare const meta: {
|
|
|
200
200
|
onProgressCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
201
201
|
onRateChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
202
202
|
onRateChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
203
|
-
onResize?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
204
|
-
onResizeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
205
203
|
onSeeked?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
206
204
|
onSeekedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
207
205
|
onSeeking?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
5
5
|
import { TooltipProps as TooltipProps$1, CollapseProps, TableProps as TableProps$1, PaginationProps as PaginationProps$1 } from 'antd';
|
|
6
6
|
import * as dayjs from 'dayjs';
|
|
7
7
|
import dayjs__default from 'dayjs';
|
|
8
|
+
import * as antd_es_date_picker_generatePicker_interface from 'antd/es/date-picker/generatePicker/interface';
|
|
8
9
|
import * as antd_es_config_provider from 'antd/es/config-provider';
|
|
9
10
|
import * as antd_es__util_statusUtils from 'antd/es/_util/statusUtils';
|
|
10
11
|
import * as antd_es_button from 'antd/es/button';
|
|
@@ -4165,7 +4166,7 @@ type DateRangeProps = {
|
|
|
4165
4166
|
positive?: boolean;
|
|
4166
4167
|
placeholder?: [string, string];
|
|
4167
4168
|
} & React.ComponentProps<typeof RangePicker>;
|
|
4168
|
-
declare const RangePicker: React$1.ForwardRefExoticComponent<Omit<rc_picker.RangePickerProps<dayjs.Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
4169
|
+
declare const RangePicker: React$1.ForwardRefExoticComponent<Omit<rc_picker.RangePickerProps<dayjs.Dayjs>, "styles" | "classNames" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
4169
4170
|
locale?: antd_es_date_picker_generatePicker.PickerLocale;
|
|
4170
4171
|
size?: antd_es_button.ButtonSize;
|
|
4171
4172
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
@@ -4176,6 +4177,8 @@ declare const RangePicker: React$1.ForwardRefExoticComponent<Omit<rc_picker.Rang
|
|
|
4176
4177
|
popupClassName?: string;
|
|
4177
4178
|
rootClassName?: string;
|
|
4178
4179
|
popupStyle?: React.CSSProperties;
|
|
4180
|
+
styles?: antd_es_date_picker_generatePicker_interface.PickerStyles;
|
|
4181
|
+
classNames?: antd_es_date_picker_generatePicker_interface.PickerClassNames;
|
|
4179
4182
|
} & React$1.RefAttributes<rc_picker.PickerRef>>;
|
|
4180
4183
|
declare const FISDateRange: {
|
|
4181
4184
|
({ placeholder, label, required, message, negative, positive, disabled, ...rest }: DateRangeProps): react_jsx_runtime.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"homepage": "https://vietdiemtran.github.io/fis-component/",
|
|
3
3
|
"name": "fis-component",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.4",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"@testing-library/jest-dom": "^6.4.2",
|
|
60
60
|
"@testing-library/react": "^14.2.1",
|
|
61
61
|
"@types/jest": "^29.5.12",
|
|
62
|
+
"@types/lodash": "^4.17.20",
|
|
62
63
|
"@types/react": "^18.2.55",
|
|
63
64
|
"@types/react-dom": "^19.0.4",
|
|
64
65
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
@@ -105,6 +106,7 @@
|
|
|
105
106
|
"dependencies": {
|
|
106
107
|
"@popperjs/core": "^2.11.8",
|
|
107
108
|
"antd": "^5.23.4",
|
|
109
|
+
"lodash": "^4.17.21",
|
|
108
110
|
"react-popper": "^2.3.0"
|
|
109
111
|
}
|
|
110
|
-
}
|
|
112
|
+
}
|