@onesy/ui-react 1.0.47 → 1.0.48
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/Accordion/Accordion.d.ts +3 -6
- package/AdvancedTextField/AdvancedTextField.d.ts +2 -2
- package/Append/Append.d.ts +4 -4
- package/AreaChart/AreaChart.d.ts +2 -2
- package/AreaChartItem/AreaChartItem.d.ts +4 -2
- package/AudioPlayer/AudioPlayer.d.ts +5 -7
- package/AudioRecorder/AudioRecorder.d.ts +3 -5
- package/AutoComplete/AutoComplete.d.ts +2 -4
- package/AutoCompleteCountry/AutoCompleteCountry.d.ts +1 -2
- package/AutoCompleteCurrency/AutoCompleteCurrency.d.ts +1 -2
- package/AutoCompleteGooglePlaces/AutoCompleteGooglePlaces.d.ts +3 -2
- package/Avatar/Avatar.d.ts +2 -2
- package/AvatarGroup/AvatarGroup.d.ts +3 -7
- package/Backdrop/Backdrop.d.ts +2 -2
- package/Badge/Badge.d.ts +3 -5
- package/Banner/Banner.d.ts +6 -4
- package/BottomAppBar/BottomAppBar.d.ts +3 -4
- package/BottomSheet/BottomSheet.d.ts +1 -2
- package/Box/Box.d.ts +2 -2
- package/Breadcrumbs/Breadcrumbs.d.ts +4 -2
- package/BubbleChart/BubbleChart.d.ts +1 -2
- package/BubbleChartItem/BubbleChartItem.d.ts +2 -2
- package/Button/Button.d.ts +4 -5
- package/Buttons/Buttons.d.ts +3 -7
- package/Calendar/Calendar.d.ts +8 -8
- package/CalendarAvailability/CalendarAvailability.d.ts +5 -4
- package/CalendarMenu/CalendarMenu.d.ts +2 -2
- package/CalendarMonth/CalendarMonth.d.ts +5 -8
- package/CalendarViews/CalendarViews.d.ts +2 -2
- package/CalendarWeek/CalendarWeek.d.ts +2 -2
- package/Card/Card.d.ts +2 -3
- package/CardButton/CardButton.d.ts +2 -3
- package/CardFooter/CardFooter.d.ts +3 -5
- package/CardHeader/CardHeader.d.ts +3 -5
- package/CardImage/CardImage.d.ts +3 -5
- package/CardMain/CardMain.d.ts +3 -5
- package/Carousel/Carousel.d.ts +4 -4
- package/Chart/Chart.d.ts +8 -10
- package/Checkbox/Checkbox.d.ts +2 -2
- package/Chip/Chip.d.ts +2 -2
- package/Chips/Chips.d.ts +4 -2
- package/Chips/Chips.js +2 -2
- package/ClickListener/ClickListener.d.ts +3 -3
- package/Clock/Clock.d.ts +2 -8
- package/ColorTextField/ColorTextField.d.ts +2 -2
- package/ColumnChart/ColumnChart.d.ts +1 -2
- package/ColumnChartItem/ColumnChartItem.d.ts +4 -2
- package/Confirm/Confirm.d.ts +8 -8
- package/Container/Container.d.ts +2 -2
- package/CookieBanner/CookieBanner.d.ts +2 -2
- package/Countdown/Countdown.d.ts +2 -2
- package/DatePicker/DatePicker.d.ts +4 -8
- package/DateRangePicker/DateRangePicker.d.ts +1 -2
- package/DateTimePicker/DateTimePicker.d.ts +5 -7
- package/DateTimeRangePicker/DateTimeRangePicker.d.ts +1 -2
- package/Divider/Divider.d.ts +2 -2
- package/DonutChart/DonutChart.d.ts +1 -2
- package/DragAndDropList/DragAndDropList.d.ts +2 -2
- package/Drawing/Drawing.d.ts +2 -2
- package/DropZone/DropZone.d.ts +2 -2
- package/DropZone/DropZone.js +2 -1
- package/Emojis/Emojis.d.ts +6 -6
- package/Expand/Expand.d.ts +2 -2
- package/Fab/Fab.d.ts +1 -2
- package/Fade/Fade.d.ts +1 -2
- package/FileChoose/FileChoose.d.ts +3 -6
- package/Focus/Focus.d.ts +1 -2
- package/Form/Form.d.ts +3 -4
- package/FormRow/FormRow.d.ts +2 -2
- package/Forms/Forms.d.ts +2 -2
- package/Frame/Frame.d.ts +3 -3
- package/Grid/Grid.d.ts +5 -2
- package/Grid/Grid.js +2 -1
- package/Grow/Grow.d.ts +1 -2
- package/HTMLCanvas/HTMLCanvas.d.ts +6 -9
- package/IFrame/IFrame.d.ts +3 -2
- package/Icon/Icon.d.ts +3 -6
- package/IconButton/IconButton.d.ts +1 -2
- package/Image/Image.d.ts +5 -5
- package/Image/Image.js +2 -1
- package/ImageCrop/ImageCrop.d.ts +2 -2
- package/ImageEdit/ImageEdit.d.ts +3 -5
- package/ImageGallery/ImageGallery.d.ts +2 -2
- package/ImageList/ImageList.d.ts +2 -2
- package/ImageList/ImageList.js +2 -1
- package/ImageListItem/ImageListItem.d.ts +2 -2
- package/ImageListItemBox/ImageListItemBox.d.ts +2 -2
- package/Info/Info.d.ts +2 -2
- package/Interaction/Interaction.d.ts +2 -3
- package/Keyframes/Keyframes.d.ts +4 -4
- package/Label/Label.d.ts +5 -7
- package/Labels/Labels.d.ts +3 -7
- package/Line/Line.d.ts +2 -2
- package/LineChart/LineChart.d.ts +2 -2
- package/LineChartItem/LineChartItem.d.ts +4 -2
- package/LinearMeter/LinearMeter.d.ts +3 -6
- package/LinearProgress/LinearProgress.d.ts +3 -5
- package/Link/Link.d.ts +2 -4
- package/Links/Links.d.ts +4 -4
- package/List/List.d.ts +4 -4
- package/ListItem/ListItem.d.ts +3 -5
- package/ListSubheader/ListSubheader.d.ts +1 -2
- package/MainProgress/MainProgress.d.ts +6 -6
- package/Markdown/Markdown.d.ts +2 -2
- package/Masonry/Masonry.d.ts +2 -2
- package/Medias/Medias.d.ts +4 -4
- package/Menu/Menu.d.ts +2 -2
- package/MenuDesktop/MenuDesktop.d.ts +3 -6
- package/MenuItem/MenuItem.d.ts +2 -2
- package/Meta/Meta.d.ts +2 -2
- package/Modal/Modal.d.ts +3 -6
- package/ModalFooter/ModalFooter.d.ts +1 -2
- package/ModalHeader/ModalHeader.d.ts +2 -2
- package/ModalIcon/ModalIcon.d.ts +1 -2
- package/ModalMain/ModalMain.d.ts +1 -2
- package/ModalText/ModalText.d.ts +1 -2
- package/ModalTitle/ModalTitle.d.ts +1 -2
- package/MoreOptions/MoreOptions.d.ts +2 -2
- package/Move/Move.d.ts +2 -2
- package/NavigationBar/NavigationBar.d.ts +2 -2
- package/NavigationDrawer/NavigationDrawer.d.ts +2 -2
- package/NavigationItem/NavigationItem.d.ts +3 -5
- package/NavigationRail/NavigationRail.d.ts +3 -4
- package/NotFound/NotFound.d.ts +3 -2
- package/NumericTextField/NumericTextField.d.ts +2 -2
- package/Page/Page.d.ts +4 -4
- package/PageTransition/PageTransition.d.ts +2 -2
- package/Pagination/Pagination.d.ts +3 -7
- package/PaginationItem/PaginationItem.d.ts +2 -2
- package/Parallax/Parallax.d.ts +2 -2
- package/Path/Path.d.ts +2 -2
- package/PieChart/PieChart.d.ts +4 -2
- package/Placeholder/Placeholder.d.ts +3 -4
- package/Portal/Portal.d.ts +2 -2
- package/Properties/Properties.d.ts +5 -5
- package/Property/Property.d.ts +2 -2
- package/Radio/Radio.d.ts +2 -2
- package/Radios/Radios.d.ts +3 -7
- package/Rating/Rating.d.ts +3 -8
- package/Reset/Reset.d.ts +1 -2
- package/Reveal/Reveal.d.ts +2 -2
- package/RichTextEditor/RichTextEditor.d.ts +3 -5
- package/RoundMeter/RoundMeter.d.ts +3 -6
- package/RoundProgress/RoundProgress.d.ts +3 -6
- package/ScatterChart/ScatterChart.d.ts +1 -2
- package/ScatterChartItem/ScatterChartItem.d.ts +4 -2
- package/ScreenCapture/ScreenCapture.d.ts +2 -2
- package/Section/Section.d.ts +2 -2
- package/SectionAction/SectionAction.d.ts +2 -2
- package/SectionBoxes/SectionBoxes.d.ts +4 -4
- package/SectionCards/SectionCards.d.ts +4 -4
- package/SectionCarousel/SectionCarousel.d.ts +4 -4
- package/SectionContact/SectionContact.d.ts +2 -2
- package/SectionImageGallery/SectionImageGallery.d.ts +2 -2
- package/SectionLogos/SectionLogos.d.ts +2 -2
- package/SectionMedia/SectionMedia.d.ts +2 -2
- package/SectionReviews/SectionReviews.d.ts +5 -4
- package/SectionTextMedia/SectionTextMedia.d.ts +2 -2
- package/SectionTimeline/SectionTimeline.d.ts +4 -4
- package/SectionWatch/SectionWatch.d.ts +2 -5
- package/Select/Select.d.ts +2 -2
- package/Share/Share.d.ts +3 -4
- package/Slide/Slide.d.ts +2 -2
- package/Slider/Slider.d.ts +4 -9
- package/SmartTextField/SmartTextField.d.ts +2 -3
- package/Snackbar/Snackbar.d.ts +3 -4
- package/Snackbars/Context.d.ts +2 -2
- package/Snackbars/Snackbars.d.ts +4 -4
- package/Space/Space.d.ts +3 -6
- package/SpeechToText/SpeechToText.d.ts +3 -5
- package/SpeedDial/SpeedDial.d.ts +3 -6
- package/SpeedDialItem/SpeedDialItem.d.ts +2 -2
- package/SpyScroll/SpyScroll.d.ts +2 -2
- package/Step/Step.d.ts +3 -5
- package/Stepper/Stepper.d.ts +4 -5
- package/Surface/Surface.d.ts +3 -6
- package/Switch/Switch.d.ts +5 -7
- package/Tab/Tab.d.ts +2 -3
- package/Table/Table.d.ts +3 -4
- package/TableBody/TableBody.d.ts +2 -4
- package/TableCell/TableCell.d.ts +3 -7
- package/TableFooter/TableFooter.d.ts +1 -4
- package/TableHead/TableHead.d.ts +2 -4
- package/TableHeader/TableHeader.d.ts +1 -4
- package/TablePagination/TablePagination.d.ts +3 -6
- package/TableRow/TableRow.d.ts +2 -4
- package/TableRow/TableRow.js +4 -4
- package/Tabs/Tabs.d.ts +2 -2
- package/Text/Text.d.ts +2 -2
- package/TextField/TextField.d.ts +4 -8
- package/TextToSpeech/TextToSpeech.d.ts +3 -5
- package/TimePicker/TimePicker.d.ts +5 -6
- package/TimeRangePicker/TimeRangePicker.d.ts +1 -2
- package/Timeline/Timeline.d.ts +2 -2
- package/TimelineItem/TimelineItem.d.ts +2 -2
- package/Timer/Timer.d.ts +2 -2
- package/ToggleButton/ToggleButton.d.ts +1 -2
- package/ToggleButtons/ToggleButtons.d.ts +1 -2
- package/Tooltip/Tooltip.d.ts +4 -5
- package/TopAppBar/TopAppBar.d.ts +3 -4
- package/Transition/Transition.d.ts +4 -4
- package/Transitions/Transitions.d.ts +2 -2
- package/Tree/Tree.d.ts +5 -5
- package/Type/Type.d.ts +3 -5
- package/VideoPlayer/VideoPlayer.d.ts +5 -7
- package/ViewSplit/ViewSplit.d.ts +4 -5
- package/Watch/Watch.d.ts +3 -4
- package/Weather/Weather.d.ts +3 -4
- package/Whiteboard/Whiteboard.d.ts +6 -6
- package/Widgets/Widgets.d.ts +4 -4
- package/WindowSplit/WindowSplit.d.ts +4 -5
- package/Zoom/Zoom.d.ts +1 -2
- package/esm/Chips/Chips.js +3 -3
- package/esm/DropZone/DropZone.js +2 -1
- package/esm/Grid/Grid.js +2 -1
- package/esm/Image/Image.js +2 -1
- package/esm/ImageList/ImageList.js +2 -1
- package/esm/TableRow/TableRow.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +11 -8
- package/useForm/useForm.d.ts +4 -4
- package/useForm/validate.d.ts +12 -12
- package/useLocation/useLocation.d.ts +1 -2
- package/useMediaQuery/useMediaQuery.d.ts +2 -2
- package/useScroll/useScroll.d.ts +2 -2
- package/useSwipe/useSwipe.d.ts +4 -4
- package/useVisible/useVisible.d.ts +4 -4
package/Link/Link.d.ts
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IType } from '../Type/Type';
|
3
|
-
|
4
|
-
export interface ILink extends Omit<IType, 'color'> {
|
5
|
-
color?: IColor;
|
3
|
+
export declare type ILink = IType & {
|
6
4
|
underline?: true | 'hover';
|
7
|
-
}
|
5
|
+
};
|
8
6
|
declare const Link: React.FC<ILink>;
|
9
7
|
export default Link;
|
package/Links/Links.d.ts
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IMediaObject } from '../types';
|
3
|
-
export
|
3
|
+
export declare type ILinksItem = {
|
4
4
|
version?: 'primary' | 'secondary' | 'default';
|
5
5
|
name?: any;
|
6
6
|
url?: string;
|
7
7
|
sensitivity?: string | boolean;
|
8
8
|
share?: boolean;
|
9
9
|
props?: any;
|
10
|
-
}
|
11
|
-
export
|
10
|
+
};
|
11
|
+
export declare type ILinks = IBaseElement & {
|
12
12
|
name?: any;
|
13
13
|
short_description?: any;
|
14
14
|
links?: ILinksItem[];
|
@@ -27,6 +27,6 @@ export interface ILinks extends IBaseElement {
|
|
27
27
|
ShortDescriptionProps?: any;
|
28
28
|
LinkProps?: any;
|
29
29
|
LinkTypeProps?: any;
|
30
|
-
}
|
30
|
+
};
|
31
31
|
declare const Element: React.FC<ILinks>;
|
32
32
|
export default Element;
|
package/List/List.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
|
-
import {
|
4
|
-
export
|
5
|
-
size?: ISize;
|
3
|
+
import { IElement } from '../types';
|
4
|
+
export declare type IList = ISurface & {
|
6
5
|
menu?: IElement;
|
7
6
|
menuOpen?: boolean;
|
7
|
+
onMenuDesktopClose?: any;
|
8
8
|
noMaxWidth?: boolean;
|
9
9
|
noChildrenTransform?: boolean;
|
10
10
|
indent?: number;
|
@@ -12,6 +12,6 @@ export interface IList extends ISurface {
|
|
12
12
|
paddingVertical?: 'both' | 'start' | 'end' | 'none';
|
13
13
|
noBackground?: boolean;
|
14
14
|
SurfaceProps?: any;
|
15
|
-
}
|
15
|
+
};
|
16
16
|
declare const List: React.FC<IList>;
|
17
17
|
export default List;
|
package/ListItem/ListItem.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
|
-
import { IColor, IElement,
|
4
|
-
export
|
3
|
+
import { IColor, IElement, IElementReference, IPropsAny } from '../types';
|
4
|
+
export declare type IListItem = ISurface & {
|
5
5
|
colorSelected?: IColor;
|
6
6
|
inset?: boolean;
|
7
7
|
primary?: IElement;
|
@@ -13,7 +13,6 @@ export interface IListItem extends ISurface {
|
|
13
13
|
startAlign?: 'start' | 'center' | 'end';
|
14
14
|
end?: IElement;
|
15
15
|
endAlign?: 'start' | 'center' | 'end';
|
16
|
-
size?: ISize;
|
17
16
|
noPadding?: boolean;
|
18
17
|
href?: string;
|
19
18
|
button?: boolean;
|
@@ -25,7 +24,6 @@ export interface IListItem extends ISurface {
|
|
25
24
|
interaction?: boolean;
|
26
25
|
noBackground?: boolean;
|
27
26
|
noOutline?: boolean;
|
28
|
-
disabled?: boolean;
|
29
27
|
onClick?: (event: React.MouseEvent<any>) => any;
|
30
28
|
onFocus?: (event: React.FocusEvent<any>) => any;
|
31
29
|
onBlur?: (event: React.FocusEvent<any>) => any;
|
@@ -43,6 +41,6 @@ export interface IListItem extends ISurface {
|
|
43
41
|
AsideProps?: IPropsAny;
|
44
42
|
AsideStartProps?: IPropsAny;
|
45
43
|
AsideEndProps?: IPropsAny;
|
46
|
-
}
|
44
|
+
};
|
47
45
|
declare const ListItem: React.FC<IListItem>;
|
48
46
|
export default ListItem;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IListItem } from '../ListItem/ListItem';
|
3
|
-
export
|
4
|
-
}
|
3
|
+
export declare type IListSubheader = IListItem & {};
|
5
4
|
declare const ListSubheader: React.FC<IListSubheader>;
|
6
5
|
export default ListSubheader;
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILinearProress } from '../LinearProgress/LinearProgress';
|
3
3
|
import { IElementReference, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IMainProgressStartArgument = {
|
5
5
|
tonal?: boolean;
|
6
6
|
color?: string;
|
7
|
-
}
|
8
|
-
export
|
7
|
+
};
|
8
|
+
export declare type IMainProgressValue = {
|
9
9
|
start: (value?: IMainProgressStartArgument) => void;
|
10
10
|
increment: () => void;
|
11
11
|
update: (value: number) => void;
|
12
12
|
done: () => void;
|
13
|
-
}
|
14
|
-
export
|
13
|
+
};
|
14
|
+
export declare type IMainProgress = ILinearProress & {
|
15
15
|
min?: number;
|
16
16
|
max?: number;
|
17
17
|
firstIncrement?: boolean;
|
@@ -28,6 +28,6 @@ export interface IMainProgress extends ILinearProress {
|
|
28
28
|
position?: 'top' | 'bottom';
|
29
29
|
TransitionComponent?: IElementReference;
|
30
30
|
TransitionComponentProps?: IPropsAny;
|
31
|
-
}
|
31
|
+
};
|
32
32
|
declare const MainProgress: React.FC<IMainProgress>;
|
33
33
|
export default MainProgress;
|
package/Markdown/Markdown.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement } from '../types';
|
3
|
-
export
|
3
|
+
export declare type IMarkdown = IBaseElement & {
|
4
4
|
value?: string;
|
5
5
|
render?: (element: string, className: string, style: string, ...args: any[]) => string;
|
6
6
|
elementClassNames?: Record<string, string>;
|
@@ -8,6 +8,6 @@ export interface IMarkdown extends IBaseElement {
|
|
8
8
|
onAdded?: () => any;
|
9
9
|
onUpdate?: () => any;
|
10
10
|
onStart?: () => any;
|
11
|
-
}
|
11
|
+
};
|
12
12
|
declare const Markdown: React.FC<IMarkdown>;
|
13
13
|
export default Markdown;
|
package/Masonry/Masonry.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IValueBreakpoints } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IMasonry = Omit<ILine, 'gap'> & {
|
5
5
|
gap?: number | Partial<Record<IValueBreakpoints, number>>;
|
6
6
|
columns?: number | Partial<Record<IValueBreakpoints, number>>;
|
7
7
|
noMasonry?: boolean;
|
8
8
|
NoMasonryProps?: any;
|
9
|
-
}
|
9
|
+
};
|
10
10
|
declare const Masonry: React.FC<IMasonry>;
|
11
11
|
export default Masonry;
|
package/Medias/Medias.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IMediaObject, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IMediasItem = {
|
5
5
|
value: IMediaObject;
|
6
6
|
props?: any;
|
7
|
-
}
|
7
|
+
};
|
8
8
|
export declare type IMediasMediaVersion = 'embed' | 'image' | 'audio' | 'video' | 'other';
|
9
|
-
export
|
9
|
+
export declare type IMedias = ILine & {
|
10
10
|
size?: 'small' | 'regular' | 'large';
|
11
11
|
values?: IMediasItem | IMediasItem[];
|
12
12
|
imageGallery?: boolean;
|
@@ -26,6 +26,6 @@ export interface IMedias extends ILine {
|
|
26
26
|
AudioItemsProps?: IPropsAny;
|
27
27
|
VideoItemsProps?: IPropsAny;
|
28
28
|
OtherItemsProps?: IPropsAny;
|
29
|
-
}
|
29
|
+
};
|
30
30
|
declare const Medias: React.FC<IMedias>;
|
31
31
|
export default Medias;
|
package/Menu/Menu.d.ts
CHANGED
@@ -7,7 +7,7 @@ export declare const MENUS: {
|
|
7
7
|
add: (value: any) => void;
|
8
8
|
remove: (value: any) => void;
|
9
9
|
};
|
10
|
-
export
|
10
|
+
export declare type IMenu = Omit<ITooltip, 'name' | 'label'> & {
|
11
11
|
open?: boolean;
|
12
12
|
openDefault?: boolean;
|
13
13
|
name?: ((method: (item: any, index: number) => any) => any) | IElement;
|
@@ -28,6 +28,6 @@ export interface IMenu extends Omit<ITooltip, 'name' | 'label'> {
|
|
28
28
|
ModalProps?: IPropsAny;
|
29
29
|
WrapperProps?: IPropsAny;
|
30
30
|
ClickListenerProps?: IPropsAny;
|
31
|
-
}
|
31
|
+
};
|
32
32
|
declare const Menu: React.FC<IMenu>;
|
33
33
|
export default Menu;
|
@@ -1,18 +1,15 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TTransitionStatus } from '../Transition';
|
3
3
|
import { ILine } from '../Line/Line';
|
4
|
-
import { IElement,
|
4
|
+
import { IElement, IStyle, IElementReference, IPropsAny, IVersion } from '../types';
|
5
5
|
export declare type TMenuDesktopValue = string | number;
|
6
6
|
export declare type TMenuDesktopItem = {
|
7
7
|
value?: TMenuDesktopValue;
|
8
8
|
label?: IElement;
|
9
9
|
name?: IElement;
|
10
10
|
menu?: IElement;
|
11
|
-
disabled?: boolean;
|
12
11
|
};
|
13
|
-
export
|
14
|
-
tonal?: ITonal;
|
15
|
-
color?: IColor;
|
12
|
+
export declare type IMenuDesktop = ILine & {
|
16
13
|
version?: IVersion;
|
17
14
|
items?: Array<TMenuDesktopItem>;
|
18
15
|
valueDefault?: TMenuDesktopValue;
|
@@ -37,6 +34,6 @@ export interface IMenuDesktop extends ILine {
|
|
37
34
|
TransitionComponentProps?: IPropsAny;
|
38
35
|
WrapperProps?: IPropsAny;
|
39
36
|
WrapperMenuProps?: IPropsAny;
|
40
|
-
}
|
37
|
+
};
|
41
38
|
declare const MenuDesktop: React.FC<IMenuDesktop>;
|
42
39
|
export default MenuDesktop;
|
package/MenuItem/MenuItem.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IElement, IHTMLElement, IElementReference, IPropsAny } from '../types';
|
3
3
|
import { IListItem } from '../ListItem/ListItem';
|
4
|
-
export
|
4
|
+
export declare type IMenuItem = IListItem & {
|
5
5
|
menu?: IElement;
|
6
6
|
menuId?: string;
|
7
7
|
menuOpen?: boolean;
|
@@ -21,6 +21,6 @@ export interface IMenuItem extends IListItem {
|
|
21
21
|
ListTransitionComponentProps?: IPropsAny;
|
22
22
|
MenuProps?: IPropsAny;
|
23
23
|
ExpandProps?: IPropsAny;
|
24
|
-
}
|
24
|
+
};
|
25
25
|
declare const MenuItem: React.FC<IMenuItem>;
|
26
26
|
export default MenuItem;
|
package/Meta/Meta.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IMeta = ILine & {
|
5
5
|
values?: any[];
|
6
6
|
separator?: any;
|
7
7
|
ItemProps?: IPropsAny;
|
8
8
|
SeparatorProps?: IPropsAny;
|
9
|
-
}
|
9
|
+
};
|
10
10
|
declare const Meta: React.FC<IMeta>;
|
11
11
|
export default Meta;
|
package/Modal/Modal.d.ts
CHANGED
@@ -1,10 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TMethod } from '@onesy/utils';
|
3
|
-
import { IBaseElement,
|
4
|
-
export
|
5
|
-
tonal?: ITonal;
|
6
|
-
color?: IColor;
|
7
|
-
size?: ISize;
|
3
|
+
import { IBaseElement, IElementReference, IPropsAny, IRef } from '../types';
|
4
|
+
export declare type IModal = IBaseElement & {
|
8
5
|
open?: boolean;
|
9
6
|
openDefault?: boolean;
|
10
7
|
mainRef?: IRef;
|
@@ -31,6 +28,6 @@ export interface IModal extends IBaseElement {
|
|
31
28
|
TransitionComponentProps?: IPropsAny;
|
32
29
|
BackgroundComponent?: IElementReference;
|
33
30
|
TransitionComponent?: IElementReference;
|
34
|
-
}
|
31
|
+
};
|
35
32
|
declare const Modal: React.FC<IModal>;
|
36
33
|
export default Modal;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine, TLineAlign } from '../Line/Line';
|
3
|
-
export
|
3
|
+
export declare type IModalHeader = ILine & {
|
4
4
|
align?: TLineAlign;
|
5
|
-
}
|
5
|
+
};
|
6
6
|
declare const ModalHeader: React.FC<IModalHeader>;
|
7
7
|
export default ModalHeader;
|
package/ModalIcon/ModalIcon.d.ts
CHANGED
package/ModalMain/ModalMain.d.ts
CHANGED
package/ModalText/ModalText.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IMenu } from '../Menu/Menu';
|
3
3
|
import { IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IMoreOptions = IMenu & {
|
5
5
|
Icon?: any;
|
6
6
|
IconButtonProps?: IPropsAny;
|
7
|
-
}
|
7
|
+
};
|
8
8
|
declare const MoreOptions: React.FC<IMoreOptions>;
|
9
9
|
export default MoreOptions;
|
package/Move/Move.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement } from '../types';
|
3
|
-
export
|
3
|
+
export declare type IMove = IBaseElement & {
|
4
4
|
version?: 'regular' | 'fixed';
|
5
5
|
manage?: boolean;
|
6
6
|
manageLevel?: number;
|
7
7
|
onMouseDown?: (event: React.MouseEvent<any>) => any;
|
8
8
|
onTouchStart?: (event: React.TouchEvent<any>) => any;
|
9
|
-
}
|
9
|
+
};
|
10
10
|
declare const Move: React.FC<IMove>;
|
11
11
|
export default Move;
|
@@ -2,12 +2,12 @@ import React from 'react';
|
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
3
|
import { INavigationItemVersion } from '../NavigationItem/NavigationItem';
|
4
4
|
export declare type TNavigationBarValue = Array<string>;
|
5
|
-
export
|
5
|
+
export declare type INavigationBar = Omit<ISurface, 'version'> & {
|
6
6
|
value?: TNavigationBarValue;
|
7
7
|
valueDefault?: TNavigationBarValue;
|
8
8
|
onChange?: (value: TNavigationBarValue) => any;
|
9
9
|
version?: INavigationItemVersion;
|
10
10
|
fixed?: boolean;
|
11
|
-
}
|
11
|
+
};
|
12
12
|
declare const NavigationBar: React.FC<INavigationBar>;
|
13
13
|
export default NavigationBar;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IModal } from '../Modal/Modal';
|
3
3
|
import { IMethodTransition, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type INavigationDrawer = IModal & {
|
5
5
|
version?: 'modal' | 'standard';
|
6
6
|
position?: 'fixed' | 'absolute';
|
7
7
|
direction?: 'top' | 'left' | 'bottom' | 'right';
|
@@ -11,6 +11,6 @@ export interface INavigationDrawer extends IModal {
|
|
11
11
|
min?: number;
|
12
12
|
removeOnExited?: IMethodTransition;
|
13
13
|
TransitionComponentProps?: IPropsAny;
|
14
|
-
}
|
14
|
+
};
|
15
15
|
declare const NavigationDrawer: React.FC<INavigationDrawer>;
|
16
16
|
export default NavigationDrawer;
|
@@ -1,10 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ITooltip } from '../Tooltip/Tooltip';
|
3
|
-
import {
|
3
|
+
import { IElement, IElementReference, IPropsAny } from '../types';
|
4
4
|
export declare type INavigationItemVersion = 'regular' | 'auto';
|
5
|
-
export
|
6
|
-
tonal?: ITonal;
|
7
|
-
color?: IColor;
|
5
|
+
export declare type INavigationItem = ITooltip & {
|
8
6
|
version?: 'regular' | 'auto';
|
9
7
|
value?: any;
|
10
8
|
vertical?: boolean;
|
@@ -24,6 +22,6 @@ export interface INavigationItem extends ITooltip {
|
|
24
22
|
onTouchStart?: (event: React.TouchEvent<any>) => any;
|
25
23
|
TooltipProps?: IPropsAny;
|
26
24
|
IconWrapperProps?: IPropsAny;
|
27
|
-
}
|
25
|
+
};
|
28
26
|
declare const NavigationItem: React.FC<INavigationItem>;
|
29
27
|
export default NavigationItem;
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
3
|
import { INavigationItemVersion } from '../NavigationItem/NavigationItem';
|
4
|
-
import {
|
5
|
-
export
|
6
|
-
size?: ISize;
|
4
|
+
import { IElement, IPropsAny } from '../types';
|
5
|
+
export declare type INavigationRail = Omit<ISurface, 'version'> & {
|
7
6
|
value?: any;
|
8
7
|
valueDefault?: any;
|
9
8
|
onChange?: (value: any) => any;
|
@@ -14,6 +13,6 @@ export interface INavigationRail extends Omit<ISurface, 'version'> {
|
|
14
13
|
fixed?: boolean;
|
15
14
|
NavigationBarProps?: IPropsAny;
|
16
15
|
DividerProps?: IPropsAny;
|
17
|
-
}
|
16
|
+
};
|
18
17
|
declare const NavigationRail: React.FC<INavigationRail>;
|
19
18
|
export default NavigationRail;
|
package/NotFound/NotFound.d.ts
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISection } from '../Section/Section';
|
3
|
-
export
|
3
|
+
export declare type INotFound = ISection & {
|
4
4
|
name?: any;
|
5
5
|
href?: string;
|
6
6
|
to?: string;
|
7
|
+
link?: string;
|
7
8
|
start?: any;
|
8
9
|
end?: any;
|
9
10
|
renderButton?: (props: any) => any;
|
10
11
|
fullHeight?: any;
|
11
12
|
ButtonProps?: any;
|
12
13
|
TypeProps?: any;
|
13
|
-
}
|
14
|
+
};
|
14
15
|
declare const NotFound: React.FC<INotFound>;
|
15
16
|
export default NotFound;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IAdvancedTextField } from '../AdvancedTextField/AdvancedTextField';
|
3
3
|
import { IElementReference, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type INumericTextField = IAdvancedTextField & {
|
5
5
|
min?: number;
|
6
6
|
max?: number;
|
7
7
|
increment?: boolean;
|
@@ -11,6 +11,6 @@ export interface INumericTextField extends IAdvancedTextField {
|
|
11
11
|
IconIncrement?: IElementReference;
|
12
12
|
IconDecrement?: IElementReference;
|
13
13
|
IconButtonProps?: IPropsAny;
|
14
|
-
}
|
14
|
+
};
|
15
15
|
declare const NumericTextField: React.FC<INumericTextField>;
|
16
16
|
export default NumericTextField;
|
package/Page/Page.d.ts
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IElement, IElementReference } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IPageForward = {
|
5
5
|
to?: string;
|
6
6
|
name?: string;
|
7
7
|
label?: string;
|
8
|
-
}
|
9
|
-
export
|
8
|
+
};
|
9
|
+
export declare type IPage = ILine & {
|
10
10
|
back?: IPageForward;
|
11
11
|
forward?: IPageForward;
|
12
12
|
noHeader?: boolean;
|
13
13
|
name?: string | IElement;
|
14
14
|
IconBack?: IElementReference;
|
15
15
|
IconForward?: IElementReference;
|
16
|
-
}
|
16
|
+
};
|
17
17
|
declare const Page: React.FC<IPage>;
|
18
18
|
export default Page;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
|
-
export
|
3
|
+
export declare type IPageTransition = ILine & {
|
4
4
|
add?: boolean;
|
5
5
|
duration?: number;
|
6
6
|
classNames?: {
|
7
7
|
in?: string;
|
8
8
|
out?: string;
|
9
9
|
};
|
10
|
-
}
|
10
|
+
};
|
11
11
|
declare const PageTransition: React.FC<IPageTransition>;
|
12
12
|
export default PageTransition;
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
|
-
import {
|
4
|
-
export
|
5
|
-
tonal?: ITonal;
|
6
|
-
color?: IColor;
|
3
|
+
import { IVersion, IElement, IElementReference } from '../types';
|
4
|
+
export declare type IPagination = ILine & {
|
7
5
|
version?: IVersion;
|
8
6
|
elevation?: boolean;
|
9
|
-
size?: ISize;
|
10
7
|
value?: number;
|
11
8
|
valueDefault?: number;
|
12
9
|
onChange?: (value: number) => any;
|
@@ -18,12 +15,11 @@ export interface IPagination extends ILine {
|
|
18
15
|
next?: boolean;
|
19
16
|
last?: boolean;
|
20
17
|
disableSelected?: boolean;
|
21
|
-
disabled?: boolean;
|
22
18
|
renderItem?: (value: number, item: string | number, index: number) => IElement;
|
23
19
|
IconFirst?: IElementReference;
|
24
20
|
IconBefore?: IElementReference;
|
25
21
|
IconNext?: IElementReference;
|
26
22
|
IconLast?: IElementReference;
|
27
|
-
}
|
23
|
+
};
|
28
24
|
declare const Pagination: React.FC<IPagination>;
|
29
25
|
export default Pagination;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IButton } from '../Button/Button';
|
3
3
|
import { IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IPaginationItem = IButton & {
|
5
5
|
TypeProps?: IPropsAny;
|
6
|
-
}
|
6
|
+
};
|
7
7
|
declare const PaginationItem: React.FC<IPaginationItem>;
|
8
8
|
export default PaginationItem;
|
package/Parallax/Parallax.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IPropsAny, IStyle, IValueBreakpoints } from '../types';
|
3
3
|
export declare type TParallaxDirection = 'vertical' | 'horizontal';
|
4
|
-
export
|
4
|
+
export declare type IParallax = IBaseElement & {
|
5
5
|
value?: number;
|
6
6
|
root?: Element | DocumentFragment;
|
7
7
|
render?: (value: number, root: Element | DocumentFragment, rate: number, scrollDirection: TParallaxDirection, transformDirection: TParallaxDirection, transition: string, props: IPropsAny) => IStyle;
|
@@ -10,6 +10,6 @@ export interface IParallax extends IBaseElement {
|
|
10
10
|
transformDirection?: TParallaxDirection;
|
11
11
|
transition?: string;
|
12
12
|
disabled?: boolean | Partial<Record<IValueBreakpoints, boolean>>;
|
13
|
-
}
|
13
|
+
};
|
14
14
|
declare const Parallax: React.FC<IParallax>;
|
15
15
|
export default Parallax;
|
package/Path/Path.d.ts
CHANGED
package/PieChart/PieChart.d.ts
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IChart } from '../Chart/Chart';
|
3
|
-
export
|
4
|
-
|
3
|
+
export declare type IPieChart = IChart & {
|
4
|
+
gap?: number;
|
5
|
+
innerOffset?: number;
|
6
|
+
};
|
5
7
|
declare const PieChart: React.FC<IPieChart>;
|
6
8
|
export default PieChart;
|
@@ -1,12 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { IBaseElement
|
3
|
-
export
|
4
|
-
color?: IColor;
|
2
|
+
import { IBaseElement } from '../types';
|
3
|
+
export declare type IPlaceholder = Omit<IBaseElement, 'version'> & {
|
5
4
|
version?: 'rectangle' | 'rounded' | 'circle';
|
6
5
|
width?: string | number;
|
7
6
|
height?: string | number;
|
8
7
|
animation?: 'wave' | 'pulse' | boolean;
|
9
8
|
text?: boolean;
|
10
|
-
}
|
9
|
+
};
|
11
10
|
declare const Placeholder: React.FC<IPlaceholder>;
|
12
11
|
export default Placeholder;
|
package/Portal/Portal.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement } from '../types';
|
3
|
-
export
|
3
|
+
export declare type IPortal = IBaseElement & {
|
4
4
|
element?: Element | DocumentFragment;
|
5
|
-
}
|
5
|
+
};
|
6
6
|
declare const Portal: React.FC<IPortal>;
|
7
7
|
export default Portal;
|