если это пофиксит баг то бреюсь налысо

This commit is contained in:
OfficialDakari 2025-04-03 18:38:53 +05:00
parent 33be732d03
commit 29f130f748
24 changed files with 40 additions and 41 deletions

View File

@ -7,5 +7,5 @@ type AppBarProps = AriaProps & {
children?: React.ReactNode;
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 {};

View File

@ -1,4 +1,4 @@
import { default as React, CSSProperties, ReactNode } from 'react';
import { CSSProperties, ReactNode } from 'react';
import { AriaProps } from '../types/aria';
export type BoxProps = AriaProps & {
@ -23,4 +23,4 @@ export type BoxProps = AriaProps & {
id?: string;
className?: string;
};
export declare const Box: (props: BoxProps) => React.JSX.Element;
export declare const Box: (props: BoxProps) => import("react/jsx-runtime").JSX.Element;

View File

@ -21,5 +21,5 @@ type ButtonProps = AriaProps & {
style?: React.CSSProperties;
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 {};

View File

@ -27,5 +27,5 @@ type CheckboxProps = AriaProps & {
tabIndex?: number;
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 {};

View File

@ -4,7 +4,7 @@ import { AriaProps } from '../types/aria';
type ChipSetProps = AriaProps & {
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 & {
label?: string;
elevated?: boolean;
@ -13,7 +13,7 @@ type AssistChipProps = AriaProps & {
disabled?: 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 & {
elevated?: boolean;
removable?: boolean;
@ -23,7 +23,7 @@ type FilterChipProps = AriaProps & {
alwaysFocusable?: boolean;
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 & {
avatar?: boolean;
href?: string;
@ -34,5 +34,5 @@ type InputChipProps = AriaProps & {
alwaysFocusable?: boolean;
label: string;
};
export declare const InputChip: (props: InputChipProps) => React.JSX.Element;
export declare const InputChip: (props: InputChipProps) => import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -10,7 +10,7 @@ type CircularProgressProps = {
color?: 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 = {
buffer?: number;
value?: number;
@ -22,5 +22,5 @@ type LinearProgressProps = {
color?: 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 {};

View File

@ -18,26 +18,26 @@ type DialogProps = AriaProps & {
onCancel?: () => void;
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 & {
children: React.ReactNode;
style?: React.CSSProperties;
className?: 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 & {
children: React.ReactNode;
style?: React.CSSProperties;
className?: 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 & {
children: React.ReactNode;
style?: React.CSSProperties;
className?: 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 {};

View File

@ -8,5 +8,5 @@ type DividerProps = AriaProps & {
id?: 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 {};

View File

@ -22,5 +22,5 @@ type SelectProps = {
style?: React.CSSProperties;
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 {};

View File

@ -10,7 +10,7 @@ type FABProps = AriaProps & {
label?: string;
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 & {
children: React.ReactNode;
className?: string;
@ -20,5 +20,5 @@ type BrandedFABProps = AriaProps & {
label?: string;
lowered?: boolean;
};
export declare const BrandedFAB: (props: BrandedFABProps) => React.JSX.Element;
export declare const BrandedFAB: (props: BrandedFABProps) => import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -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;

View File

@ -23,5 +23,5 @@ type IconButtonProps = AriaProps & {
onInput?: (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 {};

View File

@ -11,5 +11,5 @@ type LinkProps = AriaProps & {
style?: React.CSSProperties;
color?: string;
};
export declare const Link: (props: LinkProps) => React.JSX.Element;
export declare const Link: (props: LinkProps) => import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -4,7 +4,7 @@ import { AriaProps } from '../types/aria';
type ListProps = AriaProps & {
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 & {
children: React.ReactNode;
className?: string;
@ -14,5 +14,5 @@ type ListItemProps = AriaProps & {
href?: string;
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 {};

View File

@ -21,7 +21,7 @@ type MenuProps = {
children?: React.ReactNode;
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 = {
children?: React.ReactNode;
className?: string;
@ -32,7 +32,7 @@ type SubMenuProps = {
hoverOpenDelay?: 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 = {
children?: React.ReactNode;
className?: string;
@ -45,5 +45,5 @@ type MenuItemProps = {
selected?: boolean;
onCloseMenu?: () => void;
};
export declare const MenuItem: (props: MenuItemProps) => React.JSX.Element;
export declare const MenuItem: (props: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -1,4 +1,3 @@
import { default as React } from 'react';
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;

View File

@ -16,5 +16,5 @@ type RadioProps = AriaProps & {
selectedIconColor?: 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 {};

View File

@ -34,5 +34,5 @@ type SliderProps = AriaProps & {
withTickMarks?: 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 {};

View File

@ -26,5 +26,5 @@ type SwitchProps = AriaProps & {
tabIndex?: number;
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 {};

View File

@ -21,6 +21,6 @@ type TabProps = AriaProps & {
variant?: 'primary' | 'secondary';
onClick?: (e: MouseEvent<MdPrimaryTabWebComponent | MdSecondaryTabWebComponent>) => void;
};
export declare const Tabs: (props: TabsProps) => React.JSX.Element;
export declare const Tab: (props: TabProps) => React.JSX.Element;
export declare const Tabs: (props: TabsProps) => import("react/jsx-runtime").JSX.Element;
export declare const Tab: (props: TabProps) => import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -13,5 +13,5 @@ type TypographyProps = AriaProps & {
size?: "small" | "medium" | "large" | "auto";
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 {};

View File

@ -3,5 +3,5 @@ import { default as React } from 'react';
export declare function SchemeProvider({ children, scheme }: {
children: React.ReactNode;
scheme: 'light' | 'dark';
}): React.JSX.Element;
}): import("react/jsx-runtime").JSX.Element;
export declare function useScheme(): "dark" | "light";

View File

@ -5,6 +5,6 @@ export declare function ThemeProvider({ children, theme, scheme }: {
children: React.ReactNode;
theme: Theme;
scheme: 'dark' | 'light';
}): React.JSX.Element;
}): import("react/jsx-runtime").JSX.Element;
export declare function useTheme(): Theme;
export declare function usePalette(): import('@material/material-color-utilities').Scheme;

View File

@ -1,7 +1,7 @@
{
"compilerOptions": {
"sourceMap": true,
"jsx": "react",
"jsx": "react-jsx",
"target": "ES2016",
"module": "ESNext",
"lib": [
@ -12,10 +12,10 @@
"allowJs": true,
"strict": true,
"esModuleInterop": true,
"moduleResolution": "bundler",
"moduleResolution": "node",
"resolveJsonModule": true,
"outDir": "dist",
"skipLibCheck": true,
"skipLibCheck": true
},
"exclude": [
"node_modules",