@web-fuse/wf-components 1.0.6 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/dist/Display/Card/DarkCard.Title.d.ts +2 -1
  2. package/dist/Display/Card/DarkCard.d.ts +6 -3
  3. package/dist/Display/Card/LightCard.Title.d.ts +2 -1
  4. package/dist/Display/Card/LightCard.d.ts +6 -3
  5. package/dist/Display/Card/index.d.ts +4 -4
  6. package/dist/Display/CodeBlock/CodeBlockCopy.d.ts +2 -2
  7. package/dist/Display/CodeBlock/CodeHeader.d.ts +2 -1
  8. package/dist/Display/CodeBlock/index.d.ts +2 -3
  9. package/dist/Display/CodeBlock/languages.d.ts +10 -11
  10. package/dist/Display/Collapse/Collapse.d.ts +3 -3
  11. package/dist/Display/Collapse/CollapseBase.d.ts +8 -9
  12. package/dist/Display/Collapse/CollapseContent.d.ts +4 -5
  13. package/dist/Display/Collapse/index.d.ts +7 -6
  14. package/dist/Display/Selector/SelectorItem.d.ts +2 -2
  15. package/dist/Display/Selector/SelectorSubItem.d.ts +2 -2
  16. package/dist/Display/Selector/index.d.ts +2 -1
  17. package/dist/Display/Selector/style.d.ts +8 -11
  18. package/dist/Display/index.d.ts +7 -7
  19. package/dist/Form/Buttons.d.ts +14 -29
  20. package/dist/Form/Form/Form.Item.d.ts +16 -0
  21. package/dist/Form/Form/Form.d.ts +8 -0
  22. package/dist/Form/Form/index.d.ts +15 -0
  23. package/dist/Form/HoverLabel.d.ts +3 -2
  24. package/dist/Form/Input/Input.Password.d.ts +4 -4
  25. package/dist/Form/Input/Input.Search.d.ts +7 -4
  26. package/dist/Form/Input/Input.TextArea.d.ts +7 -4
  27. package/dist/Form/Input/Input.d.ts +13 -10
  28. package/dist/Form/Input/index.d.ts +8 -7
  29. package/dist/Form/index.d.ts +7 -4
  30. package/dist/Layout/Main/MainSelector.d.ts +5 -5
  31. package/dist/Layout/Main/MainSettings.d.ts +9 -9
  32. package/dist/Layout/Main/index.d.ts +3 -3
  33. package/dist/Layout/Navbar/NavbarDropdown.d.ts +2 -2
  34. package/dist/Layout/Navbar/index.d.ts +1 -2
  35. package/dist/Layout/Navbar/style.d.ts +4 -5
  36. package/dist/Layout/index.d.ts +5 -5
  37. package/dist/Oauth/ErrorBoundary.d.ts +0 -1
  38. package/dist/Oauth/LoginContainer.d.ts +4 -3
  39. package/dist/Oauth/PageBackground.d.ts +2 -1
  40. package/dist/Oauth/index.d.ts +5 -5
  41. package/dist/index.cjs.js +202 -101
  42. package/dist/index.cjs.js.map +1 -1
  43. package/dist/index.d.ts +5 -5
  44. package/dist/index.es.js +14956 -2069
  45. package/dist/index.es.js.map +1 -1
  46. package/dist/util/index.d.ts +2 -1
  47. package/dist/util/useMessageApi.d.ts +4 -0
  48. package/dist/util/wfDarkAlgorithm.d.ts +2 -1
  49. package/package.json +1 -1
  50. package/readme.md +6 -0
@@ -1,7 +1,8 @@
1
- /// <reference types="react" />
2
1
  type CssColor = React.CSSProperties["color"];
3
2
  export type DarkCardTitleProps = React.PropsWithChildren<{
4
3
  titleColor?: CssColor;
4
+ strong?: boolean;
5
+ style?: React.CSSProperties;
5
6
  }>;
6
7
  declare const DarkCardTitle: React.FC<DarkCardTitleProps>;
7
8
  export default DarkCardTitle;
@@ -1,10 +1,13 @@
1
- /// <reference types="react" />
2
- import Title, { type DarkCardTitleProps } from "./DarkCard.Title";
3
- export type DarkCardProps = React.PropsWithChildren<DarkCardTitleProps & {
1
+ import { default as Title, DarkCardTitleProps } from './DarkCard.Title';
2
+
3
+ export type DarkCardProps = React.PropsWithChildren<{
4
4
  title?: React.ReactNode;
5
+ titleColor?: React.CSSProperties["color"];
6
+ style?: React.CSSProperties;
5
7
  }>;
6
8
  type DarkCardComponent = React.FC<DarkCardProps> & {
7
9
  Title: typeof Title;
8
10
  };
9
11
  declare const DarkCard: DarkCardComponent;
12
+ export type { DarkCardTitleProps };
10
13
  export default DarkCard;
@@ -1,7 +1,8 @@
1
- /// <reference types="react" />
2
1
  type CssColor = React.CSSProperties["color"];
3
2
  export type LightCardTitleProps = React.PropsWithChildren<{
4
3
  titleColor?: CssColor;
4
+ strong?: boolean;
5
+ style?: React.CSSProperties;
5
6
  }>;
6
7
  declare const LightCardTitle: React.FC<LightCardTitleProps>;
7
8
  export default LightCardTitle;
@@ -1,10 +1,13 @@
1
- /// <reference types="react" />
2
- import Title, { LightCardTitleProps } from "./LightCard.Title";
3
- export type LightCardProps = React.PropsWithChildren<LightCardTitleProps & {
1
+ import { default as Title, LightCardTitleProps } from './LightCard.Title';
2
+
3
+ export type LightCardProps = React.PropsWithChildren<{
4
4
  title?: React.ReactNode;
5
+ style?: React.CSSProperties;
6
+ titleColor?: React.CSSProperties["color"];
5
7
  }>;
6
8
  type LightCardComponent = React.FC<LightCardProps> & {
7
9
  Title: typeof Title;
8
10
  };
9
11
  declare const LightCard: LightCardComponent;
12
+ export type { LightCardTitleProps };
10
13
  export default LightCard;
@@ -1,4 +1,4 @@
1
- export { default as LightCard } from "./LightCard";
2
- export type { LightCardProps } from "./LightCard";
3
- export { default as DarkCard } from "./DarkCard";
4
- export type { DarkCardProps } from "./DarkCard";
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,5 +1,5 @@
1
- /// <reference types="react-copy-to-clipboard" />
2
- import React from "react";
1
+ import { default as React } from 'react';
2
+
3
3
  export interface CodeBlockCopyProps {
4
4
  showCopy?: boolean;
5
5
  copyConfig?: {
@@ -1,4 +1,5 @@
1
- import { type default as React } from "react";
1
+ import { default as React } from 'react';
2
+
2
3
  interface CodeBlockHeaderProps {
3
4
  filename?: string;
4
5
  heading?: React.ReactNode;
@@ -1,6 +1,5 @@
1
- /// <reference types="react-syntax-highlighter" />
2
- /// <reference types="react-copy-to-clipboard" />
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
- /// <reference types="react-syntax-highlighter" />
2
- export { default as bash } from "react-syntax-highlighter/dist/esm/languages/prism/bash";
3
- export { default as css } from "react-syntax-highlighter/dist/esm/languages/prism/css";
4
- export { default as javascript } from "react-syntax-highlighter/dist/esm/languages/prism/javascript";
5
- export { default as json } from "react-syntax-highlighter/dist/esm/languages/prism/json";
6
- export { default as markdown } from "react-syntax-highlighter/dist/esm/languages/prism/markdown";
7
- export { default as markup } from "react-syntax-highlighter/dist/esm/languages/prism/markup";
8
- export { default as nginx } from "react-syntax-highlighter/dist/esm/languages/prism/nginx";
9
- export { default as php } from "react-syntax-highlighter/dist/esm/languages/prism/php";
10
- export { default as powershell } from "react-syntax-highlighter/dist/esm/languages/prism/powershell";
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
- /// <reference types="react" />
2
- import { type CollapseBaseProps, type CollapseRef } from "./CollapseBase";
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("react").ForwardRefExoticComponent<CollapseProps & import("react").RefAttributes<CollapseRef>>;
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("react").ForwardRefExoticComponent<{
17
- open?: boolean | undefined;
18
- onChange?: CollapseChangeHandler | undefined;
19
- defaultOpen?: boolean | undefined;
20
- style?: import("react").CSSProperties | undefined;
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 | undefined;
21
+ border?: boolean;
23
22
  width?: React.CSSProperties["width"];
24
23
  } & {
25
- children?: import("react").ReactNode;
26
- } & import("react").RefAttributes<CollapseRef>>;
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("react").ForwardRefExoticComponent<{
6
- style?: import("react").CSSProperties | undefined;
4
+ declare const CollapseContent: import('react').ForwardRefExoticComponent<{
5
+ style?: React.CSSProperties;
7
6
  } & {
8
- children?: import("react").ReactNode;
9
- } & import("react").RefAttributes<HTMLDivElement>>;
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 "./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";
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
- /// <reference types="react" />
2
- import type { SelectorClickHandler, SelectorItemGroup, SelectorRenderer } from './index';
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
- /// <reference types="react" />
2
- import type { SelectorClickHandler, SelectorItem, SelectorRenderer } from './index';
1
+ import { SelectorClickHandler, SelectorItem, SelectorRenderer } from './index';
2
+
3
3
  interface SelectorSubItemProps {
4
4
  item?: SelectorItem;
5
5
  onClick?: SelectorClickHandler;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export interface SelectorItem {
3
4
  key: string;
4
5
  label: React.ReactNode;
@@ -1,16 +1,13 @@
1
- /// <reference types="react" />
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("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("antd/es/typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
6
- ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
7
- }, never>> & Omit<import("react").ForwardRefExoticComponent<import("antd/es/typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
8
- export declare const SubItem: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$colorBorder"> & {
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("react").RefObject<HTMLDivElement> | null | undefined;
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
- }>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
15
- $colorBorder?: React.CSSProperties["color"];
16
- }>>, keyof import("react").Component<any, {}, any>>;
13
+ }>> & string;
@@ -1,7 +1,7 @@
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";
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';
@@ -1,29 +1,14 @@
1
- /// <reference types="react" />
2
- export declare const Button: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
3
- ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void) | import("react").RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
4
- }, never>> & Omit<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & {
5
- Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
6
- }, keyof import("react").Component<any, {}, any>>;
7
- export declare const CenteredButton: 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"> & {
8
- ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void) | import("react").RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
9
- }, never>, never>> & Omit<import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
10
- ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void) | import("react").RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
11
- }, never>> & Omit<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & {
12
- Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
13
- }, keyof import("react").Component<any, {}, any>>, keyof import("react").Component<any, {}, any>>;
14
- export declare const ExtraSmallButton: 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"> & {
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;
@@ -0,0 +1,16 @@
1
+ import { default as AntFormItem, FormItemProps as AntFormItemProps } from 'antd/es/form/FormItem';
2
+ import { HoverLabelProps } from '../HoverLabel';
3
+
4
+ type HoverTypeCustom = {
5
+ type: "hover";
6
+ } & Omit<HoverLabelProps, "name">;
7
+ export interface FormItemProps<Values = any> extends AntFormItemProps<Values> {
8
+ labelType?: "default" | "hover" | HoverTypeCustom;
9
+ }
10
+ type FormItemType<Values = any> = React.FC<FormItemProps<Values>>;
11
+ type CompoundedComponent = typeof InternalFormItem & {
12
+ useStatus: typeof AntFormItem.useStatus;
13
+ };
14
+ declare const InternalFormItem: FormItemType;
15
+ declare const FormItem: CompoundedComponent;
16
+ export default FormItem;
@@ -0,0 +1,8 @@
1
+ import { FormProps as AntFormProps, FormInstance } from 'antd/es/form/Form';
2
+
3
+ export type FormProps<Values = any> = AntFormProps<Values> & {
4
+ children: React.ReactNode;
5
+ };
6
+ type FormType<Values = any> = React.ForwardRefExoticComponent<React.PropsWithoutRef<FormProps<Values>> & React.RefAttributes<FormInstance<Values>>>;
7
+ declare const Form: FormType;
8
+ export default Form;
@@ -0,0 +1,15 @@
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
+
5
+ type FormType = typeof InternalForm & {
6
+ Item: typeof FormItem;
7
+ List: typeof AntForm.List;
8
+ useForm: typeof AntForm.useForm;
9
+ useFormInstance: typeof AntForm.useFormInstance;
10
+ useWatch: typeof AntForm.useWatch;
11
+ Provider: typeof AntForm.Provider;
12
+ };
13
+ declare const Form: FormType;
14
+ export type { FormProps, FormItemProps };
15
+ export default Form;
@@ -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
- /// <reference types="react" />
2
- import { InputRef } from "antd";
3
- import { PasswordProps as AntProps } from "antd/es/input";
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("react").ForwardRefExoticComponent<PasswordProps & import("react").RefAttributes<InputRef>>;
13
+ declare const Password: import('react').ForwardRefExoticComponent<PasswordProps & import('react').RefAttributes<InputRef>>;
14
14
  export default Password;
@@ -1,5 +1,8 @@
1
- /// <reference types="react" />
2
- declare const HtmlSearch: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("antd/es/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>, "ref"> & {
3
- ref?: ((instance: import("antd").InputRef | null) => void) | import("react").RefObject<import("antd").InputRef> | null | undefined;
4
- }, never>> & Omit<import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>>, keyof import("react").Component<any, {}, any>>;
1
+ import { SearchProps as AntSearchProps } from 'antd/es/input/Search';
2
+
3
+ export interface SearchProps extends AntSearchProps {
4
+ }
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>>;
5
8
  export default HtmlSearch;
@@ -1,5 +1,8 @@
1
- /// <reference types="react" />
2
- declare const HtmlTextArea: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>, "ref"> & {
3
- ref?: ((instance: import("antd/es/input/TextArea").TextAreaRef | null) => void) | import("react").RefObject<import("antd/es/input/TextArea").TextAreaRef> | null | undefined;
4
- }, never>> & Omit<import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, keyof import("react").Component<any, {}, any>>;
1
+ import { TextAreaProps as AntTextAreaProps } from 'antd/es/input/TextArea';
2
+
3
+ export interface TextAreaProps extends AntTextAreaProps {
4
+ }
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>>;
5
8
  export default HtmlTextArea;
@@ -1,11 +1,14 @@
1
- /// <reference types="react" />
2
- declare const HtmlInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef>, "ref"> & {
3
- ref?: ((instance: import("antd").InputRef | null) => void) | import("react").RefObject<import("antd").InputRef> | null | undefined;
4
- }, never>> & Omit<import("react").ForwardRefExoticComponent<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef>> & {
5
- Group: import("react").FC<import("antd/es/input").GroupProps>;
6
- Search: import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>>;
7
- TextArea: import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
8
- Password: import("react").ForwardRefExoticComponent<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef>>;
9
- OTP: import("react").ForwardRefExoticComponent<import("antd/es/input/OTP").OTPProps & import("react").RefAttributes<import("antd/es/input/OTP").OTPRef>>;
10
- }, keyof import("react").Component<any, {}, any>>;
1
+ import { InputProps as AntInputProps } from 'antd';
2
+
3
+ export interface InputProps extends AntInputProps {
4
+ }
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>>;
11
14
  export default HtmlInput;
@@ -1,14 +1,15 @@
1
- import { Input as AntInput } from "antd";
2
- import { default as HtmlInput } from "./Input";
3
- import Password from "./Input.Password";
4
- import Search from "./Input.Search";
5
- import TextArea from "./Input.TextArea";
6
- export type { PasswordProps } from "./Input.Password";
7
- type InputType = typeof HtmlInput & {
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
+
7
+ type InputType = typeof InternalInput & {
8
8
  TextArea: typeof TextArea;
9
9
  Search: typeof Search;
10
10
  Password: typeof Password;
11
11
  OTP: typeof AntInput.OTP;
12
12
  };
13
13
  declare const Input: InputType;
14
+ export type { PasswordProps, SearchProps, TextAreaProps, InputProps };
14
15
  export default Input;
@@ -1,4 +1,7 @@
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";
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
- /// <reference types="react" />
2
- import { type CollapseBaseProps } from '@/Display';
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("react").ForwardRefExoticComponent<MainSelectorBaseProps & {
10
- children?: import("react").ReactNode;
11
- } & import("react").RefAttributes<HTMLDivElement>>;
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
- /// <reference types="react" />
2
- import { type FlexProps } from "antd";
3
- export declare const SettingsPadding: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
- export declare const SettingsFlex: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<FlexProps<import("antd/es/_util/type").AnyObject> & import("react").RefAttributes<HTMLElement>, "ref"> & {
5
- ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
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
+
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("react").ForwardRefExoticComponent<MainSettingsProps & {
13
- children?: import("react").ReactNode;
14
- } & import("react").RefAttributes<HTMLDivElement>>;
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
- /// <reference types="react" />
2
- import MainSettings, { SettingsFlex, SettingsPadding } from "./MainSettings";
3
- import MainSelector from "./MainSelector";
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
- /// <reference types="react" />
2
- import type { MenuGroupItem, MenuItem, NavbarRenderer } from './index';
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;