@zjlab-fe/data-hub-ui 0.5.17 → 0.6.0
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/types/components/floating-label-input/demo/index.d.ts +1 -0
- package/dist/types/components/floating-label-input/index.d.ts +10 -0
- package/dist/types/components/popover-select/demo/index.d.ts +1 -0
- package/dist/types/components/popover-select/index.d.ts +16 -0
- package/dist/types/index.d.ts +2 -0
- package/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +137 -137
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Demo(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputProps } from 'antd';
|
|
3
|
+
interface FloatingLabelInputProps extends InputProps {
|
|
4
|
+
id?: string;
|
|
5
|
+
inline?: boolean;
|
|
6
|
+
wrapperStyle?: React.CSSProperties;
|
|
7
|
+
wrapperClassName?: string;
|
|
8
|
+
}
|
|
9
|
+
export default function FloatingLabelInput({ id, placeholder: propsPlaceholder, onFocus: propsOnFocus, onBlur: propsOnBlur, inline, wrapperStyle, wrapperClassName, ...rest }: FloatingLabelInputProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Demo(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SelectProps } from 'antd';
|
|
3
|
+
import type { DefaultOptionType } from 'antd/es/select';
|
|
4
|
+
type PopoverSelectOption = DefaultOptionType & {
|
|
5
|
+
desc?: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
interface PopoverSelectProps extends SelectProps {
|
|
8
|
+
id?: string;
|
|
9
|
+
options: PopoverSelectOption[];
|
|
10
|
+
inline?: boolean;
|
|
11
|
+
wrapperStyle?: React.CSSProperties;
|
|
12
|
+
wrapperClassName?: string;
|
|
13
|
+
popupClassName?: string;
|
|
14
|
+
}
|
|
15
|
+
export default function PopoverSelect({ id, options, style: propsStyle, onDropdownVisibleChange: propsOnDropdownVisibleChange, inline, wrapperStyle, wrapperClassName, popupClassName, ...rest }: PopoverSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -16,5 +16,7 @@ export { default as FloatingLayer } from './components/floating-layer';
|
|
|
16
16
|
export { default as BenchCard } from './components/bench-card';
|
|
17
17
|
export { default as AuthTag } from './components/auth-tag';
|
|
18
18
|
export { default as StatusTag } from './components/status-tag';
|
|
19
|
+
export { default as FloatingLabelInput } from './components/floating-label-input';
|
|
20
|
+
export { default as PopoverSelect } from './components/popover-select';
|
|
19
21
|
export type { IFilePreviewProps } from './components/file-preview/interface';
|
|
20
22
|
export { default as Tiptap, TipTapReader } from './components/tip-tap';
|