@web-fuse/wf-components 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,4 @@
1
1
  import { default as Title, DarkCardTitleProps } from './DarkCard.Title';
2
-
3
2
  export type DarkCardProps = React.PropsWithChildren<{
4
3
  title?: React.ReactNode;
5
4
  titleColor?: React.CSSProperties["color"];
@@ -1,5 +1,4 @@
1
1
  import { default as Title, LightCardTitleProps } from './LightCard.Title';
2
-
3
2
  export type LightCardProps = React.PropsWithChildren<{
4
3
  title?: React.ReactNode;
5
4
  style?: React.CSSProperties;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export interface CodeBlockCopyProps {
4
3
  showCopy?: boolean;
5
4
  copyConfig?: {
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  interface CodeBlockHeaderProps {
4
3
  filename?: string;
5
4
  heading?: React.ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  import * as codeThemes from "react-syntax-highlighter/dist/esm/styles/prism";
4
3
  import * as codeLanguages from "./languages";
5
4
  type ThemeName = keyof typeof codeThemes;
@@ -1,5 +1,4 @@
1
1
  import { CollapseBaseProps, CollapseRef } from './CollapseBase';
2
-
3
2
  type CssColor = React.CSSProperties["color"];
4
3
  export interface CollapseProps extends Omit<CollapseBaseProps, "style" | "header"> {
5
4
  title?: React.ReactNode;
@@ -1,7 +1,6 @@
1
1
  import { default as InternalCollapse } from './Collapse';
2
2
  import { default as CollapseBase } from './CollapseBase';
3
3
  import { default as CollapseContent } from './CollapseContent';
4
-
5
4
  export type { CollapseProps } from './Collapse';
6
5
  export type { CollapseBaseProps, CollapseRef } from './CollapseBase';
7
6
  export type { ContentProps } from './CollapseContent';
@@ -1,5 +1,4 @@
1
1
  import { SelectorClickHandler, SelectorItemGroup, SelectorRenderer } from './index';
2
-
3
2
  interface SelectorItemProps {
4
3
  item?: SelectorItemGroup;
5
4
  onClick?: SelectorClickHandler;
@@ -1,5 +1,4 @@
1
1
  import { SelectorClickHandler, SelectorItem, SelectorRenderer } from './index';
2
-
3
2
  interface SelectorSubItemProps {
4
3
  item?: SelectorItem;
5
4
  onClick?: SelectorClickHandler;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export interface SelectorItem {
4
3
  key: string;
5
4
  label: React.ReactNode;
@@ -1,6 +1,5 @@
1
1
  import { default as AntFormItem, FormItemProps as AntFormItemProps } from 'antd/es/form/FormItem';
2
2
  import { HoverLabelProps } from '../HoverLabel';
3
-
4
3
  type HoverTypeCustom = {
5
4
  type: "hover";
6
5
  } & Omit<HoverLabelProps, "name">;
@@ -1,5 +1,4 @@
1
1
  import { FormProps as AntFormProps, FormInstance } from 'antd/es/form/Form';
2
-
3
2
  export type FormProps<Values = any> = AntFormProps<Values> & {
4
3
  children: React.ReactNode;
5
4
  };
@@ -1,7 +1,6 @@
1
1
  import { Form as AntForm } from 'antd';
2
2
  import { default as InternalForm, FormProps } from './Form';
3
3
  import { default as FormItem, FormItemProps } from './Form.Item';
4
-
5
4
  type FormType = typeof InternalForm & {
6
5
  Item: typeof FormItem;
7
6
  List: typeof AntForm.List;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export interface HoverLabelProps {
4
3
  name?: string;
5
4
  size?: "small" | "middle" | "large";
@@ -1,6 +1,5 @@
1
1
  import { InputRef } from 'antd';
2
2
  import { PasswordProps as AntProps } from 'antd/es/input/Password';
3
-
4
3
  interface RandomizeOptions {
5
4
  charCount?: number;
6
5
  onRandomize?: (event: React.MouseEvent<HTMLSpanElement>) => void;
@@ -1,5 +1,4 @@
1
1
  import { SearchProps as AntSearchProps } from 'antd/es/input/Search';
2
-
3
2
  export interface SearchProps extends AntSearchProps {
4
3
  }
5
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"> & {
@@ -1,5 +1,4 @@
1
1
  import { TextAreaProps as AntTextAreaProps } from 'antd/es/input/TextArea';
2
-
3
2
  export interface TextAreaProps extends AntTextAreaProps {
4
3
  }
5
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"> & {
@@ -1,5 +1,4 @@
1
1
  import { InputProps as AntInputProps } from 'antd';
2
-
3
2
  export interface InputProps extends AntInputProps {
4
3
  }
5
4
  declare const HtmlInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<AntInputProps & import('react').RefAttributes<import('antd').InputRef>, "ref"> & {
@@ -3,7 +3,6 @@ import { default as InternalInput, InputProps } from './Input';
3
3
  import { default as Password, PasswordProps } from './Input.Password';
4
4
  import { default as Search, SearchProps } from './Input.Search';
5
5
  import { default as TextArea, TextAreaProps } from './Input.TextArea';
6
-
7
6
  type InputType = typeof InternalInput & {
8
7
  TextArea: typeof TextArea;
9
8
  Search: typeof Search;
@@ -1,5 +1,4 @@
1
1
  import { CollapseBaseProps } from '@/Display';
2
-
3
2
  interface MainSelectorBaseProps {
4
3
  title?: React.ReactNode;
5
4
  collapseOpen?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { FlexProps } from 'antd';
2
-
3
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;
4
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"> & {
5
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;
@@ -1,6 +1,5 @@
1
1
  import { default as MainSettings, SettingsFlex, SettingsPadding } from './MainSettings';
2
2
  import { default as MainSelector } from './MainSelector';
3
-
4
3
  interface MainBaseProps {
5
4
  overflow?: "scroll" | "visible";
6
5
  height?: "full" | "content";
@@ -1,5 +1,4 @@
1
1
  import { MenuGroupItem, MenuItem, NavbarRenderer } from './index';
2
-
3
2
  export type NavbarDropdownClickHandler = (e: React.MouseEvent<HTMLLIElement>, info?: {
4
3
  item: MenuItem | MenuGroupItem;
5
4
  key: string;
@@ -1,7 +1,6 @@
1
1
  import { ParagraphProps } from 'antd/es/typography/Paragraph';
2
2
  import { TitleProps } from 'antd/es/typography/Title';
3
3
  import { PropsWithChildren } from 'react';
4
-
5
4
  export type LoginContainer = React.FC<PropsWithChildren> & {
6
5
  Header: React.FC;
7
6
  Title: React.FC<TitleProps>;
@@ -1,5 +1,4 @@
1
1
  import { PropsWithChildren } from 'react';
2
-
3
2
  export type LoginPageBackgroundProps = {
4
3
  width?: React.CSSProperties["width"];
5
4
  height?: React.CSSProperties["height"];