fis-component 0.1.3 → 0.1.5
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 +3045 -2110
- 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/cjs/types/src/components/Input/InputText/index.d.ts +2 -0
- package/dist/esm/index.js +3139 -2204
- 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/esm/types/src/components/Input/InputText/index.d.ts +2 -0
- package/dist/index.d.ts +6 -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;
|
|
@@ -12,6 +12,8 @@ export interface InputTextProps extends InputFieldProps, Partial<InputLabelProps
|
|
|
12
12
|
onEnter?: (value: string | null) => void;
|
|
13
13
|
/** Handle onKeyDown action */
|
|
14
14
|
onKeyDown?: (event: unknown) => void;
|
|
15
|
+
/** Trim whitespace from value on blur */
|
|
16
|
+
isTrimValue?: boolean;
|
|
15
17
|
}
|
|
16
18
|
declare const FISInputText: React.ForwardRefExoticComponent<InputTextProps & React.RefAttributes<HTMLInputElement>>;
|
|
17
19
|
export default FISInputText;
|