@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.
Files changed (49) hide show
  1. package/dist/Display/Card/DarkCard.Title.d.ts +0 -1
  2. package/dist/Display/Card/DarkCard.d.ts +2 -2
  3. package/dist/Display/Card/LightCard.Title.d.ts +0 -1
  4. package/dist/Display/Card/LightCard.d.ts +2 -2
  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 +3 -3
  21. package/dist/Form/Form/Form.d.ts +2 -2
  22. package/dist/Form/Form/index.d.ts +4 -3
  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 +5 -5
  26. package/dist/Form/Input/Input.TextArea.d.ts +5 -5
  27. package/dist/Form/Input/Input.d.ts +11 -11
  28. package/dist/Form/Input/index.d.ts +6 -5
  29. package/dist/Form/index.d.ts +7 -7
  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 +118 -110
  42. package/dist/index.cjs.js.map +1 -1
  43. package/dist/index.d.ts +5 -5
  44. package/dist/index.es.js +6211 -6098
  45. package/dist/index.es.js.map +1 -1
  46. package/dist/util/index.d.ts +2 -2
  47. package/dist/util/useMessageApi.d.ts +3 -3
  48. package/dist/util/wfDarkAlgorithm.d.ts +2 -1
  49. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type CssColor = React.CSSProperties["color"];
3
2
  export type DarkCardTitleProps = React.PropsWithChildren<{
4
3
  titleColor?: CssColor;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import Title, { type DarkCardTitleProps } from "./DarkCard.Title";
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type CssColor = React.CSSProperties["color"];
3
2
  export type LightCardTitleProps = React.PropsWithChildren<{
4
3
  titleColor?: CssColor;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import Title, { LightCardTitleProps } from "./LightCard.Title";
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 "./LightCard";
2
- export type { LightCardProps, LightCardTitleProps } from "./LightCard";
3
- export { default as DarkCard } from "./DarkCard";
4
- export type { DarkCardProps, DarkCardTitleProps } 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;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- import AntFormItem, { FormItemProps as AntFormItemProps } from "antd/es/form/FormItem";
3
- import { type HoverLabelProps } from "../HoverLabel";
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">;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { type FormProps as AntFormProps, type FormInstance } from "antd/es/form/Form";
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 "antd";
2
- import InternalForm, { type FormProps } from "./Form";
3
- import FormItem, { type FormItemProps } from "./Form.Item";
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
- /// <reference types="react" />
2
- import { InputRef } from "antd";
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';
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,8 +1,8 @@
1
- /// <reference types="react" />
2
- import { type SearchProps as AntSearchProps } from "antd/es/input/Search";
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("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<AntSearchProps & import("react").RefAttributes<import("rc-input").InputRef>, "ref"> & {
6
- ref?: ((instance: import("rc-input").InputRef | null) => void) | import("react").RefObject<import("rc-input").InputRef> | null | undefined;
7
- }, never>> & Omit<import("react").ForwardRefExoticComponent<AntSearchProps & import("react").RefAttributes<import("rc-input").InputRef>>, keyof import("react").Component<any, {}, any>>;
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
- /// <reference types="react" />
2
- import { type TextAreaProps as AntTextAreaProps } from "antd/es/input/TextArea";
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("styled-components").IStyledComponent<"web", import("styled-components/dist/types").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").RefObject<import("antd/es/input/TextArea").TextAreaRef> | null | undefined;
7
- }, never>> & Omit<import("react").ForwardRefExoticComponent<AntTextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>, keyof import("react").Component<any, {}, any>>;
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
- /// <reference types="react" />
2
- import { InputProps as AntInputProps } from "antd";
1
+ import { InputProps as AntInputProps } from 'antd';
2
+
3
3
  export interface InputProps extends AntInputProps {
4
4
  }
5
- declare const HtmlInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<AntInputProps & import("react").RefAttributes<import("antd").InputRef>, "ref"> & {
6
- ref?: ((instance: import("antd").InputRef | null) => void) | import("react").RefObject<import("antd").InputRef> | null | undefined;
7
- }, never>> & 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>>;
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 "antd";
2
- import InternalInput, { InputProps } from "./Input";
3
- import Password, { type PasswordProps } from "./Input.Password";
4
- import Search, { type SearchProps } from "./Input.Search";
5
- import TextArea, { type TextAreaProps } from "./Input.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;
@@ -1,7 +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";
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
+ 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;
@@ -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("react").ForwardRefExoticComponent<NavbarProps & import("react").RefAttributes<HTMLDivElement>>;
29
+ declare const Navbar: import('react').ForwardRefExoticComponent<NavbarProps & import('react').RefAttributes<HTMLDivElement>>;
31
30
  export default Navbar;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- export declare const HeaderTextBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>>;
3
- export declare const HeaderText: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("antd/es/typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
4
- ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
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>>;