если это пофиксит баг то бреюсь налысо
This commit is contained in:
parent
33be732d03
commit
29f130f748
|
|
@ -7,5 +7,5 @@ type AppBarProps = AriaProps & {
|
||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
};
|
};
|
||||||
export declare const AppBar: (props: AppBarProps) => React.JSX.Element;
|
export declare const AppBar: (props: AppBarProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { default as React, CSSProperties, ReactNode } from 'react';
|
import { CSSProperties, ReactNode } from 'react';
|
||||||
import { AriaProps } from '../types/aria';
|
import { AriaProps } from '../types/aria';
|
||||||
|
|
||||||
export type BoxProps = AriaProps & {
|
export type BoxProps = AriaProps & {
|
||||||
|
|
@ -23,4 +23,4 @@ export type BoxProps = AriaProps & {
|
||||||
id?: string;
|
id?: string;
|
||||||
className?: string;
|
className?: string;
|
||||||
};
|
};
|
||||||
export declare const Box: (props: BoxProps) => React.JSX.Element;
|
export declare const Box: (props: BoxProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
|
|
|
||||||
|
|
@ -21,5 +21,5 @@ type ButtonProps = AriaProps & {
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
id?: string;
|
id?: string;
|
||||||
};
|
};
|
||||||
export declare const Button: ({ variant, children, disabled, softDisabled, href, target, type, value, ...props }: ButtonProps) => React.JSX.Element;
|
export declare const Button: ({ variant, children, disabled, softDisabled, href, target, type, value, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -27,5 +27,5 @@ type CheckboxProps = AriaProps & {
|
||||||
tabIndex?: number;
|
tabIndex?: number;
|
||||||
name?: string;
|
name?: string;
|
||||||
};
|
};
|
||||||
export declare const Checkbox: ({ checked, indeterminate, id, disabled, hidden, ariaLabel, ariaLabelledBy, ariaDescribedBy, ariaControls, required, onInput, onChange, onClick, onMouseDown, onMouseUp, onMouseEnter, onFocus, onBlur, className, style, tabIndex, name, ...props }: CheckboxProps) => React.JSX.Element;
|
export declare const Checkbox: ({ checked, indeterminate, id, disabled, hidden, ariaLabel, ariaLabelledBy, ariaDescribedBy, ariaControls, required, onInput, onChange, onClick, onMouseDown, onMouseUp, onMouseEnter, onFocus, onBlur, className, style, tabIndex, name, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { AriaProps } from '../types/aria';
|
||||||
type ChipSetProps = AriaProps & {
|
type ChipSetProps = AriaProps & {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
};
|
};
|
||||||
export declare const ChipSet: (props: ChipSetProps) => React.JSX.Element;
|
export declare const ChipSet: (props: ChipSetProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type AssistChipProps = AriaProps & {
|
type AssistChipProps = AriaProps & {
|
||||||
label?: string;
|
label?: string;
|
||||||
elevated?: boolean;
|
elevated?: boolean;
|
||||||
|
|
@ -13,7 +13,7 @@ type AssistChipProps = AriaProps & {
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
alwaysFocusable?: boolean;
|
alwaysFocusable?: boolean;
|
||||||
};
|
};
|
||||||
export declare const AssistChip: (props: AssistChipProps) => React.JSX.Element;
|
export declare const AssistChip: (props: AssistChipProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type FilterChipProps = AriaProps & {
|
type FilterChipProps = AriaProps & {
|
||||||
elevated?: boolean;
|
elevated?: boolean;
|
||||||
removable?: boolean;
|
removable?: boolean;
|
||||||
|
|
@ -23,7 +23,7 @@ type FilterChipProps = AriaProps & {
|
||||||
alwaysFocusable?: boolean;
|
alwaysFocusable?: boolean;
|
||||||
label: string;
|
label: string;
|
||||||
};
|
};
|
||||||
export declare const FilterChip: (props: FilterChipProps) => React.JSX.Element;
|
export declare const FilterChip: (props: FilterChipProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type InputChipProps = AriaProps & {
|
type InputChipProps = AriaProps & {
|
||||||
avatar?: boolean;
|
avatar?: boolean;
|
||||||
href?: string;
|
href?: string;
|
||||||
|
|
@ -34,5 +34,5 @@ type InputChipProps = AriaProps & {
|
||||||
alwaysFocusable?: boolean;
|
alwaysFocusable?: boolean;
|
||||||
label: string;
|
label: string;
|
||||||
};
|
};
|
||||||
export declare const InputChip: (props: InputChipProps) => React.JSX.Element;
|
export declare const InputChip: (props: InputChipProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ type CircularProgressProps = {
|
||||||
color?: string;
|
color?: string;
|
||||||
size?: string;
|
size?: string;
|
||||||
};
|
};
|
||||||
export declare const CircularProgress: (props: CircularProgressProps) => React.JSX.Element;
|
export declare const CircularProgress: (props: CircularProgressProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type LinearProgressProps = {
|
type LinearProgressProps = {
|
||||||
buffer?: number;
|
buffer?: number;
|
||||||
value?: number;
|
value?: number;
|
||||||
|
|
@ -22,5 +22,5 @@ type LinearProgressProps = {
|
||||||
color?: string;
|
color?: string;
|
||||||
size?: string;
|
size?: string;
|
||||||
};
|
};
|
||||||
export declare const LinearProgress: (props: LinearProgressProps) => React.JSX.Element;
|
export declare const LinearProgress: (props: LinearProgressProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -18,26 +18,26 @@ type DialogProps = AriaProps & {
|
||||||
onCancel?: () => void;
|
onCancel?: () => void;
|
||||||
fullScreen?: boolean;
|
fullScreen?: boolean;
|
||||||
};
|
};
|
||||||
export declare const Dialog: (props: DialogProps) => React.JSX.Element;
|
export declare const Dialog: (props: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type DialogTitleProps = AriaProps & {
|
type DialogTitleProps = AriaProps & {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
className?: string;
|
className?: string;
|
||||||
id?: string;
|
id?: string;
|
||||||
};
|
};
|
||||||
export declare const DialogTitle: (props: DialogTitleProps) => React.JSX.Element;
|
export declare const DialogTitle: (props: DialogTitleProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type DialogContentProps = AriaProps & {
|
type DialogContentProps = AriaProps & {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
className?: string;
|
className?: string;
|
||||||
id?: string;
|
id?: string;
|
||||||
};
|
};
|
||||||
export declare const DialogContent: (props: DialogContentProps) => React.JSX.Element;
|
export declare const DialogContent: (props: DialogContentProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type DialogActionsProps = AriaProps & {
|
type DialogActionsProps = AriaProps & {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
className?: string;
|
className?: string;
|
||||||
id?: string;
|
id?: string;
|
||||||
};
|
};
|
||||||
export declare const DialogActions: (props: DialogActionsProps) => React.JSX.Element;
|
export declare const DialogActions: (props: DialogActionsProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,5 @@ type DividerProps = AriaProps & {
|
||||||
id?: string;
|
id?: string;
|
||||||
color?: string;
|
color?: string;
|
||||||
};
|
};
|
||||||
export declare const Divider: ({ orientation, className, style, color, ...props }: DividerProps) => React.JSX.Element;
|
export declare const Divider: ({ orientation, className, style, color, ...props }: DividerProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -22,5 +22,5 @@ type SelectProps = {
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
};
|
};
|
||||||
export declare const Select: (props: SelectProps) => React.JSX.Element;
|
export declare const Select: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ type FABProps = AriaProps & {
|
||||||
label?: string;
|
label?: string;
|
||||||
lowered?: boolean;
|
lowered?: boolean;
|
||||||
};
|
};
|
||||||
export declare const FAB: (props: FABProps) => React.JSX.Element;
|
export declare const FAB: (props: FABProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type BrandedFABProps = AriaProps & {
|
type BrandedFABProps = AriaProps & {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
className?: string;
|
className?: string;
|
||||||
|
|
@ -20,5 +20,5 @@ type BrandedFABProps = AriaProps & {
|
||||||
label?: string;
|
label?: string;
|
||||||
lowered?: boolean;
|
lowered?: boolean;
|
||||||
};
|
};
|
||||||
export declare const BrandedFAB: (props: BrandedFABProps) => React.JSX.Element;
|
export declare const BrandedFAB: (props: BrandedFABProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
import { default as React, LabelHTMLAttributes } from 'react';
|
import { LabelHTMLAttributes } from 'react';
|
||||||
|
|
||||||
export declare const FormLabel: (props: LabelHTMLAttributes<HTMLLabelElement>) => React.JSX.Element;
|
export declare const FormLabel: (props: LabelHTMLAttributes<HTMLLabelElement>) => import("react/jsx-runtime").JSX.Element;
|
||||||
|
|
|
||||||
|
|
@ -23,5 +23,5 @@ type IconButtonProps = AriaProps & {
|
||||||
onInput?: (event: Event) => void;
|
onInput?: (event: Event) => void;
|
||||||
onClick?: (event: Event) => void;
|
onClick?: (event: Event) => void;
|
||||||
};
|
};
|
||||||
export declare const IconButton: (props: IconButtonProps) => React.JSX.Element;
|
export declare const IconButton: (props: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -11,5 +11,5 @@ type LinkProps = AriaProps & {
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
color?: string;
|
color?: string;
|
||||||
};
|
};
|
||||||
export declare const Link: (props: LinkProps) => React.JSX.Element;
|
export declare const Link: (props: LinkProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { AriaProps } from '../types/aria';
|
||||||
type ListProps = AriaProps & {
|
type ListProps = AriaProps & {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
};
|
};
|
||||||
export declare const List: (props: ListProps) => React.JSX.Element;
|
export declare const List: (props: ListProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type ListItemProps = AriaProps & {
|
type ListItemProps = AriaProps & {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
className?: string;
|
className?: string;
|
||||||
|
|
@ -14,5 +14,5 @@ type ListItemProps = AriaProps & {
|
||||||
href?: string;
|
href?: string;
|
||||||
target?: '_blank' | '_self' | '_parent' | '_top';
|
target?: '_blank' | '_self' | '_parent' | '_top';
|
||||||
};
|
};
|
||||||
export declare const ListItem: (props: ListItemProps) => React.JSX.Element;
|
export declare const ListItem: (props: ListItemProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ type MenuProps = {
|
||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
id?: string;
|
id?: string;
|
||||||
};
|
};
|
||||||
export declare const Menu: (props: MenuProps) => React.JSX.Element;
|
export declare const Menu: (props: MenuProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type SubMenuProps = {
|
type SubMenuProps = {
|
||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
className?: string;
|
className?: string;
|
||||||
|
|
@ -32,7 +32,7 @@ type SubMenuProps = {
|
||||||
hoverOpenDelay?: number;
|
hoverOpenDelay?: number;
|
||||||
hoverCloseDelay?: number;
|
hoverCloseDelay?: number;
|
||||||
};
|
};
|
||||||
export declare const SubMenu: (props: SubMenuProps) => React.JSX.Element;
|
export declare const SubMenu: (props: SubMenuProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
type MenuItemProps = {
|
type MenuItemProps = {
|
||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
className?: string;
|
className?: string;
|
||||||
|
|
@ -45,5 +45,5 @@ type MenuItemProps = {
|
||||||
selected?: boolean;
|
selected?: boolean;
|
||||||
onCloseMenu?: () => void;
|
onCloseMenu?: () => void;
|
||||||
};
|
};
|
||||||
export declare const MenuItem: (props: MenuItemProps) => React.JSX.Element;
|
export declare const MenuItem: (props: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
import { default as React } from 'react';
|
|
||||||
import { BoxProps } from './Box';
|
import { BoxProps } from './Box';
|
||||||
|
|
||||||
export declare const Paper: ({ children, style, ...props }: BoxProps) => React.JSX.Element;
|
export declare const Paper: ({ children, style, ...props }: BoxProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
|
|
|
||||||
|
|
@ -16,5 +16,5 @@ type RadioProps = AriaProps & {
|
||||||
selectedIconColor?: string;
|
selectedIconColor?: string;
|
||||||
iconSize?: string;
|
iconSize?: string;
|
||||||
};
|
};
|
||||||
export declare const Radio: (props: RadioProps) => React.JSX.Element;
|
export declare const Radio: (props: RadioProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -34,5 +34,5 @@ type SliderProps = AriaProps & {
|
||||||
withTickMarks?: boolean;
|
withTickMarks?: boolean;
|
||||||
withTicks?: boolean;
|
withTicks?: boolean;
|
||||||
};
|
};
|
||||||
export declare const Slider: ({ className, id, style, ...rest }: SliderProps) => React.JSX.Element;
|
export declare const Slider: ({ className, id, style, ...rest }: SliderProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -26,5 +26,5 @@ type SwitchProps = AriaProps & {
|
||||||
tabIndex?: number;
|
tabIndex?: number;
|
||||||
name?: string;
|
name?: string;
|
||||||
};
|
};
|
||||||
export declare const Switch: ({ checked, id, disabled, hidden, ariaLabel, ariaLabelledBy, ariaDescribedBy, ariaControls, required, onInput, onChange, onClick, onMouseDown, onMouseUp, onMouseEnter, onFocus, onBlur, className, style, tabIndex, name, ...props }: SwitchProps) => React.JSX.Element;
|
export declare const Switch: ({ checked, id, disabled, hidden, ariaLabel, ariaLabelledBy, ariaDescribedBy, ariaControls, required, onInput, onChange, onClick, onMouseDown, onMouseUp, onMouseEnter, onFocus, onBlur, className, style, tabIndex, name, ...props }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,6 @@ type TabProps = AriaProps & {
|
||||||
variant?: 'primary' | 'secondary';
|
variant?: 'primary' | 'secondary';
|
||||||
onClick?: (e: MouseEvent<MdPrimaryTabWebComponent | MdSecondaryTabWebComponent>) => void;
|
onClick?: (e: MouseEvent<MdPrimaryTabWebComponent | MdSecondaryTabWebComponent>) => void;
|
||||||
};
|
};
|
||||||
export declare const Tabs: (props: TabsProps) => React.JSX.Element;
|
export declare const Tabs: (props: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export declare const Tab: (props: TabProps) => React.JSX.Element;
|
export declare const Tab: (props: TabProps) => import("react/jsx-runtime").JSX.Element;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -13,5 +13,5 @@ type TypographyProps = AriaProps & {
|
||||||
size?: "small" | "medium" | "large" | "auto";
|
size?: "small" | "medium" | "large" | "auto";
|
||||||
htmlFor?: string;
|
htmlFor?: string;
|
||||||
};
|
};
|
||||||
export declare const Typography: ({ children, variant, className, color, align, style, noWrap, id, size, htmlFor }: TypographyProps) => React.JSX.Element | null;
|
export declare const Typography: ({ children, variant, className, color, align, style, noWrap, id, size, htmlFor }: TypographyProps) => import("react/jsx-runtime").JSX.Element | null;
|
||||||
export {};
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ import { default as React } from 'react';
|
||||||
export declare function SchemeProvider({ children, scheme }: {
|
export declare function SchemeProvider({ children, scheme }: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
scheme: 'light' | 'dark';
|
scheme: 'light' | 'dark';
|
||||||
}): React.JSX.Element;
|
}): import("react/jsx-runtime").JSX.Element;
|
||||||
export declare function useScheme(): "dark" | "light";
|
export declare function useScheme(): "dark" | "light";
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@ export declare function ThemeProvider({ children, theme, scheme }: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
theme: Theme;
|
theme: Theme;
|
||||||
scheme: 'dark' | 'light';
|
scheme: 'dark' | 'light';
|
||||||
}): React.JSX.Element;
|
}): import("react/jsx-runtime").JSX.Element;
|
||||||
export declare function useTheme(): Theme;
|
export declare function useTheme(): Theme;
|
||||||
export declare function usePalette(): import('@material/material-color-utilities').Scheme;
|
export declare function usePalette(): import('@material/material-color-utilities').Scheme;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"jsx": "react",
|
"jsx": "react-jsx",
|
||||||
"target": "ES2016",
|
"target": "ES2016",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"lib": [
|
"lib": [
|
||||||
|
|
@ -12,10 +12,10 @@
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "node",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue