@web-fuse/wf-components 1.0.7 → 1.0.8
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/Display/Card/DarkCard.Title.d.ts +0 -1
- package/dist/Display/Card/DarkCard.d.ts +2 -2
- package/dist/Display/Card/LightCard.Title.d.ts +0 -1
- package/dist/Display/Card/LightCard.d.ts +2 -2
- package/dist/Display/Card/index.d.ts +4 -4
- package/dist/Display/CodeBlock/CodeBlockCopy.d.ts +2 -2
- package/dist/Display/CodeBlock/CodeHeader.d.ts +2 -1
- package/dist/Display/CodeBlock/index.d.ts +2 -3
- package/dist/Display/CodeBlock/languages.d.ts +10 -11
- package/dist/Display/Collapse/Collapse.d.ts +3 -3
- package/dist/Display/Collapse/CollapseBase.d.ts +8 -9
- package/dist/Display/Collapse/CollapseContent.d.ts +4 -5
- package/dist/Display/Collapse/index.d.ts +7 -6
- package/dist/Display/Selector/SelectorItem.d.ts +2 -2
- package/dist/Display/Selector/SelectorSubItem.d.ts +2 -2
- package/dist/Display/Selector/index.d.ts +2 -1
- package/dist/Display/Selector/style.d.ts +8 -11
- package/dist/Display/index.d.ts +7 -7
- package/dist/Form/Buttons.d.ts +14 -29
- package/dist/Form/Form/Form.Item.d.ts +3 -3
- package/dist/Form/Form/Form.d.ts +2 -2
- package/dist/Form/Form/index.d.ts +4 -3
- package/dist/Form/HoverLabel.d.ts +3 -2
- package/dist/Form/Input/Input.Password.d.ts +4 -4
- package/dist/Form/Input/Input.Search.d.ts +5 -5
- package/dist/Form/Input/Input.TextArea.d.ts +5 -5
- package/dist/Form/Input/Input.d.ts +11 -11
- package/dist/Form/Input/index.d.ts +6 -5
- package/dist/Form/index.d.ts +7 -7
- package/dist/Layout/Main/MainSelector.d.ts +5 -5
- package/dist/Layout/Main/MainSettings.d.ts +9 -9
- package/dist/Layout/Main/index.d.ts +3 -3
- package/dist/Layout/Navbar/NavbarDropdown.d.ts +2 -2
- package/dist/Layout/Navbar/index.d.ts +1 -2
- package/dist/Layout/Navbar/style.d.ts +4 -5
- package/dist/Layout/index.d.ts +5 -5
- package/dist/Oauth/ErrorBoundary.d.ts +0 -1
- package/dist/Oauth/LoginContainer.d.ts +4 -3
- package/dist/Oauth/PageBackground.d.ts +2 -1
- package/dist/Oauth/index.d.ts +5 -5
- package/dist/index.cjs.js +118 -110
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.es.js +6211 -6098
- package/dist/index.es.js.map +1 -1
- package/dist/util/index.d.ts +2 -2
- package/dist/util/useMessageApi.d.ts +3 -3
- package/dist/util/wfDarkAlgorithm.d.ts +2 -1
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { default as Title, DarkCardTitleProps } from './DarkCard.Title';
|
2
|
+
|
3
3
|
export type DarkCardProps = React.PropsWithChildren<{
|
4
4
|
title?: React.ReactNode;
|
5
5
|
titleColor?: React.CSSProperties["color"];
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { default as Title, LightCardTitleProps } from './LightCard.Title';
|
2
|
+
|
3
3
|
export type LightCardProps = React.PropsWithChildren<{
|
4
4
|
title?: React.ReactNode;
|
5
5
|
style?: React.CSSProperties;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { default as LightCard } from
|
2
|
-
export type { LightCardProps, LightCardTitleProps } from
|
3
|
-
export { default as DarkCard } from
|
4
|
-
export type { DarkCardProps, DarkCardTitleProps } from
|
1
|
+
export { default as LightCard } from './LightCard';
|
2
|
+
export type { LightCardProps, LightCardTitleProps } from './LightCard';
|
3
|
+
export { default as DarkCard } from './DarkCard';
|
4
|
+
export type { DarkCardProps, DarkCardTitleProps } from './DarkCard';
|
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import { type default as React } from "react";
|
1
|
+
import { default as React } from 'react';
|
2
|
+
|
4
3
|
import * as codeThemes from "react-syntax-highlighter/dist/esm/styles/prism";
|
5
4
|
import * as codeLanguages from "./languages";
|
6
5
|
type ThemeName = keyof typeof codeThemes;
|
@@ -1,11 +1,10 @@
|
|
1
|
-
|
2
|
-
export { default as
|
3
|
-
export { default as
|
4
|
-
export { default as
|
5
|
-
export { default as
|
6
|
-
export { default as
|
7
|
-
export { default as
|
8
|
-
export { default as
|
9
|
-
export { default as
|
10
|
-
export { default as
|
11
|
-
export { default as shellSession } from "react-syntax-highlighter/dist/esm/languages/prism/shell-session";
|
1
|
+
export { default as bash } from 'react-syntax-highlighter/dist/esm/languages/prism/bash';
|
2
|
+
export { default as css } from 'react-syntax-highlighter/dist/esm/languages/prism/css';
|
3
|
+
export { default as javascript } from 'react-syntax-highlighter/dist/esm/languages/prism/javascript';
|
4
|
+
export { default as json } from 'react-syntax-highlighter/dist/esm/languages/prism/json';
|
5
|
+
export { default as markdown } from 'react-syntax-highlighter/dist/esm/languages/prism/markdown';
|
6
|
+
export { default as markup } from 'react-syntax-highlighter/dist/esm/languages/prism/markup';
|
7
|
+
export { default as nginx } from 'react-syntax-highlighter/dist/esm/languages/prism/nginx';
|
8
|
+
export { default as php } from 'react-syntax-highlighter/dist/esm/languages/prism/php';
|
9
|
+
export { default as powershell } from 'react-syntax-highlighter/dist/esm/languages/prism/powershell';
|
10
|
+
export { default as shellSession } from 'react-syntax-highlighter/dist/esm/languages/prism/shell-session';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { CollapseBaseProps, CollapseRef } from './CollapseBase';
|
2
|
+
|
3
3
|
type CssColor = React.CSSProperties["color"];
|
4
4
|
export interface CollapseProps extends Omit<CollapseBaseProps, "style" | "header"> {
|
5
5
|
title?: React.ReactNode;
|
@@ -12,5 +12,5 @@ export interface CollapseProps extends Omit<CollapseBaseProps, "style" | "header
|
|
12
12
|
children?: React.CSSProperties;
|
13
13
|
};
|
14
14
|
}
|
15
|
-
declare const Collapse: import(
|
15
|
+
declare const Collapse: import('react').ForwardRefExoticComponent<CollapseProps & import('react').RefAttributes<CollapseRef>>;
|
16
16
|
export default Collapse;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
export declare const animationDuration = 300;
|
3
2
|
export type CollapseChangeHandler = (open: boolean) => void;
|
4
3
|
export type CollapseBaseProps = React.PropsWithChildren<{
|
@@ -13,15 +12,15 @@ export type CollapseBaseProps = React.PropsWithChildren<{
|
|
13
12
|
export type CollapseRef = {
|
14
13
|
calculateHeight: () => void;
|
15
14
|
};
|
16
|
-
declare const CollapseBase: import(
|
17
|
-
open?: boolean
|
18
|
-
onChange?: CollapseChangeHandler
|
19
|
-
defaultOpen?: boolean
|
20
|
-
style?:
|
15
|
+
declare const CollapseBase: import('react').ForwardRefExoticComponent<{
|
16
|
+
open?: boolean;
|
17
|
+
onChange?: CollapseChangeHandler;
|
18
|
+
defaultOpen?: boolean;
|
19
|
+
style?: React.CSSProperties;
|
21
20
|
header?: React.ReactNode;
|
22
|
-
border?: boolean
|
21
|
+
border?: boolean;
|
23
22
|
width?: React.CSSProperties["width"];
|
24
23
|
} & {
|
25
|
-
children?: import(
|
26
|
-
} & import(
|
24
|
+
children?: import('react').ReactNode | undefined;
|
25
|
+
} & import('react').RefAttributes<CollapseRef>>;
|
27
26
|
export default CollapseBase;
|
@@ -1,10 +1,9 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
export type ContentProps = React.PropsWithChildren<{
|
3
2
|
style?: React.CSSProperties;
|
4
3
|
}>;
|
5
|
-
declare const CollapseContent: import(
|
6
|
-
style?:
|
4
|
+
declare const CollapseContent: import('react').ForwardRefExoticComponent<{
|
5
|
+
style?: React.CSSProperties;
|
7
6
|
} & {
|
8
|
-
children?: import(
|
9
|
-
} & import(
|
7
|
+
children?: import('react').ReactNode | undefined;
|
8
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
10
9
|
export default CollapseContent;
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { default as InternalCollapse } from
|
2
|
-
import { default as CollapseBase } from
|
3
|
-
import { default as CollapseContent } from
|
4
|
-
|
5
|
-
export type {
|
6
|
-
export type {
|
1
|
+
import { default as InternalCollapse } from './Collapse';
|
2
|
+
import { default as CollapseBase } from './CollapseBase';
|
3
|
+
import { default as CollapseContent } from './CollapseContent';
|
4
|
+
|
5
|
+
export type { CollapseProps } from './Collapse';
|
6
|
+
export type { CollapseBaseProps, CollapseRef } from './CollapseBase';
|
7
|
+
export type { ContentProps } from './CollapseContent';
|
7
8
|
type CollapseType = typeof InternalCollapse & {
|
8
9
|
Content: typeof CollapseContent;
|
9
10
|
Base: typeof CollapseBase;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { SelectorClickHandler, SelectorItemGroup, SelectorRenderer } from './index';
|
2
|
+
|
3
3
|
interface SelectorItemProps {
|
4
4
|
item?: SelectorItemGroup;
|
5
5
|
onClick?: SelectorClickHandler;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { SelectorClickHandler, SelectorItem, SelectorRenderer } from './index';
|
2
|
+
|
3
3
|
interface SelectorSubItemProps {
|
4
4
|
item?: SelectorItem;
|
5
5
|
onClick?: SelectorClickHandler;
|
@@ -1,16 +1,13 @@
|
|
1
|
-
|
2
|
-
export declare const Item: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
1
|
+
export declare const Item: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
3
2
|
$colorBorder?: React.CSSProperties["color"];
|
4
|
-
}
|
5
|
-
export declare const ItemText: import(
|
6
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import(
|
7
|
-
}, never>> & Omit<import(
|
8
|
-
export declare const SubItem: import(
|
3
|
+
}>> & string;
|
4
|
+
export declare const ItemText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('antd/es/typography/Text').TextProps & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
|
5
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
6
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd/es/typography/Text').TextProps & import('react').RefAttributes<HTMLSpanElement>>, keyof import('react').Component<any, {}, any>>;
|
7
|
+
export declare const SubItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$colorBorder"> & {
|
9
8
|
$colorBorder?: React.CSSProperties["color"];
|
10
9
|
}, "ref"> & {
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import(
|
10
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
12
11
|
}, {
|
13
12
|
$colorActiveBg: React.CSSProperties["color"];
|
14
|
-
}>> &
|
15
|
-
$colorBorder?: React.CSSProperties["color"];
|
16
|
-
}>>, keyof import("react").Component<any, {}, any>>;
|
13
|
+
}>> & string;
|
package/dist/Display/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
export * from
|
2
|
-
export { default as CodeBlock } from
|
3
|
-
export type { CodeBlockProps } from
|
4
|
-
export { default as Collapse } from
|
5
|
-
export type { CollapseProps, CollapseRef, CollapseBaseProps } from
|
6
|
-
export { default as Selector } from
|
7
|
-
export type { SelectorProps } from
|
1
|
+
export * from './Card';
|
2
|
+
export { default as CodeBlock } from './CodeBlock';
|
3
|
+
export type { CodeBlockProps } from './CodeBlock';
|
4
|
+
export { default as Collapse } from './Collapse';
|
5
|
+
export type { CollapseProps, CollapseRef, CollapseBaseProps } from './Collapse';
|
6
|
+
export { default as Selector } from './Selector';
|
7
|
+
export type { SelectorProps } from './Selector';
|
package/dist/Form/Buttons.d.ts
CHANGED
@@ -1,29 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void) | import(
|
11
|
-
}, never
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void) | import("react").RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
16
|
-
}, never>, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
17
|
-
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void) | import("react").RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
18
|
-
}, never>> & Omit<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & {
|
19
|
-
Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
|
20
|
-
}, keyof import("react").Component<any, {}, any>>, keyof import("react").Component<any, {}, any>>;
|
21
|
-
export declare const RightButton: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("styled-components/dist/types").FastOmit<import("styled-components/dist/types").FastOmit<Omit<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
22
|
-
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void) | import("react").RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
23
|
-
}, never>, never>, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("styled-components/dist/types").FastOmit<Omit<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
24
|
-
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void) | import("react").RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
25
|
-
}, never>, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
26
|
-
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void) | import("react").RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
27
|
-
}, never>> & Omit<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & {
|
28
|
-
Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
|
29
|
-
}, keyof import("react").Component<any, {}, any>>, keyof import("react").Component<any, {}, any>>, keyof import("react").Component<any, {}, any>>;
|
1
|
+
export declare const Button: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('antd').ButtonProps & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
2
|
+
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
3
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd').ButtonProps & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & {
|
4
|
+
Group: import('react').FC<import('antd/es/button').ButtonGroupProps>;
|
5
|
+
}, keyof import('react').Component<any, {}, any>>;
|
6
|
+
export declare const CenteredButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<Omit<import('antd').ButtonProps & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
7
|
+
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
8
|
+
}, never>, never>> & string;
|
9
|
+
export declare const ExtraSmallButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<Omit<import('antd').ButtonProps & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
10
|
+
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
11
|
+
}, never>, never>> & string;
|
12
|
+
export declare const RightButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components').FastOmit<Omit<import('antd').ButtonProps & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
|
13
|
+
ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
|
14
|
+
}, never>, never>, never>> & string;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
import
|
3
|
-
|
1
|
+
import { default as AntFormItem, FormItemProps as AntFormItemProps } from 'antd/es/form/FormItem';
|
2
|
+
import { HoverLabelProps } from '../HoverLabel';
|
3
|
+
|
4
4
|
type HoverTypeCustom = {
|
5
5
|
type: "hover";
|
6
6
|
} & Omit<HoverLabelProps, "name">;
|
package/dist/Form/Form/Form.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { FormProps as AntFormProps, FormInstance } from 'antd/es/form/Form';
|
2
|
+
|
3
3
|
export type FormProps<Values = any> = AntFormProps<Values> & {
|
4
4
|
children: React.ReactNode;
|
5
5
|
};
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import { Form as AntForm } from
|
2
|
-
import InternalForm,
|
3
|
-
import FormItem,
|
1
|
+
import { Form as AntForm } from 'antd';
|
2
|
+
import { default as InternalForm, FormProps } from './Form';
|
3
|
+
import { default as FormItem, FormItemProps } from './Form.Item';
|
4
|
+
|
4
5
|
type FormType = typeof InternalForm & {
|
5
6
|
Item: typeof FormItem;
|
6
7
|
List: typeof AntForm.List;
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import React from 'react';
|
1
|
+
import { default as React } from 'react';
|
2
|
+
|
2
3
|
export interface HoverLabelProps {
|
3
4
|
name?: string;
|
4
5
|
size?: "small" | "middle" | "large";
|
@@ -6,6 +7,6 @@ export interface HoverLabelProps {
|
|
6
7
|
colorTextActive?: React.CSSProperties["color"];
|
7
8
|
}
|
8
9
|
declare const HoverLabel: React.ForwardRefExoticComponent<HoverLabelProps & {
|
9
|
-
children?: React.ReactNode;
|
10
|
+
children?: React.ReactNode | undefined;
|
10
11
|
} & React.RefAttributes<HTMLLabelElement | null>>;
|
11
12
|
export default HoverLabel;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
import {
|
3
|
-
|
1
|
+
import { InputRef } from 'antd';
|
2
|
+
import { PasswordProps as AntProps } from 'antd/es/input/Password';
|
3
|
+
|
4
4
|
interface RandomizeOptions {
|
5
5
|
charCount?: number;
|
6
6
|
onRandomize?: (event: React.MouseEvent<HTMLSpanElement>) => void;
|
@@ -10,5 +10,5 @@ export interface PasswordProps extends AntProps {
|
|
10
10
|
copy?: boolean;
|
11
11
|
randomize?: boolean | RandomizeOptions;
|
12
12
|
}
|
13
|
-
declare const Password: import(
|
13
|
+
declare const Password: import('react').ForwardRefExoticComponent<PasswordProps & import('react').RefAttributes<InputRef>>;
|
14
14
|
export default Password;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { SearchProps as AntSearchProps } from 'antd/es/input/Search';
|
2
|
+
|
3
3
|
export interface SearchProps extends AntSearchProps {
|
4
4
|
}
|
5
|
-
declare const HtmlSearch: import(
|
6
|
-
ref?: ((instance: import(
|
7
|
-
}, never>> & Omit<import(
|
5
|
+
declare const HtmlSearch: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<AntSearchProps & import('react').RefAttributes<import('rc-input').InputRef>, "ref"> & {
|
6
|
+
ref?: ((instance: import('rc-input').InputRef | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<import('rc-input').InputRef> | null | undefined;
|
7
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<AntSearchProps & import('react').RefAttributes<import('rc-input').InputRef>>, keyof import('react').Component<any, {}, any>>;
|
8
8
|
export default HtmlSearch;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { TextAreaProps as AntTextAreaProps } from 'antd/es/input/TextArea';
|
2
|
+
|
3
3
|
export interface TextAreaProps extends AntTextAreaProps {
|
4
4
|
}
|
5
|
-
declare const HtmlTextArea: import(
|
6
|
-
ref?: ((instance: import(
|
7
|
-
}, never>> & Omit<import(
|
5
|
+
declare const HtmlTextArea: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<AntTextAreaProps & import('react').RefAttributes<import('antd/es/input/TextArea').TextAreaRef>, "ref"> & {
|
6
|
+
ref?: ((instance: import('antd/es/input/TextArea').TextAreaRef | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<import('antd/es/input/TextArea').TextAreaRef> | null | undefined;
|
7
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<AntTextAreaProps & import('react').RefAttributes<import('antd/es/input/TextArea').TextAreaRef>>, keyof import('react').Component<any, {}, any>>;
|
8
8
|
export default HtmlTextArea;
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { InputProps as AntInputProps } from 'antd';
|
2
|
+
|
3
3
|
export interface InputProps extends AntInputProps {
|
4
4
|
}
|
5
|
-
declare const HtmlInput: import(
|
6
|
-
ref?: ((instance: import(
|
7
|
-
}, never>> & Omit<import(
|
8
|
-
Group: import(
|
9
|
-
Search: import(
|
10
|
-
TextArea: import(
|
11
|
-
Password: import(
|
12
|
-
OTP: import(
|
13
|
-
}, keyof import(
|
5
|
+
declare const HtmlInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<AntInputProps & import('react').RefAttributes<import('antd').InputRef>, "ref"> & {
|
6
|
+
ref?: ((instance: import('antd').InputRef | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<import('antd').InputRef> | null | undefined;
|
7
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<AntInputProps & import('react').RefAttributes<import('antd').InputRef>> & {
|
8
|
+
Group: import('react').FC<import('antd/es/input').GroupProps>;
|
9
|
+
Search: import('react').ForwardRefExoticComponent<import('antd/es/input').SearchProps & import('react').RefAttributes<import('antd').InputRef>>;
|
10
|
+
TextArea: import('react').ForwardRefExoticComponent<import('antd/es/input').TextAreaProps & import('react').RefAttributes<import('antd/es/input/TextArea').TextAreaRef>>;
|
11
|
+
Password: import('react').ForwardRefExoticComponent<import('antd/es/input').PasswordProps & import('react').RefAttributes<import('antd').InputRef>>;
|
12
|
+
OTP: import('react').ForwardRefExoticComponent<import('antd/es/input/OTP').OTPProps & import('react').RefAttributes<import('antd/es/input/OTP').OTPRef>>;
|
13
|
+
}, keyof import('react').Component<any, {}, any>>;
|
14
14
|
export default HtmlInput;
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import { Input as AntInput } from
|
2
|
-
import InternalInput,
|
3
|
-
import Password,
|
4
|
-
import Search,
|
5
|
-
import TextArea,
|
1
|
+
import { Input as AntInput } from 'antd';
|
2
|
+
import { default as InternalInput, InputProps } from './Input';
|
3
|
+
import { default as Password, PasswordProps } from './Input.Password';
|
4
|
+
import { default as Search, SearchProps } from './Input.Search';
|
5
|
+
import { default as TextArea, TextAreaProps } from './Input.TextArea';
|
6
|
+
|
6
7
|
type InputType = typeof InternalInput & {
|
7
8
|
TextArea: typeof TextArea;
|
8
9
|
Search: typeof Search;
|
package/dist/Form/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
export * from
|
2
|
-
export { default as HoverLabel } from
|
3
|
-
export type { HoverLabelProps } from
|
4
|
-
export { default as Input } from
|
5
|
-
export type { InputProps, PasswordProps } from
|
6
|
-
export { default as Form } from
|
7
|
-
export type { FormProps, FormItemProps } from
|
1
|
+
export * from './Buttons';
|
2
|
+
export { default as HoverLabel } from './HoverLabel';
|
3
|
+
export type { HoverLabelProps } from './HoverLabel';
|
4
|
+
export { default as Input } from './Input/index';
|
5
|
+
export type { InputProps, PasswordProps } from './Input/index';
|
6
|
+
export { default as Form } from './Form/index';
|
7
|
+
export type { FormProps, FormItemProps } from './Form/index';
|
@@ -1,12 +1,12 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { CollapseBaseProps } from '@/Display';
|
2
|
+
|
3
3
|
interface MainSelectorBaseProps {
|
4
4
|
title?: React.ReactNode;
|
5
5
|
collapseOpen?: boolean;
|
6
6
|
onChange?: CollapseBaseProps["onChange"];
|
7
7
|
}
|
8
8
|
export type MainSelectorProps = React.PropsWithChildren<MainSelectorBaseProps>;
|
9
|
-
declare const MainSelector: import(
|
10
|
-
children?: import(
|
11
|
-
} & import(
|
9
|
+
declare const MainSelector: import('react').ForwardRefExoticComponent<MainSelectorBaseProps & {
|
10
|
+
children?: import('react').ReactNode | undefined;
|
11
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
12
12
|
export default MainSelector;
|
@@ -1,15 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export declare const SettingsPadding: import(
|
4
|
-
export declare const SettingsFlex: import(
|
5
|
-
ref?: ((instance: HTMLElement | null) => void) | import(
|
6
|
-
}, never>> & Omit<import(
|
1
|
+
import { FlexProps } from 'antd';
|
2
|
+
|
3
|
+
export declare const SettingsPadding: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
4
|
+
export declare const SettingsFlex: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<FlexProps<import('antd/es/_util/type').AnyObject> & import('react').RefAttributes<HTMLElement>, "ref"> & {
|
5
|
+
ref?: ((instance: HTMLElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLElement> | null | undefined;
|
6
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<FlexProps<import('antd/es/_util/type').AnyObject> & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
|
7
7
|
export interface MainSettingsProps {
|
8
8
|
flex?: boolean;
|
9
9
|
padding?: boolean;
|
10
10
|
flexProps?: FlexProps;
|
11
11
|
}
|
12
|
-
declare const MainSettings: import(
|
13
|
-
children?: import(
|
14
|
-
} & import(
|
12
|
+
declare const MainSettings: import('react').ForwardRefExoticComponent<MainSettingsProps & {
|
13
|
+
children?: import('react').ReactNode | undefined;
|
14
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
15
15
|
export default MainSettings;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
import
|
3
|
-
|
1
|
+
import { default as MainSettings, SettingsFlex, SettingsPadding } from './MainSettings';
|
2
|
+
import { default as MainSelector } from './MainSelector';
|
3
|
+
|
4
4
|
interface MainBaseProps {
|
5
5
|
overflow?: "scroll" | "visible";
|
6
6
|
height?: "full" | "content";
|
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { MenuGroupItem, MenuItem, NavbarRenderer } from './index';
|
2
|
+
|
3
3
|
export type NavbarDropdownClickHandler = (e: React.MouseEvent<HTMLLIElement>, info?: {
|
4
4
|
item: MenuItem | MenuGroupItem;
|
5
5
|
key: string;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
type CssColor = React.CSSProperties["color"];
|
3
2
|
export interface MenuItem {
|
4
3
|
key: string;
|
@@ -27,5 +26,5 @@ export interface NavbarProps {
|
|
27
26
|
height?: number;
|
28
27
|
itemRender?: NavbarRenderer;
|
29
28
|
}
|
30
|
-
declare const Navbar: import(
|
29
|
+
declare const Navbar: import('react').ForwardRefExoticComponent<NavbarProps & import('react').RefAttributes<HTMLDivElement>>;
|
31
30
|
export default Navbar;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
export declare const
|
3
|
-
|
4
|
-
|
5
|
-
}, never>> & Omit<import("react").ForwardRefExoticComponent<import("antd/es/typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
|
1
|
+
export declare const HeaderTextBox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
2
|
+
export declare const HeaderText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('antd/es/typography/Text').TextProps & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
|
3
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
4
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd/es/typography/Text').TextProps & import('react').RefAttributes<HTMLSpanElement>>, keyof import('react').Component<any, {}, any>>;
|