@web-fuse/wf-components 1.0.7 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Display/Card/DarkCard.Title.d.ts +0 -1
- package/dist/Display/Card/DarkCard.d.ts +1 -2
- package/dist/Display/Card/LightCard.Title.d.ts +0 -1
- package/dist/Display/Card/LightCard.d.ts +1 -2
- package/dist/Display/Card/index.d.ts +4 -4
- package/dist/Display/CodeBlock/CodeBlockCopy.d.ts +1 -2
- package/dist/Display/CodeBlock/CodeHeader.d.ts +1 -1
- package/dist/Display/CodeBlock/index.d.ts +1 -3
- package/dist/Display/CodeBlock/languages.d.ts +10 -11
- package/dist/Display/Collapse/Collapse.d.ts +2 -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 +6 -6
- package/dist/Display/Selector/SelectorItem.d.ts +1 -2
- package/dist/Display/Selector/SelectorSubItem.d.ts +1 -2
- package/dist/Display/Selector/index.d.ts +1 -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 +2 -3
- package/dist/Form/Form/Form.d.ts +1 -2
- package/dist/Form/Form/index.d.ts +3 -3
- package/dist/Form/HoverLabel.d.ts +2 -2
- package/dist/Form/Input/Input.Password.d.ts +3 -4
- package/dist/Form/Input/Input.Search.d.ts +4 -5
- package/dist/Form/Input/Input.TextArea.d.ts +4 -5
- package/dist/Form/Input/Input.d.ts +10 -11
- package/dist/Form/Input/index.d.ts +5 -5
- package/dist/Form/index.d.ts +7 -7
- package/dist/Layout/Main/MainSelector.d.ts +4 -5
- package/dist/Layout/Main/MainSettings.d.ts +8 -9
- package/dist/Layout/Main/index.d.ts +2 -3
- package/dist/Layout/Navbar/NavbarDropdown.d.ts +1 -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 +3 -3
- package/dist/Oauth/PageBackground.d.ts +1 -1
- package/dist/Oauth/index.d.ts +5 -5
- package/dist/index.cjs.js +3 -812
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.es.js +1340 -26738
- package/dist/index.es.js.map +1 -1
- package/dist/util/index.d.ts +2 -2
- package/dist/util/useMessageApi.d.ts +2 -3
- package/dist/util/wfDarkAlgorithm.d.ts +1 -1
- package/package.json +69 -67
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
import Title, { type DarkCardTitleProps } from "./DarkCard.Title";
|
1
|
+
import { default as Title, DarkCardTitleProps } from './DarkCard.Title';
|
3
2
|
export type DarkCardProps = React.PropsWithChildren<{
|
4
3
|
title?: React.ReactNode;
|
5
4
|
titleColor?: React.CSSProperties["color"];
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
import Title, { LightCardTitleProps } from "./LightCard.Title";
|
1
|
+
import { default as Title, LightCardTitleProps } from './LightCard.Title';
|
3
2
|
export type LightCardProps = React.PropsWithChildren<{
|
4
3
|
title?: React.ReactNode;
|
5
4
|
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,4 @@
|
|
1
|
-
|
2
|
-
/// <reference types="react-copy-to-clipboard" />
|
3
|
-
import { type default as React } from "react";
|
1
|
+
import { default as React } from 'react';
|
4
2
|
import * as codeThemes from "react-syntax-highlighter/dist/esm/styles/prism";
|
5
3
|
import * as codeLanguages from "./languages";
|
6
4
|
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,4 @@
|
|
1
|
-
|
2
|
-
import { type CollapseBaseProps, type CollapseRef } from "./CollapseBase";
|
1
|
+
import { CollapseBaseProps, CollapseRef } from './CollapseBase';
|
3
2
|
type CssColor = React.CSSProperties["color"];
|
4
3
|
export interface CollapseProps extends Omit<CollapseBaseProps, "style" | "header"> {
|
5
4
|
title?: React.ReactNode;
|
@@ -12,5 +11,5 @@ export interface CollapseProps extends Omit<CollapseBaseProps, "style" | "header
|
|
12
11
|
children?: React.CSSProperties;
|
13
12
|
};
|
14
13
|
}
|
15
|
-
declare const Collapse: import(
|
14
|
+
declare const Collapse: import('react').ForwardRefExoticComponent<CollapseProps & import('react').RefAttributes<CollapseRef>>;
|
16
15
|
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,9 @@
|
|
1
|
-
import { default as InternalCollapse } from
|
2
|
-
import { default as CollapseBase } from
|
3
|
-
import { default as CollapseContent } from
|
4
|
-
export type { CollapseProps } from
|
5
|
-
export type { CollapseBaseProps, CollapseRef } from
|
6
|
-
export type { ContentProps } from
|
1
|
+
import { default as InternalCollapse } from './Collapse';
|
2
|
+
import { default as CollapseBase } from './CollapseBase';
|
3
|
+
import { default as CollapseContent } from './CollapseContent';
|
4
|
+
export type { CollapseProps } from './Collapse';
|
5
|
+
export type { CollapseBaseProps, CollapseRef } from './CollapseBase';
|
6
|
+
export type { ContentProps } from './CollapseContent';
|
7
7
|
type CollapseType = typeof InternalCollapse & {
|
8
8
|
Content: typeof CollapseContent;
|
9
9
|
Base: typeof CollapseBase;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
import type { SelectorClickHandler, SelectorItemGroup, SelectorRenderer } from './index';
|
1
|
+
import { SelectorClickHandler, SelectorItemGroup, SelectorRenderer } from './index';
|
3
2
|
interface SelectorItemProps {
|
4
3
|
item?: SelectorItemGroup;
|
5
4
|
onClick?: SelectorClickHandler;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
import type { SelectorClickHandler, SelectorItem, SelectorRenderer } from './index';
|
1
|
+
import { SelectorClickHandler, SelectorItem, SelectorRenderer } from './index';
|
3
2
|
interface SelectorSubItemProps {
|
4
3
|
item?: SelectorItem;
|
5
4
|
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,5 @@
|
|
1
|
-
|
2
|
-
import
|
3
|
-
import { type HoverLabelProps } from "../HoverLabel";
|
1
|
+
import { default as AntFormItem, FormItemProps as AntFormItemProps } from 'antd/es/form/FormItem';
|
2
|
+
import { HoverLabelProps } from '../HoverLabel';
|
4
3
|
type HoverTypeCustom = {
|
5
4
|
type: "hover";
|
6
5
|
} & Omit<HoverLabelProps, "name">;
|
package/dist/Form/Form/Form.d.ts
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
import { type FormProps as AntFormProps, type FormInstance } from "antd/es/form/Form";
|
1
|
+
import { FormProps as AntFormProps, FormInstance } from 'antd/es/form/Form';
|
3
2
|
export type FormProps<Values = any> = AntFormProps<Values> & {
|
4
3
|
children: React.ReactNode;
|
5
4
|
};
|
@@ -1,6 +1,6 @@
|
|
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
|
type FormType = typeof InternalForm & {
|
5
5
|
Item: typeof FormItem;
|
6
6
|
List: typeof AntForm.List;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React from 'react';
|
1
|
+
import { default as React } from 'react';
|
2
2
|
export interface HoverLabelProps {
|
3
3
|
name?: string;
|
4
4
|
size?: "small" | "middle" | "large";
|
@@ -6,6 +6,6 @@ export interface HoverLabelProps {
|
|
6
6
|
colorTextActive?: React.CSSProperties["color"];
|
7
7
|
}
|
8
8
|
declare const HoverLabel: React.ForwardRefExoticComponent<HoverLabelProps & {
|
9
|
-
children?: React.ReactNode;
|
9
|
+
children?: React.ReactNode | undefined;
|
10
10
|
} & React.RefAttributes<HTMLLabelElement | null>>;
|
11
11
|
export default HoverLabel;
|
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
import {
|
3
|
-
import { PasswordProps as AntProps } from "antd/es/input/Password";
|
1
|
+
import { InputRef } from 'antd';
|
2
|
+
import { PasswordProps as AntProps } from 'antd/es/input/Password';
|
4
3
|
interface RandomizeOptions {
|
5
4
|
charCount?: number;
|
6
5
|
onRandomize?: (event: React.MouseEvent<HTMLSpanElement>) => void;
|
@@ -10,5 +9,5 @@ export interface PasswordProps extends AntProps {
|
|
10
9
|
copy?: boolean;
|
11
10
|
randomize?: boolean | RandomizeOptions;
|
12
11
|
}
|
13
|
-
declare const Password: import(
|
12
|
+
declare const Password: import('react').ForwardRefExoticComponent<PasswordProps & import('react').RefAttributes<InputRef>>;
|
14
13
|
export default Password;
|
@@ -1,8 +1,7 @@
|
|
1
|
-
|
2
|
-
import { type SearchProps as AntSearchProps } from "antd/es/input/Search";
|
1
|
+
import { SearchProps as AntSearchProps } from 'antd/es/input/Search';
|
3
2
|
export interface SearchProps extends AntSearchProps {
|
4
3
|
}
|
5
|
-
declare const HtmlSearch: import(
|
6
|
-
ref?: ((instance: import(
|
7
|
-
}, never>> & Omit<import(
|
4
|
+
declare const HtmlSearch: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<AntSearchProps & import('react').RefAttributes<import('rc-input').InputRef>, "ref"> & {
|
5
|
+
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;
|
6
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<AntSearchProps & import('react').RefAttributes<import('rc-input').InputRef>>, keyof import('react').Component<any, {}, any>>;
|
8
7
|
export default HtmlSearch;
|
@@ -1,8 +1,7 @@
|
|
1
|
-
|
2
|
-
import { type TextAreaProps as AntTextAreaProps } from "antd/es/input/TextArea";
|
1
|
+
import { TextAreaProps as AntTextAreaProps } from 'antd/es/input/TextArea';
|
3
2
|
export interface TextAreaProps extends AntTextAreaProps {
|
4
3
|
}
|
5
|
-
declare const HtmlTextArea: import(
|
6
|
-
ref?: ((instance: import(
|
7
|
-
}, never>> & Omit<import(
|
4
|
+
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"> & {
|
5
|
+
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;
|
6
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<AntTextAreaProps & import('react').RefAttributes<import('antd/es/input/TextArea').TextAreaRef>>, keyof import('react').Component<any, {}, any>>;
|
8
7
|
export default HtmlTextArea;
|
@@ -1,14 +1,13 @@
|
|
1
|
-
|
2
|
-
import { InputProps as AntInputProps } from "antd";
|
1
|
+
import { InputProps as AntInputProps } from 'antd';
|
3
2
|
export interface InputProps extends AntInputProps {
|
4
3
|
}
|
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(
|
4
|
+
declare const HtmlInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<AntInputProps & import('react').RefAttributes<import('antd').InputRef>, "ref"> & {
|
5
|
+
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;
|
6
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<AntInputProps & import('react').RefAttributes<import('antd').InputRef>> & {
|
7
|
+
Group: import('react').FC<import('antd/es/input').GroupProps>;
|
8
|
+
Search: import('react').ForwardRefExoticComponent<import('antd/es/input').SearchProps & import('react').RefAttributes<import('antd').InputRef>>;
|
9
|
+
TextArea: import('react').ForwardRefExoticComponent<import('antd/es/input').TextAreaProps & import('react').RefAttributes<import('antd/es/input/TextArea').TextAreaRef>>;
|
10
|
+
Password: import('react').ForwardRefExoticComponent<import('antd/es/input').PasswordProps & import('react').RefAttributes<import('antd').InputRef>>;
|
11
|
+
OTP: import('react').ForwardRefExoticComponent<import('antd/es/input/OTP').OTPProps & import('react').RefAttributes<import('antd/es/input/OTP').OTPRef>>;
|
12
|
+
}, keyof import('react').Component<any, {}, any>>;
|
14
13
|
export default HtmlInput;
|
@@ -1,8 +1,8 @@
|
|
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
|
type InputType = typeof InternalInput & {
|
7
7
|
TextArea: typeof TextArea;
|
8
8
|
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,11 @@
|
|
1
|
-
|
2
|
-
import { type CollapseBaseProps } from '@/Display';
|
1
|
+
import { CollapseBaseProps } from '@/Display';
|
3
2
|
interface MainSelectorBaseProps {
|
4
3
|
title?: React.ReactNode;
|
5
4
|
collapseOpen?: boolean;
|
6
5
|
onChange?: CollapseBaseProps["onChange"];
|
7
6
|
}
|
8
7
|
export type MainSelectorProps = React.PropsWithChildren<MainSelectorBaseProps>;
|
9
|
-
declare const MainSelector: import(
|
10
|
-
children?: import(
|
11
|
-
} & import(
|
8
|
+
declare const MainSelector: import('react').ForwardRefExoticComponent<MainSelectorBaseProps & {
|
9
|
+
children?: import('react').ReactNode | undefined;
|
10
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
12
11
|
export default MainSelector;
|
@@ -1,15 +1,14 @@
|
|
1
|
-
|
2
|
-
import
|
3
|
-
export declare const
|
4
|
-
|
5
|
-
|
6
|
-
}, never>> & Omit<import("react").ForwardRefExoticComponent<FlexProps<import("antd/es/_util/type").AnyObject> & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
1
|
+
import { FlexProps } from 'antd';
|
2
|
+
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;
|
3
|
+
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"> & {
|
4
|
+
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;
|
5
|
+
}, never>> & string & Omit<import('react').ForwardRefExoticComponent<FlexProps<import('antd/es/_util/type').AnyObject> & import('react').RefAttributes<HTMLElement>>, keyof import('react').Component<any, {}, any>>;
|
7
6
|
export interface MainSettingsProps {
|
8
7
|
flex?: boolean;
|
9
8
|
padding?: boolean;
|
10
9
|
flexProps?: FlexProps;
|
11
10
|
}
|
12
|
-
declare const MainSettings: import(
|
13
|
-
children?: import(
|
14
|
-
} & import(
|
11
|
+
declare const MainSettings: import('react').ForwardRefExoticComponent<MainSettingsProps & {
|
12
|
+
children?: import('react').ReactNode | undefined;
|
13
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
15
14
|
export default MainSettings;
|
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
import
|
3
|
-
import MainSelector from "./MainSelector";
|
1
|
+
import { default as MainSettings, SettingsFlex, SettingsPadding } from './MainSettings';
|
2
|
+
import { default as MainSelector } from './MainSelector';
|
4
3
|
interface MainBaseProps {
|
5
4
|
overflow?: "scroll" | "visible";
|
6
5
|
height?: "full" | "content";
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
import type { MenuGroupItem, MenuItem, NavbarRenderer } from './index';
|
1
|
+
import { MenuGroupItem, MenuItem, NavbarRenderer } from './index';
|
3
2
|
export type NavbarDropdownClickHandler = (e: React.MouseEvent<HTMLLIElement>, info?: {
|
4
3
|
item: MenuItem | MenuGroupItem;
|
5
4
|
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>>;
|
package/dist/Layout/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
export { default as Navbar } from
|
2
|
-
export type { NavbarProps, NavbarRenderer } from
|
3
|
-
export { default as MainLayout } from
|
4
|
-
export type { MainProps } from
|
5
|
-
export type { MainSelectorProps } from
|
1
|
+
export { default as Navbar } from './Navbar';
|
2
|
+
export type { NavbarProps, NavbarRenderer } from './Navbar';
|
3
|
+
export { default as MainLayout } from './Main';
|
4
|
+
export type { MainProps } from './Main';
|
5
|
+
export type { MainSelectorProps } from './Main/MainSelector';
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import
|
1
|
+
import { ParagraphProps } from 'antd/es/typography/Paragraph';
|
2
|
+
import { TitleProps } from 'antd/es/typography/Title';
|
3
|
+
import { PropsWithChildren } from 'react';
|
4
4
|
export type LoginContainer = React.FC<PropsWithChildren> & {
|
5
5
|
Header: React.FC;
|
6
6
|
Title: React.FC<TitleProps>;
|