@muffled-ui/react 1.0.23 → 1.1.0
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.
- package/dist/index.d.mts +52 -39
- package/dist/index.d.ts +52 -39
- package/dist/index.js +1494 -1549
- package/dist/index.mjs +1390 -1472
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import * as styled_components from 'styled-components';
|
|
2
|
-
import { StyledComponent, DefaultTheme } from 'styled-components';
|
|
3
|
-
import { LayoutProps, SpaceProps, ColorProps, BoxShadowProps, BorderProps, OrderProps, GridProps, FlexboxProps, PositionProps, TypographyProps } from 'styled-system';
|
|
4
1
|
import * as react from 'react';
|
|
5
|
-
import { ReactElement } from 'react';
|
|
2
|
+
import react__default, { ReactElement } from 'react';
|
|
3
|
+
import { LayoutProps, SpaceProps, SizingProps, BackgroundsProps, ColorProps, BoxShadowProps, BordersProps, OrderProps, GridsProps, FlexboxesProps, PositionProps, TypographyProps, EffectsProps, AnimationProps, ZIndexProps, CursorProps, FontSizeProps, LineHeightProps, OpacityProps } from '@xstyled/styled-components';
|
|
6
4
|
import { Placement } from '@popperjs/core';
|
|
7
5
|
import { ReactDatePickerProps } from 'react-datepicker';
|
|
8
6
|
import { DownshiftProps, DownshiftState, StateChangeOptions, ControllerStateAndHelpers } from 'downshift';
|
|
@@ -47,9 +45,11 @@ declare const Badge: React.FC<BadgeProps>;
|
|
|
47
45
|
type ChipProps = {
|
|
48
46
|
destructive?: boolean;
|
|
49
47
|
} & WithChildren$1;
|
|
50
|
-
|
|
51
|
-
destructive?: boolean
|
|
52
|
-
|
|
48
|
+
type ContainerProps = {
|
|
49
|
+
destructive?: boolean;
|
|
50
|
+
children: React.ReactNode;
|
|
51
|
+
};
|
|
52
|
+
declare const Container: React.FC<ContainerProps>;
|
|
53
53
|
declare const Chip: React.FC<ChipProps>;
|
|
54
54
|
|
|
55
55
|
type SyntaxHighlighterProps = {
|
|
@@ -95,7 +95,7 @@ declare const LinearProgress: React.FC<LinearProgressProps>;
|
|
|
95
95
|
|
|
96
96
|
type SkeletonProps = {
|
|
97
97
|
variant?: 'text' | 'rectangle' | 'circle';
|
|
98
|
-
} & LayoutProps & SpaceProps;
|
|
98
|
+
} & LayoutProps & SpaceProps & SizingProps;
|
|
99
99
|
declare const Skeleton: React.FC<SkeletonProps>;
|
|
100
100
|
|
|
101
101
|
declare const SnackbarProvider: React.FC<SnackbarProviderProps>;
|
|
@@ -165,22 +165,27 @@ type AccordionSummaryProps = {
|
|
|
165
165
|
} & WithChildren$1;
|
|
166
166
|
declare const AccordionSummary: React.FC<AccordionSummaryProps>;
|
|
167
167
|
|
|
168
|
-
declare const AccordionDetail:
|
|
169
|
-
|
|
168
|
+
declare const AccordionDetail: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
169
|
+
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
170
|
+
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
171
|
+
declare const DetailsGrouping: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
172
|
+
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
173
|
+
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
170
174
|
|
|
171
|
-
type BoxProps = ColorProps & SpaceProps & LayoutProps & BoxShadowProps &
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
declare const Box:
|
|
175
|
+
type BoxProps = BackgroundsProps & SizingProps & ColorProps & SpaceProps & LayoutProps & BoxShadowProps & BordersProps & OrderProps & GridsProps & FlexboxesProps & PositionProps & TypographyProps & EffectsProps & AnimationProps & {
|
|
176
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
177
|
+
as?: AsProp;
|
|
178
|
+
} & React.ComponentPropsWithRef<'div'>;
|
|
179
|
+
declare const Box: react.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
176
180
|
|
|
177
181
|
type CardProps = {
|
|
178
182
|
children: React.ReactNode;
|
|
179
183
|
style?: React.CSSProperties;
|
|
180
|
-
} & LayoutProps &
|
|
181
|
-
declare const Card:
|
|
184
|
+
} & LayoutProps & SizingProps & FlexboxesProps & SpaceProps & ColorProps & React.ComponentPropsWithRef<'div'>;
|
|
185
|
+
declare const Card: react.ForwardRefExoticComponent<Omit<CardProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
182
186
|
|
|
183
|
-
|
|
187
|
+
type CardContentProps = SpaceProps & BordersProps & React.ComponentPropsWithRef<'div'>;
|
|
188
|
+
declare const CardContent: react.ForwardRefExoticComponent<Omit<CardContentProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
184
189
|
|
|
185
190
|
type MediaComponent = 'video' | 'audio' | 'picture' | 'iframe' | 'img' | 'div';
|
|
186
191
|
type CardMediaProps = {
|
|
@@ -190,21 +195,23 @@ type CardMediaProps = {
|
|
|
190
195
|
src?: string;
|
|
191
196
|
alt?: string;
|
|
192
197
|
fallback?: React.ReactNode;
|
|
193
|
-
} & WithChildren$1 & LayoutProps;
|
|
198
|
+
} & WithChildren$1 & LayoutProps & SizingProps;
|
|
194
199
|
declare const CardMedia: React.FC<CardMediaProps>;
|
|
195
200
|
|
|
196
201
|
type ImageProps = {
|
|
197
202
|
fallback?: React.ReactNode;
|
|
198
|
-
} & React.ComponentPropsWithoutRef<'img'> &
|
|
203
|
+
} & React.ComponentPropsWithoutRef<'img'> & FlexboxesProps & GridsProps & LayoutProps & OrderProps & PositionProps & SpaceProps & SizingProps & BordersProps & BackgroundsProps;
|
|
199
204
|
declare const ImageComp: React.FC<ImageProps>;
|
|
200
205
|
|
|
201
|
-
|
|
206
|
+
type ListProps = React.ComponentPropsWithRef<'ul'> & SizingProps & SpaceProps & BordersProps & EffectsProps & BackgroundsProps & PositionProps & ZIndexProps;
|
|
207
|
+
declare const List: React.FC<ListProps>;
|
|
202
208
|
|
|
203
|
-
|
|
209
|
+
type ListItemProps = React.ComponentPropsWithRef<'li'> & BackgroundsProps & SpaceProps & CursorProps & FontSizeProps & LineHeightProps & BordersProps;
|
|
210
|
+
declare const ListItem: React.FC<ListItemProps>;
|
|
204
211
|
|
|
205
|
-
declare const OrderedList:
|
|
212
|
+
declare const OrderedList: React.FC<React.ComponentPropsWithRef<'ol'>>;
|
|
206
213
|
|
|
207
|
-
declare const UnorderedList:
|
|
214
|
+
declare const UnorderedList: React.FC<React.ComponentPropsWithRef<'ul'>>;
|
|
208
215
|
|
|
209
216
|
type PaginationProps = {
|
|
210
217
|
limit: number;
|
|
@@ -216,7 +223,7 @@ type PaginationProps = {
|
|
|
216
223
|
};
|
|
217
224
|
declare const Pagination: React.FC<PaginationProps>;
|
|
218
225
|
|
|
219
|
-
declare const Panel:
|
|
226
|
+
declare const Panel: react.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
220
227
|
|
|
221
228
|
type TableProps = {
|
|
222
229
|
containerClasses?: string;
|
|
@@ -224,15 +231,19 @@ type TableProps = {
|
|
|
224
231
|
} & React.ComponentPropsWithRef<'table'>;
|
|
225
232
|
declare const Table: react.ForwardRefExoticComponent<Omit<TableProps, "ref"> & react.RefAttributes<HTMLTableElement>>;
|
|
226
233
|
|
|
227
|
-
declare const TableBody:
|
|
234
|
+
declare const TableBody: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
|
|
235
|
+
ref?: ((instance: HTMLTableSectionElement | null) => void) | react.RefObject<HTMLTableSectionElement> | null | undefined;
|
|
236
|
+
}, "ref"> & react.RefAttributes<HTMLTableSectionElement>>;
|
|
228
237
|
|
|
229
|
-
declare const TableCell:
|
|
238
|
+
declare const TableCell: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & {
|
|
239
|
+
ref?: ((instance: HTMLTableDataCellElement | null) => void) | react.RefObject<HTMLTableDataCellElement> | null | undefined;
|
|
240
|
+
}, "ref"> & react.RefAttributes<HTMLTableCellElement>>;
|
|
230
241
|
|
|
231
242
|
type TableRowProps = {
|
|
232
243
|
active?: boolean;
|
|
233
244
|
onClick?: (event: React.MouseEvent) => void;
|
|
234
245
|
} & React.ComponentPropsWithRef<'tr'>;
|
|
235
|
-
declare const TableRow:
|
|
246
|
+
declare const TableRow: react.ForwardRefExoticComponent<Omit<TableRowProps, "ref"> & react.RefAttributes<HTMLTableRowElement>>;
|
|
236
247
|
|
|
237
248
|
type TableHeadProps = {
|
|
238
249
|
headers?: string[];
|
|
@@ -242,18 +253,21 @@ declare const TableHead: react.ForwardRefExoticComponent<Omit<TableHeadProps, "r
|
|
|
242
253
|
|
|
243
254
|
type TextProps = {
|
|
244
255
|
mono?: boolean;
|
|
245
|
-
|
|
246
|
-
|
|
256
|
+
as?: AsProp;
|
|
257
|
+
} & ColorProps & TypographyProps & OpacityProps & WithChildren$1 & SizingProps;
|
|
258
|
+
declare const Text: React.FC<TextProps>;
|
|
247
259
|
|
|
248
260
|
type HeadingProps = {
|
|
249
|
-
children?:
|
|
261
|
+
children?: react__default.ReactNode;
|
|
262
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
263
|
+
color?: string;
|
|
250
264
|
} & ColorProps & TypographyProps & LayoutProps;
|
|
251
|
-
declare const Title:
|
|
265
|
+
declare const Title: react__default.FC<HeadingProps>;
|
|
252
266
|
|
|
253
267
|
type BaseButtonProps = {
|
|
254
268
|
type?: 'button' | 'reset' | 'submit';
|
|
255
269
|
as?: AsProp;
|
|
256
|
-
} &
|
|
270
|
+
} & EffectsProps & LayoutProps & BordersProps & PositionProps & ColorProps & SpaceProps & TypographyProps & FlexboxesProps & BoxShadowProps & BackgroundsProps & SizingProps & Omit<React.ComponentPropsWithoutRef<'button'>, 'Color'>;
|
|
257
271
|
|
|
258
272
|
type ButtonProps = {
|
|
259
273
|
active?: boolean;
|
|
@@ -375,7 +389,8 @@ declare const SimpleSelect: React.FC<SimpleSelectProps>;
|
|
|
375
389
|
type SwitchProps = React.ComponentPropsWithRef<'input'>;
|
|
376
390
|
declare const Switch: React.FC<SwitchProps>;
|
|
377
391
|
|
|
378
|
-
|
|
392
|
+
type TextAreaProps = ColorProps & SpaceProps & LayoutProps & BoxShadowProps & BordersProps & TypographyProps & SizingProps & React.ComponentPropsWithRef<'textarea'>;
|
|
393
|
+
declare const TextArea: react.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & react.RefAttributes<HTMLTextAreaElement>>;
|
|
379
394
|
|
|
380
395
|
declare const InputGroup: React.FC<WithChildren$1>;
|
|
381
396
|
|
|
@@ -454,7 +469,7 @@ type MenuProps = {
|
|
|
454
469
|
itemRef: Element | null;
|
|
455
470
|
handleClose: () => void;
|
|
456
471
|
inline?: boolean;
|
|
457
|
-
} & WithChildren$1;
|
|
472
|
+
} & WithChildren$1 & SizingProps;
|
|
458
473
|
declare const Menu: React.FC<MenuProps>;
|
|
459
474
|
|
|
460
475
|
type MenuItemProps = {
|
|
@@ -686,8 +701,6 @@ declare const MuffledUI: React.FC<ThemeProviderProps>;
|
|
|
686
701
|
declare const ThemeSwitch: React.FC;
|
|
687
702
|
declare const ThemeButton: React.FC;
|
|
688
703
|
|
|
689
|
-
declare const GlobalStyles:
|
|
690
|
-
theme: ColorTheme;
|
|
691
|
-
}, styled_components.DefaultTheme>;
|
|
704
|
+
declare const GlobalStyles: any;
|
|
692
705
|
|
|
693
|
-
export { Accordion, AccordionDetail, type AccordionProps, AccordionSummary, Alert, type AlertProps, Backdrop, Badge, type BadgeProps, BasePicker, type BasePickerProps, BaseUploader, type BaseUploaderProps, Box, type BoxProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, CardContent, CardMedia, type CardMediaProps, type CardProps, CenteredWidget, Checkbox, type CheckboxPrpos, Chip, type ChipProps, CircleLoader, type CircleLoaderProps, CircleProgress, type CircleProgressProps, ClickOutside, type ClickOutsideProps, ClickableElement, type ClickableElementProps, Collapse, type CollapseProps, Container, DarkTheme, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DestructiveButton, type DestructiveButtonProps, DetailsGrouping, Drawer, type DrawerProps, Fade, type FadeProps, GlobalStyles, Grow, type GrowProps, type HeadingProps, ImageComp, type ImageProps, Input, InputGroup, type InputProps, Label, type LabelProps, LightTheme, LinearLoader, type LinearLoaderProps, LinearProgress, type LinearProgressProps, LinearSlide, type LinearSlideProps, List, ListItem, Menu, MenuItem, type MenuItemProps, type MenuProps, Modal, type ModalProps, MuffledUI, NumberField, type NumberFieldProps, Open, type OpenProps, OrderedList, OutlineButton, type OutlineButtonProps, Pagination, type PaginationProps, Panel, Password, type PasswordProps, Portal, type PortalProps, PrimaryButton, type PrimaryButtonProps, type ProvidedTheme, Radio, RadioIcon, type RadioPrpos, Scrollable, SecondaryButton, type SecondaryButtonProps, Select, SelectButton, type SelectButtonProps, SelectContext, SelectFilter, type SelectFilterProps, SelectItem, type SelectItemProps, SelectList, type SelectProps, SettingsContext, type SettingsCtx, SimpleSelect, type SimpleSelectProps, Skeleton, type SkeletonProps, Slide, type SlideProps, SnackbarContext, SnackbarItem, type SnackbarItemProps, SnackbarProvider, StepIcon, type StepIconProps, StepLabel, type StepLabelProps, Stepper, StepperContext, type StepperProps, Switch, type SwitchProps, SyntaxHighlighter, type SyntaxHighlighterProps, type TTheme, TabItem, type TabItemProps, TabItems, type TabItemsProps, TabPane, TabPaneList, type TabPaneListProps, type TabPaneProps$1 as TabPaneProps, Table, TableBody, TableCell, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, Text, TextArea, type TextProps, ThemeButton, type ThemeProviderProps, ThemeSwitch, ThreeColumns, type ThreeColumnsProps, Title, Tooltip, type TooltipProps, TwoColumns, type TwoColumnsProps, UnorderedList, UploadButton, type UploadButtonProps, UploadZone, type UploadZoneProps, clearInputOnSelectItem, stopPropagation, useMuffledSettings, useSelectContext, useSnackbar, useStepperContext };
|
|
706
|
+
export { Accordion, AccordionDetail, type AccordionProps, AccordionSummary, Alert, type AlertProps, Backdrop, Badge, type BadgeProps, BasePicker, type BasePickerProps, BaseUploader, type BaseUploaderProps, Box, type BoxProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, CardContent, type CardContentProps, CardMedia, type CardMediaProps, type CardProps, CenteredWidget, Checkbox, type CheckboxPrpos, Chip, type ChipProps, CircleLoader, type CircleLoaderProps, CircleProgress, type CircleProgressProps, ClickOutside, type ClickOutsideProps, ClickableElement, type ClickableElementProps, Collapse, type CollapseProps, Container, DarkTheme, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DestructiveButton, type DestructiveButtonProps, DetailsGrouping, Drawer, type DrawerProps, Fade, type FadeProps, GlobalStyles, Grow, type GrowProps, type HeadingProps, ImageComp, type ImageProps, Input, InputGroup, type InputProps, Label, type LabelProps, LightTheme, LinearLoader, type LinearLoaderProps, LinearProgress, type LinearProgressProps, LinearSlide, type LinearSlideProps, List, ListItem, Menu, MenuItem, type MenuItemProps, type MenuProps, Modal, type ModalProps, MuffledUI, NumberField, type NumberFieldProps, Open, type OpenProps, OrderedList, OutlineButton, type OutlineButtonProps, Pagination, type PaginationProps, Panel, Password, type PasswordProps, Portal, type PortalProps, PrimaryButton, type PrimaryButtonProps, type ProvidedTheme, Radio, RadioIcon, type RadioPrpos, Scrollable, SecondaryButton, type SecondaryButtonProps, Select, SelectButton, type SelectButtonProps, SelectContext, SelectFilter, type SelectFilterProps, SelectItem, type SelectItemProps, SelectList, type SelectProps, SettingsContext, type SettingsCtx, SimpleSelect, type SimpleSelectProps, Skeleton, type SkeletonProps, Slide, type SlideProps, SnackbarContext, SnackbarItem, type SnackbarItemProps, SnackbarProvider, StepIcon, type StepIconProps, StepLabel, type StepLabelProps, Stepper, StepperContext, type StepperProps, Switch, type SwitchProps, SyntaxHighlighter, type SyntaxHighlighterProps, type TTheme, TabItem, type TabItemProps, TabItems, type TabItemsProps, TabPane, TabPaneList, type TabPaneListProps, type TabPaneProps$1 as TabPaneProps, Table, TableBody, TableCell, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, Text, TextArea, type TextAreaProps, type TextProps, ThemeButton, type ThemeProviderProps, ThemeSwitch, ThreeColumns, type ThreeColumnsProps, Title, Tooltip, type TooltipProps, TwoColumns, type TwoColumnsProps, UnorderedList, UploadButton, type UploadButtonProps, UploadZone, type UploadZoneProps, clearInputOnSelectItem, stopPropagation, useMuffledSettings, useSelectContext, useSnackbar, useStepperContext };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import * as styled_components from 'styled-components';
|
|
2
|
-
import { StyledComponent, DefaultTheme } from 'styled-components';
|
|
3
|
-
import { LayoutProps, SpaceProps, ColorProps, BoxShadowProps, BorderProps, OrderProps, GridProps, FlexboxProps, PositionProps, TypographyProps } from 'styled-system';
|
|
4
1
|
import * as react from 'react';
|
|
5
|
-
import { ReactElement } from 'react';
|
|
2
|
+
import react__default, { ReactElement } from 'react';
|
|
3
|
+
import { LayoutProps, SpaceProps, SizingProps, BackgroundsProps, ColorProps, BoxShadowProps, BordersProps, OrderProps, GridsProps, FlexboxesProps, PositionProps, TypographyProps, EffectsProps, AnimationProps, ZIndexProps, CursorProps, FontSizeProps, LineHeightProps, OpacityProps } from '@xstyled/styled-components';
|
|
6
4
|
import { Placement } from '@popperjs/core';
|
|
7
5
|
import { ReactDatePickerProps } from 'react-datepicker';
|
|
8
6
|
import { DownshiftProps, DownshiftState, StateChangeOptions, ControllerStateAndHelpers } from 'downshift';
|
|
@@ -47,9 +45,11 @@ declare const Badge: React.FC<BadgeProps>;
|
|
|
47
45
|
type ChipProps = {
|
|
48
46
|
destructive?: boolean;
|
|
49
47
|
} & WithChildren$1;
|
|
50
|
-
|
|
51
|
-
destructive?: boolean
|
|
52
|
-
|
|
48
|
+
type ContainerProps = {
|
|
49
|
+
destructive?: boolean;
|
|
50
|
+
children: React.ReactNode;
|
|
51
|
+
};
|
|
52
|
+
declare const Container: React.FC<ContainerProps>;
|
|
53
53
|
declare const Chip: React.FC<ChipProps>;
|
|
54
54
|
|
|
55
55
|
type SyntaxHighlighterProps = {
|
|
@@ -95,7 +95,7 @@ declare const LinearProgress: React.FC<LinearProgressProps>;
|
|
|
95
95
|
|
|
96
96
|
type SkeletonProps = {
|
|
97
97
|
variant?: 'text' | 'rectangle' | 'circle';
|
|
98
|
-
} & LayoutProps & SpaceProps;
|
|
98
|
+
} & LayoutProps & SpaceProps & SizingProps;
|
|
99
99
|
declare const Skeleton: React.FC<SkeletonProps>;
|
|
100
100
|
|
|
101
101
|
declare const SnackbarProvider: React.FC<SnackbarProviderProps>;
|
|
@@ -165,22 +165,27 @@ type AccordionSummaryProps = {
|
|
|
165
165
|
} & WithChildren$1;
|
|
166
166
|
declare const AccordionSummary: React.FC<AccordionSummaryProps>;
|
|
167
167
|
|
|
168
|
-
declare const AccordionDetail:
|
|
169
|
-
|
|
168
|
+
declare const AccordionDetail: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
169
|
+
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
170
|
+
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
171
|
+
declare const DetailsGrouping: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
172
|
+
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
173
|
+
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
170
174
|
|
|
171
|
-
type BoxProps = ColorProps & SpaceProps & LayoutProps & BoxShadowProps &
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
declare const Box:
|
|
175
|
+
type BoxProps = BackgroundsProps & SizingProps & ColorProps & SpaceProps & LayoutProps & BoxShadowProps & BordersProps & OrderProps & GridsProps & FlexboxesProps & PositionProps & TypographyProps & EffectsProps & AnimationProps & {
|
|
176
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
177
|
+
as?: AsProp;
|
|
178
|
+
} & React.ComponentPropsWithRef<'div'>;
|
|
179
|
+
declare const Box: react.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
176
180
|
|
|
177
181
|
type CardProps = {
|
|
178
182
|
children: React.ReactNode;
|
|
179
183
|
style?: React.CSSProperties;
|
|
180
|
-
} & LayoutProps &
|
|
181
|
-
declare const Card:
|
|
184
|
+
} & LayoutProps & SizingProps & FlexboxesProps & SpaceProps & ColorProps & React.ComponentPropsWithRef<'div'>;
|
|
185
|
+
declare const Card: react.ForwardRefExoticComponent<Omit<CardProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
182
186
|
|
|
183
|
-
|
|
187
|
+
type CardContentProps = SpaceProps & BordersProps & React.ComponentPropsWithRef<'div'>;
|
|
188
|
+
declare const CardContent: react.ForwardRefExoticComponent<Omit<CardContentProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
184
189
|
|
|
185
190
|
type MediaComponent = 'video' | 'audio' | 'picture' | 'iframe' | 'img' | 'div';
|
|
186
191
|
type CardMediaProps = {
|
|
@@ -190,21 +195,23 @@ type CardMediaProps = {
|
|
|
190
195
|
src?: string;
|
|
191
196
|
alt?: string;
|
|
192
197
|
fallback?: React.ReactNode;
|
|
193
|
-
} & WithChildren$1 & LayoutProps;
|
|
198
|
+
} & WithChildren$1 & LayoutProps & SizingProps;
|
|
194
199
|
declare const CardMedia: React.FC<CardMediaProps>;
|
|
195
200
|
|
|
196
201
|
type ImageProps = {
|
|
197
202
|
fallback?: React.ReactNode;
|
|
198
|
-
} & React.ComponentPropsWithoutRef<'img'> &
|
|
203
|
+
} & React.ComponentPropsWithoutRef<'img'> & FlexboxesProps & GridsProps & LayoutProps & OrderProps & PositionProps & SpaceProps & SizingProps & BordersProps & BackgroundsProps;
|
|
199
204
|
declare const ImageComp: React.FC<ImageProps>;
|
|
200
205
|
|
|
201
|
-
|
|
206
|
+
type ListProps = React.ComponentPropsWithRef<'ul'> & SizingProps & SpaceProps & BordersProps & EffectsProps & BackgroundsProps & PositionProps & ZIndexProps;
|
|
207
|
+
declare const List: React.FC<ListProps>;
|
|
202
208
|
|
|
203
|
-
|
|
209
|
+
type ListItemProps = React.ComponentPropsWithRef<'li'> & BackgroundsProps & SpaceProps & CursorProps & FontSizeProps & LineHeightProps & BordersProps;
|
|
210
|
+
declare const ListItem: React.FC<ListItemProps>;
|
|
204
211
|
|
|
205
|
-
declare const OrderedList:
|
|
212
|
+
declare const OrderedList: React.FC<React.ComponentPropsWithRef<'ol'>>;
|
|
206
213
|
|
|
207
|
-
declare const UnorderedList:
|
|
214
|
+
declare const UnorderedList: React.FC<React.ComponentPropsWithRef<'ul'>>;
|
|
208
215
|
|
|
209
216
|
type PaginationProps = {
|
|
210
217
|
limit: number;
|
|
@@ -216,7 +223,7 @@ type PaginationProps = {
|
|
|
216
223
|
};
|
|
217
224
|
declare const Pagination: React.FC<PaginationProps>;
|
|
218
225
|
|
|
219
|
-
declare const Panel:
|
|
226
|
+
declare const Panel: react.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
220
227
|
|
|
221
228
|
type TableProps = {
|
|
222
229
|
containerClasses?: string;
|
|
@@ -224,15 +231,19 @@ type TableProps = {
|
|
|
224
231
|
} & React.ComponentPropsWithRef<'table'>;
|
|
225
232
|
declare const Table: react.ForwardRefExoticComponent<Omit<TableProps, "ref"> & react.RefAttributes<HTMLTableElement>>;
|
|
226
233
|
|
|
227
|
-
declare const TableBody:
|
|
234
|
+
declare const TableBody: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
|
|
235
|
+
ref?: ((instance: HTMLTableSectionElement | null) => void) | react.RefObject<HTMLTableSectionElement> | null | undefined;
|
|
236
|
+
}, "ref"> & react.RefAttributes<HTMLTableSectionElement>>;
|
|
228
237
|
|
|
229
|
-
declare const TableCell:
|
|
238
|
+
declare const TableCell: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & {
|
|
239
|
+
ref?: ((instance: HTMLTableDataCellElement | null) => void) | react.RefObject<HTMLTableDataCellElement> | null | undefined;
|
|
240
|
+
}, "ref"> & react.RefAttributes<HTMLTableCellElement>>;
|
|
230
241
|
|
|
231
242
|
type TableRowProps = {
|
|
232
243
|
active?: boolean;
|
|
233
244
|
onClick?: (event: React.MouseEvent) => void;
|
|
234
245
|
} & React.ComponentPropsWithRef<'tr'>;
|
|
235
|
-
declare const TableRow:
|
|
246
|
+
declare const TableRow: react.ForwardRefExoticComponent<Omit<TableRowProps, "ref"> & react.RefAttributes<HTMLTableRowElement>>;
|
|
236
247
|
|
|
237
248
|
type TableHeadProps = {
|
|
238
249
|
headers?: string[];
|
|
@@ -242,18 +253,21 @@ declare const TableHead: react.ForwardRefExoticComponent<Omit<TableHeadProps, "r
|
|
|
242
253
|
|
|
243
254
|
type TextProps = {
|
|
244
255
|
mono?: boolean;
|
|
245
|
-
|
|
246
|
-
|
|
256
|
+
as?: AsProp;
|
|
257
|
+
} & ColorProps & TypographyProps & OpacityProps & WithChildren$1 & SizingProps;
|
|
258
|
+
declare const Text: React.FC<TextProps>;
|
|
247
259
|
|
|
248
260
|
type HeadingProps = {
|
|
249
|
-
children?:
|
|
261
|
+
children?: react__default.ReactNode;
|
|
262
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
263
|
+
color?: string;
|
|
250
264
|
} & ColorProps & TypographyProps & LayoutProps;
|
|
251
|
-
declare const Title:
|
|
265
|
+
declare const Title: react__default.FC<HeadingProps>;
|
|
252
266
|
|
|
253
267
|
type BaseButtonProps = {
|
|
254
268
|
type?: 'button' | 'reset' | 'submit';
|
|
255
269
|
as?: AsProp;
|
|
256
|
-
} &
|
|
270
|
+
} & EffectsProps & LayoutProps & BordersProps & PositionProps & ColorProps & SpaceProps & TypographyProps & FlexboxesProps & BoxShadowProps & BackgroundsProps & SizingProps & Omit<React.ComponentPropsWithoutRef<'button'>, 'Color'>;
|
|
257
271
|
|
|
258
272
|
type ButtonProps = {
|
|
259
273
|
active?: boolean;
|
|
@@ -375,7 +389,8 @@ declare const SimpleSelect: React.FC<SimpleSelectProps>;
|
|
|
375
389
|
type SwitchProps = React.ComponentPropsWithRef<'input'>;
|
|
376
390
|
declare const Switch: React.FC<SwitchProps>;
|
|
377
391
|
|
|
378
|
-
|
|
392
|
+
type TextAreaProps = ColorProps & SpaceProps & LayoutProps & BoxShadowProps & BordersProps & TypographyProps & SizingProps & React.ComponentPropsWithRef<'textarea'>;
|
|
393
|
+
declare const TextArea: react.ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & react.RefAttributes<HTMLTextAreaElement>>;
|
|
379
394
|
|
|
380
395
|
declare const InputGroup: React.FC<WithChildren$1>;
|
|
381
396
|
|
|
@@ -454,7 +469,7 @@ type MenuProps = {
|
|
|
454
469
|
itemRef: Element | null;
|
|
455
470
|
handleClose: () => void;
|
|
456
471
|
inline?: boolean;
|
|
457
|
-
} & WithChildren$1;
|
|
472
|
+
} & WithChildren$1 & SizingProps;
|
|
458
473
|
declare const Menu: React.FC<MenuProps>;
|
|
459
474
|
|
|
460
475
|
type MenuItemProps = {
|
|
@@ -686,8 +701,6 @@ declare const MuffledUI: React.FC<ThemeProviderProps>;
|
|
|
686
701
|
declare const ThemeSwitch: React.FC;
|
|
687
702
|
declare const ThemeButton: React.FC;
|
|
688
703
|
|
|
689
|
-
declare const GlobalStyles:
|
|
690
|
-
theme: ColorTheme;
|
|
691
|
-
}, styled_components.DefaultTheme>;
|
|
704
|
+
declare const GlobalStyles: any;
|
|
692
705
|
|
|
693
|
-
export { Accordion, AccordionDetail, type AccordionProps, AccordionSummary, Alert, type AlertProps, Backdrop, Badge, type BadgeProps, BasePicker, type BasePickerProps, BaseUploader, type BaseUploaderProps, Box, type BoxProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, CardContent, CardMedia, type CardMediaProps, type CardProps, CenteredWidget, Checkbox, type CheckboxPrpos, Chip, type ChipProps, CircleLoader, type CircleLoaderProps, CircleProgress, type CircleProgressProps, ClickOutside, type ClickOutsideProps, ClickableElement, type ClickableElementProps, Collapse, type CollapseProps, Container, DarkTheme, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DestructiveButton, type DestructiveButtonProps, DetailsGrouping, Drawer, type DrawerProps, Fade, type FadeProps, GlobalStyles, Grow, type GrowProps, type HeadingProps, ImageComp, type ImageProps, Input, InputGroup, type InputProps, Label, type LabelProps, LightTheme, LinearLoader, type LinearLoaderProps, LinearProgress, type LinearProgressProps, LinearSlide, type LinearSlideProps, List, ListItem, Menu, MenuItem, type MenuItemProps, type MenuProps, Modal, type ModalProps, MuffledUI, NumberField, type NumberFieldProps, Open, type OpenProps, OrderedList, OutlineButton, type OutlineButtonProps, Pagination, type PaginationProps, Panel, Password, type PasswordProps, Portal, type PortalProps, PrimaryButton, type PrimaryButtonProps, type ProvidedTheme, Radio, RadioIcon, type RadioPrpos, Scrollable, SecondaryButton, type SecondaryButtonProps, Select, SelectButton, type SelectButtonProps, SelectContext, SelectFilter, type SelectFilterProps, SelectItem, type SelectItemProps, SelectList, type SelectProps, SettingsContext, type SettingsCtx, SimpleSelect, type SimpleSelectProps, Skeleton, type SkeletonProps, Slide, type SlideProps, SnackbarContext, SnackbarItem, type SnackbarItemProps, SnackbarProvider, StepIcon, type StepIconProps, StepLabel, type StepLabelProps, Stepper, StepperContext, type StepperProps, Switch, type SwitchProps, SyntaxHighlighter, type SyntaxHighlighterProps, type TTheme, TabItem, type TabItemProps, TabItems, type TabItemsProps, TabPane, TabPaneList, type TabPaneListProps, type TabPaneProps$1 as TabPaneProps, Table, TableBody, TableCell, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, Text, TextArea, type TextProps, ThemeButton, type ThemeProviderProps, ThemeSwitch, ThreeColumns, type ThreeColumnsProps, Title, Tooltip, type TooltipProps, TwoColumns, type TwoColumnsProps, UnorderedList, UploadButton, type UploadButtonProps, UploadZone, type UploadZoneProps, clearInputOnSelectItem, stopPropagation, useMuffledSettings, useSelectContext, useSnackbar, useStepperContext };
|
|
706
|
+
export { Accordion, AccordionDetail, type AccordionProps, AccordionSummary, Alert, type AlertProps, Backdrop, Badge, type BadgeProps, BasePicker, type BasePickerProps, BaseUploader, type BaseUploaderProps, Box, type BoxProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, CardContent, type CardContentProps, CardMedia, type CardMediaProps, type CardProps, CenteredWidget, Checkbox, type CheckboxPrpos, Chip, type ChipProps, CircleLoader, type CircleLoaderProps, CircleProgress, type CircleProgressProps, ClickOutside, type ClickOutsideProps, ClickableElement, type ClickableElementProps, Collapse, type CollapseProps, Container, DarkTheme, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DestructiveButton, type DestructiveButtonProps, DetailsGrouping, Drawer, type DrawerProps, Fade, type FadeProps, GlobalStyles, Grow, type GrowProps, type HeadingProps, ImageComp, type ImageProps, Input, InputGroup, type InputProps, Label, type LabelProps, LightTheme, LinearLoader, type LinearLoaderProps, LinearProgress, type LinearProgressProps, LinearSlide, type LinearSlideProps, List, ListItem, Menu, MenuItem, type MenuItemProps, type MenuProps, Modal, type ModalProps, MuffledUI, NumberField, type NumberFieldProps, Open, type OpenProps, OrderedList, OutlineButton, type OutlineButtonProps, Pagination, type PaginationProps, Panel, Password, type PasswordProps, Portal, type PortalProps, PrimaryButton, type PrimaryButtonProps, type ProvidedTheme, Radio, RadioIcon, type RadioPrpos, Scrollable, SecondaryButton, type SecondaryButtonProps, Select, SelectButton, type SelectButtonProps, SelectContext, SelectFilter, type SelectFilterProps, SelectItem, type SelectItemProps, SelectList, type SelectProps, SettingsContext, type SettingsCtx, SimpleSelect, type SimpleSelectProps, Skeleton, type SkeletonProps, Slide, type SlideProps, SnackbarContext, SnackbarItem, type SnackbarItemProps, SnackbarProvider, StepIcon, type StepIconProps, StepLabel, type StepLabelProps, Stepper, StepperContext, type StepperProps, Switch, type SwitchProps, SyntaxHighlighter, type SyntaxHighlighterProps, type TTheme, TabItem, type TabItemProps, TabItems, type TabItemsProps, TabPane, TabPaneList, type TabPaneListProps, type TabPaneProps$1 as TabPaneProps, Table, TableBody, TableCell, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, Text, TextArea, type TextAreaProps, type TextProps, ThemeButton, type ThemeProviderProps, ThemeSwitch, ThreeColumns, type ThreeColumnsProps, Title, Tooltip, type TooltipProps, TwoColumns, type TwoColumnsProps, UnorderedList, UploadButton, type UploadButtonProps, UploadZone, type UploadZoneProps, clearInputOnSelectItem, stopPropagation, useMuffledSettings, useSelectContext, useSnackbar, useStepperContext };
|