ant-float-label 1.0.0 → 1.0.2
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/README.md +5 -1
- package/dist/README.md +5 -1
- package/dist/component/FloatAutoComplete/index.d.ts +5 -0
- package/dist/component/FloatCascader/index.d.ts +3 -0
- package/dist/component/FloatDatePicker/index.d.ts +5 -0
- package/dist/component/FloatInput/index.d.ts +4 -0
- package/dist/component/FloatInputNumber/index.d.ts +5 -0
- package/dist/component/FloatRangePicker/index.d.ts +5 -0
- package/dist/component/FloatSelect/index.d.ts +5 -0
- package/dist/component/FloatTimePicker/index.d.ts +4 -0
- package/dist/component/FloatTreeSelect/index.d.ts +4 -0
- package/dist/component/FloattingLabelBox/index.d.ts +13 -0
- package/dist/image.png +0 -0
- package/dist/index.d.ts +10 -0
- package/dist/package.json +2 -1
- package/package.json +2 -1
package/README.md
CHANGED
package/dist/README.md
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AutoCompleteProps } from "antd";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
export interface FloatAutoCompleteProps extends AutoCompleteProps {
|
|
4
|
+
}
|
|
5
|
+
export declare function FloatAutoComplete({ placeholder, onFocus, onBlur, value, defaultValue, style, size, onChange, ...restProps }: FloatAutoCompleteProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CascaderProps } from "antd";
|
|
2
|
+
export type FloatCascadertProps = CascaderProps;
|
|
3
|
+
export declare function FloatCascader({ placeholder, onFocus, onBlur, value, defaultValue, style, size, onChange, ...restProps }: FloatCascadertProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DatePickerProps } from "antd";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
export interface FloatDatePickerProps extends DatePickerProps {
|
|
4
|
+
}
|
|
5
|
+
export declare function FloatDatePicker({ placeholder, onFocus, onBlur, value, defaultValue, style, size, onChange, ...restProps }: FloatDatePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { InputNumberProps } from "antd";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
export interface FloatInputNumberProps extends InputNumberProps {
|
|
4
|
+
}
|
|
5
|
+
export declare function FloatInputNumber({ placeholder, onFocus, onBlur, value, defaultValue, style, size, ...restProps }: FloatInputNumberProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
import { RangePickerProps } from "antd/es/date-picker";
|
|
3
|
+
export interface FloatRangePickerProps extends RangePickerProps {
|
|
4
|
+
}
|
|
5
|
+
export declare function FloatRangePicker({ placeholder, onFocus, onBlur, value, defaultValue, style, size, onChange, ...restProps }: FloatRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SelectProps } from "antd";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
export interface FloatSelectProps extends SelectProps {
|
|
4
|
+
}
|
|
5
|
+
export declare function FloatSelect({ placeholder, onFocus, onBlur, value, defaultValue, style, size, mode, onChange, ...restProps }: FloatSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TimePickerProps } from "antd";
|
|
2
|
+
export interface FloatTimePickerProps extends TimePickerProps {
|
|
3
|
+
}
|
|
4
|
+
export declare function FloatTimePicker({ placeholder, onFocus, onBlur, value, defaultValue, style, size, mode, onChange, ...restProps }: FloatTimePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TreeSelectProps } from "antd";
|
|
2
|
+
export interface FloatTreeSelectProps extends TreeSelectProps {
|
|
3
|
+
}
|
|
4
|
+
export declare function FloatTreeSelect({ placeholder, onFocus, onBlur, value, defaultValue, style, size, onChange, ...restProps }: FloatTreeSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "./index.css";
|
|
3
|
+
import { InputStatus } from "antd/es/_util/statusUtils";
|
|
4
|
+
export interface FloattingLabelBoxProps {
|
|
5
|
+
focused?: boolean;
|
|
6
|
+
haveValue?: boolean;
|
|
7
|
+
label?: React.ReactNode;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
width?: string | number;
|
|
10
|
+
height?: string | number;
|
|
11
|
+
status?: InputStatus;
|
|
12
|
+
}
|
|
13
|
+
export declare function FloattingLabelBox({ focused, haveValue, label, children, width, height, status, }: FloattingLabelBoxProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/image.png
ADDED
|
Binary file
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./component/FloatAutoComplete";
|
|
2
|
+
export * from "./component/FloatCascader";
|
|
3
|
+
export * from "./component/FloatDatePicker";
|
|
4
|
+
export * from "./component/FloatInput";
|
|
5
|
+
export * from "./component/FloatInputNumber";
|
|
6
|
+
export * from "./component/FloatRangePicker";
|
|
7
|
+
export * from "./component/FloatSelect";
|
|
8
|
+
export * from "./component/FloatTimePicker";
|
|
9
|
+
export * from "./component/FloattingLabelBox";
|
|
10
|
+
export * from "./component/FloatTreeSelect";
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ant-float-label",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Antd 5 form style similar to MUI",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"rollup": "^4.13.0",
|
|
21
21
|
"rollup-plugin-copy": "^3.5.0",
|
|
22
22
|
"rollup-plugin-delete": "^2.0.0",
|
|
23
|
+
"rollup-plugin-dts": "^6.1.0",
|
|
23
24
|
"rollup-plugin-import-css": "^3.5.0",
|
|
24
25
|
"tslib": "^2.6.2",
|
|
25
26
|
"typescript": "^5.4.3"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ant-float-label",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Antd 5 form style similar to MUI",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"rollup": "^4.13.0",
|
|
21
21
|
"rollup-plugin-copy": "^3.5.0",
|
|
22
22
|
"rollup-plugin-delete": "^2.0.0",
|
|
23
|
+
"rollup-plugin-dts": "^6.1.0",
|
|
23
24
|
"rollup-plugin-import-css": "^3.5.0",
|
|
24
25
|
"tslib": "^2.6.2",
|
|
25
26
|
"typescript": "^5.4.3"
|