@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/Accordion/Accordion.d.ts
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
|
-
import {
|
3
|
+
import { IElement, IElementReference, IElevation, IPropsAny } from '../types';
|
4
4
|
declare type TPadding = 'start' | 'end' | 'both' | 'none';
|
5
|
-
export
|
6
|
-
tonal?: ITonal;
|
7
|
-
color?: IColor;
|
5
|
+
export declare type IAccordion = ISurface & {
|
8
6
|
elevation?: IElevation;
|
9
7
|
primary?: IElement;
|
10
8
|
secondary?: IElement;
|
@@ -23,7 +21,6 @@ export interface IAccordion extends ISurface {
|
|
23
21
|
mainPaddingHorizontal?: TPadding;
|
24
22
|
noExpand?: boolean;
|
25
23
|
noTransition?: boolean;
|
26
|
-
disabled?: boolean;
|
27
24
|
ExpandProps?: IPropsAny;
|
28
25
|
TransitionComponentProps?: IPropsAny;
|
29
26
|
WrapperHeaderProps?: IPropsAny;
|
@@ -33,6 +30,6 @@ export interface IAccordion extends ISurface {
|
|
33
30
|
EndProps?: IPropsAny;
|
34
31
|
ExpandIcon?: IElementReference;
|
35
32
|
TransitionComponent?: IElementReference;
|
36
|
-
}
|
33
|
+
};
|
37
34
|
declare const Accordion: React.FC<IAccordion>;
|
38
35
|
export default Accordion;
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ITextField } from '../TextField/TextField';
|
3
3
|
import { IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IAdvancedTextField = ITextField & {
|
5
5
|
validate?: (value: string) => boolean;
|
6
6
|
mask?: Array<any>;
|
7
7
|
maskProactive?: boolean;
|
8
8
|
thousand?: boolean;
|
9
9
|
thousandSeparator?: ',' | '.';
|
10
10
|
TextFieldProps?: IPropsAny;
|
11
|
-
}
|
11
|
+
};
|
12
12
|
declare const AdvancedTextField: React.FC<IAdvancedTextField>;
|
13
13
|
export default AdvancedTextField;
|
package/Append/Append.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IChildren, IHTMLElement, IStyle } from '../types';
|
3
3
|
export declare type TAppendPadding = Array<number>;
|
4
|
-
export
|
4
|
+
export declare type IAppendValue = {
|
5
5
|
x?: number;
|
6
6
|
y?: number;
|
7
7
|
switch?: boolean;
|
8
8
|
init?: boolean;
|
9
|
-
}
|
10
|
-
export
|
9
|
+
};
|
10
|
+
export declare type IAppend = {
|
11
11
|
open?: boolean;
|
12
12
|
portal?: boolean;
|
13
13
|
accelerated?: boolean;
|
@@ -35,6 +35,6 @@ export interface IAppend {
|
|
35
35
|
}) => any;
|
36
36
|
children?: IChildren;
|
37
37
|
[property: string]: any;
|
38
|
-
}
|
38
|
+
};
|
39
39
|
declare const Append: React.FC<IAppend>;
|
40
40
|
export default Append;
|
package/AreaChart/AreaChart.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IChart } from '../Chart/Chart';
|
3
|
-
export
|
3
|
+
export declare type IAreaChart = IChart & {
|
4
4
|
smooth?: boolean;
|
5
5
|
smoothRatio?: number;
|
6
6
|
linearGradient?: boolean;
|
7
|
-
}
|
7
|
+
};
|
8
8
|
declare const AreaChart: React.FC<IAreaChart>;
|
9
9
|
export default AreaChart;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TMethod } from '@onesy/models';
|
3
3
|
import { IChart, IChartValueValues } from '../Chart/Chart';
|
4
|
-
export
|
4
|
+
export declare type IAreaChartItem = IChart & {
|
5
5
|
name?: string;
|
6
6
|
refs?: {
|
7
7
|
wrapper?: HTMLElement;
|
@@ -17,6 +17,8 @@ export interface IAreaChartItem extends IChart {
|
|
17
17
|
smooth?: boolean;
|
18
18
|
smoothRatio?: number;
|
19
19
|
linearGradient?: boolean;
|
20
|
-
|
20
|
+
BackgroundProps?: any;
|
21
|
+
BorderProps?: any;
|
22
|
+
};
|
21
23
|
declare const AreaChartItem: React.FC<IAreaChartItem>;
|
22
24
|
export default AreaChartItem;
|
@@ -1,16 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
|
-
import {
|
4
|
-
export
|
3
|
+
import { IElementReference, IPropsAny } from '../types';
|
4
|
+
export declare type IAudioPlayer = ILine & {
|
5
5
|
name?: string;
|
6
6
|
src?: string;
|
7
7
|
mime?: string;
|
8
8
|
meta?: any;
|
9
9
|
versions?: any;
|
10
10
|
duration?: number;
|
11
|
-
tonal?: ITonal;
|
12
|
-
color?: IColor;
|
13
|
-
size?: ISize;
|
14
11
|
start?: any;
|
15
12
|
end?: any;
|
16
13
|
startControls?: any;
|
@@ -19,13 +16,14 @@ export interface IAudioPlayer extends ILine {
|
|
19
16
|
endButtons?: any;
|
20
17
|
startEnd?: any;
|
21
18
|
endEnd?: any;
|
19
|
+
startButtonsEnd?: any;
|
20
|
+
endButtonsEnd?: any;
|
22
21
|
forward?: boolean;
|
23
22
|
backward?: boolean;
|
24
23
|
settings?: boolean;
|
25
24
|
quality?: boolean;
|
26
25
|
playbackSpeed?: boolean;
|
27
26
|
startMediaSessionOnPlay?: boolean;
|
28
|
-
disabled?: boolean;
|
29
27
|
IconPlay?: IElementReference;
|
30
28
|
IconPause?: IElementReference;
|
31
29
|
IconForward?: IElementReference;
|
@@ -48,6 +46,6 @@ export interface IAudioPlayer extends ILine {
|
|
48
46
|
SettingsButtonProps?: IPropsAny;
|
49
47
|
SettingsMenuProps?: IPropsAny;
|
50
48
|
QualityButtonProps?: IPropsAny;
|
51
|
-
}
|
49
|
+
};
|
52
50
|
declare const AudioPlayer: React.FC<IAudioPlayer>;
|
53
51
|
export default AudioPlayer;
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
|
-
import { IElementReference, IPropsAny
|
4
|
-
export
|
5
|
-
size?: ISize;
|
3
|
+
import { IElementReference, IPropsAny } from '../types';
|
4
|
+
export declare type IAudioRecorder = ILine & {
|
6
5
|
pause?: boolean;
|
7
6
|
renderMain?: (props: {
|
8
7
|
onStart: () => any;
|
@@ -10,7 +9,6 @@ export interface IAudioRecorder extends ILine {
|
|
10
9
|
}) => any;
|
11
10
|
renderTime?: (value: string) => any;
|
12
11
|
loading?: any;
|
13
|
-
disabled?: any;
|
14
12
|
Icon?: IElementReference;
|
15
13
|
IconConfirm?: IElementReference;
|
16
14
|
IconStart?: IElementReference;
|
@@ -28,6 +26,6 @@ export interface IAudioRecorder extends ILine {
|
|
28
26
|
TooltipProps?: IPropsAny;
|
29
27
|
IconButtonProps?: IPropsAny;
|
30
28
|
IconProps?: IPropsAny;
|
31
|
-
}
|
29
|
+
};
|
32
30
|
declare const AudioRecorder: React.FC<IAudioRecorder>;
|
33
31
|
export default AudioRecorder;
|
@@ -7,7 +7,7 @@ export declare type TAutoCompleteOption = {
|
|
7
7
|
version?: 'text' | 'subheader';
|
8
8
|
noOptions?: boolean;
|
9
9
|
};
|
10
|
-
export
|
10
|
+
export declare type IAutoComplete = ITextField & {
|
11
11
|
value?: any;
|
12
12
|
valueDefault?: any;
|
13
13
|
onChange?: (value: any) => any;
|
@@ -16,7 +16,6 @@ export interface IAutoComplete extends ITextField {
|
|
16
16
|
onChangeInput?: (value: string) => any;
|
17
17
|
multiple?: boolean;
|
18
18
|
autoWidth?: boolean;
|
19
|
-
readOnly?: boolean;
|
20
19
|
getLabel?: (item: any, props?: any) => any;
|
21
20
|
equal?: (value1: any, value2: any) => boolean;
|
22
21
|
equalInput?: (input: string, value: any) => boolean;
|
@@ -47,7 +46,6 @@ export interface IAutoComplete extends ITextField {
|
|
47
46
|
selectOnFocus?: boolean;
|
48
47
|
clearOnBlur?: boolean;
|
49
48
|
noInputValue?: boolean;
|
50
|
-
disabled?: boolean;
|
51
49
|
IconClear?: IElementReference;
|
52
50
|
IconDropdown?: IElementReference;
|
53
51
|
WrapperProps?: IPropsAny;
|
@@ -57,6 +55,6 @@ export interface IAutoComplete extends ITextField {
|
|
57
55
|
IconButtonProps?: IPropsAny;
|
58
56
|
InputProps?: IPropsAny;
|
59
57
|
IconProps?: IPropsAny;
|
60
|
-
}
|
58
|
+
};
|
61
59
|
declare const AutoComplete: React.FC<IAutoComplete>;
|
62
60
|
export default AutoComplete;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IAutoComplete } from '../AutoComplete/AutoComplete';
|
3
|
-
export
|
4
|
-
}
|
3
|
+
export declare type IAutoCompleteCountry = IAutoComplete & {};
|
5
4
|
declare const AutoCompleteCountry: React.FC<IAutoCompleteCountry>;
|
6
5
|
export default AutoCompleteCountry;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IAutoComplete } from '../AutoComplete/AutoComplete';
|
3
|
-
export
|
4
|
-
}
|
3
|
+
export declare type IAutoCompleteCurrency = IAutoComplete & {};
|
5
4
|
declare const AutoCompleteCurrency: React.FC<IAutoCompleteCurrency>;
|
6
5
|
export default AutoCompleteCurrency;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IAutoComplete } from '../AutoComplete/AutoComplete';
|
3
|
-
export
|
4
|
-
|
3
|
+
export declare type IAutoCompleteGooglePlaces = IAutoComplete & {
|
4
|
+
optionsGoogle?: any;
|
5
|
+
};
|
5
6
|
declare const AutoCompleteGooglePlaces: React.FC<IAutoCompleteGooglePlaces>;
|
6
7
|
export default AutoCompleteGooglePlaces;
|
package/Avatar/Avatar.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IButton } from '../Button/Button';
|
3
3
|
import { IElevation, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IAvatar = Omit<IButton, 'elevation'> & {
|
5
5
|
image?: string;
|
6
6
|
alt?: string;
|
7
7
|
square?: boolean;
|
8
8
|
elevation?: IElevation;
|
9
9
|
TypeProps?: IPropsAny;
|
10
10
|
InteractionProps?: IPropsAny;
|
11
|
-
}
|
11
|
+
};
|
12
12
|
declare const Avatar: React.FC<IAvatar>;
|
13
13
|
export default Avatar;
|
@@ -1,15 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IAvatar } from '../Avatar/Avatar';
|
3
|
-
import {
|
4
|
-
export
|
5
|
-
tonal?: ITonal;
|
6
|
-
color?: IColor;
|
7
|
-
size?: ISizeAny;
|
3
|
+
import { IElement, IPropsAny } from '../types';
|
4
|
+
export declare type IAvatarGroup = IAvatar & {
|
8
5
|
total?: number;
|
9
6
|
max?: number;
|
10
|
-
disabled?: boolean;
|
11
7
|
AdditionalAvatar?: IElement;
|
12
8
|
AdditionalAvatarProps?: IPropsAny;
|
13
|
-
}
|
9
|
+
};
|
14
10
|
declare const AvatarGroup: React.FC<IAvatarGroup>;
|
15
11
|
export default AvatarGroup;
|
package/Backdrop/Backdrop.d.ts
CHANGED
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { TMethod } from '@onesy/utils';
|
3
3
|
import { ILine } from '../Line/Line';
|
4
4
|
import { IElementReference, IPropsAny } from '../types';
|
5
|
-
export
|
5
|
+
export declare type IBackdrop = ILine & {
|
6
6
|
open?: boolean;
|
7
7
|
invisible?: boolean;
|
8
8
|
disableKeyboardClose?: boolean;
|
@@ -12,6 +12,6 @@ export interface IBackdrop extends ILine {
|
|
12
12
|
BackgroundProps?: IPropsAny;
|
13
13
|
ModalProps?: IPropsAny;
|
14
14
|
onClose?: TMethod;
|
15
|
-
}
|
15
|
+
};
|
16
16
|
declare const Backdrop: React.FC<IBackdrop>;
|
17
17
|
export default Backdrop;
|
package/Badge/Badge.d.ts
CHANGED
@@ -1,14 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { IBaseElement
|
3
|
-
export
|
4
|
-
tonal?: ITonal;
|
5
|
-
color?: IColor;
|
2
|
+
import { IBaseElement } from '../types';
|
3
|
+
export declare type IBadge = IBaseElement & {
|
6
4
|
value?: number;
|
7
5
|
max?: number;
|
8
6
|
vertical?: 'top' | 'bottom';
|
9
7
|
horizontal?: 'left' | 'right';
|
10
8
|
indicator?: boolean;
|
11
9
|
element?: any;
|
12
|
-
}
|
10
|
+
};
|
13
11
|
declare const Badge: React.FC<IBadge>;
|
14
12
|
export default Badge;
|
package/Banner/Banner.d.ts
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { IBaseElement, IElement
|
3
|
-
export
|
4
|
-
size?: ISize;
|
2
|
+
import { IBaseElement, IElement } from '../types';
|
3
|
+
export declare type IBanner = IBaseElement & {
|
5
4
|
maxWidth?: string | number;
|
6
5
|
actions?: IElement;
|
7
6
|
start?: any;
|
8
7
|
end?: any;
|
9
|
-
|
8
|
+
footer?: any;
|
9
|
+
line?: any;
|
10
|
+
RootProps?: any;
|
11
|
+
};
|
10
12
|
declare const Banner: React.FC<IBanner>;
|
11
13
|
export default Banner;
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
|
-
import { IElement
|
4
|
-
export
|
5
|
-
size?: ISize;
|
3
|
+
import { IElement } from '../types';
|
4
|
+
export declare type IBottomAppBar = ISurface & {
|
6
5
|
main?: IElement;
|
7
6
|
fixed?: boolean;
|
8
7
|
noTransition?: boolean;
|
9
|
-
}
|
8
|
+
};
|
10
9
|
declare const BottomAppBar: React.FC<IBottomAppBar>;
|
11
10
|
export default BottomAppBar;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { INavigationDrawer } from '../NavigationDrawer/NavigationDrawer';
|
3
|
-
export
|
4
|
-
}
|
3
|
+
export declare type IBottomSheet = INavigationDrawer & {};
|
5
4
|
declare const BottomSheet: React.FC<IBottomSheet>;
|
6
5
|
export default BottomSheet;
|
package/Box/Box.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TValue } from '@onesy/style';
|
3
3
|
import { IBaseElement } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IBox = IBaseElement & {
|
5
5
|
styles?: string | TValue;
|
6
|
-
}
|
6
|
+
};
|
7
7
|
declare const Box: React.FC<IBox>;
|
8
8
|
export default Box;
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IElement } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IBreadcrumbs = ILine & {
|
5
5
|
separator?: IElement | string;
|
6
6
|
max?: number;
|
7
7
|
renderMore?: (onExpandMore: () => void) => IElement;
|
8
|
-
|
8
|
+
IconMore?: any;
|
9
|
+
MoreProps?: any;
|
10
|
+
};
|
9
11
|
declare const Breadcrumbs: React.FC<IBreadcrumbs>;
|
10
12
|
export default Breadcrumbs;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TMethod } from '@onesy/models';
|
3
3
|
import { IChart, IChartValueValues } from '../Chart/Chart';
|
4
|
-
export
|
4
|
+
export declare type IBubbleChartItem = IChart & {
|
5
5
|
name?: string;
|
6
6
|
minSize?: number;
|
7
7
|
maxSize?: number;
|
@@ -16,6 +16,6 @@ export interface IBubbleChartItem extends IChart {
|
|
16
16
|
values?: IChartValueValues;
|
17
17
|
updateDefs?: TMethod;
|
18
18
|
updateLegend?: TMethod;
|
19
|
-
}
|
19
|
+
};
|
20
20
|
declare const BubbleChartItem: React.FC<IBubbleChartItem>;
|
21
21
|
export default BubbleChartItem;
|
package/Button/Button.d.ts
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
|
-
import { IElement, IElementReference, IPropsAny
|
4
|
-
export
|
3
|
+
import { IElement, IElementReference, IPropsAny } from '../types';
|
4
|
+
export declare type IButton = Omit<ISurface, 'elevation'> & {
|
5
5
|
name?: any;
|
6
|
-
size?: ISizeAny;
|
7
6
|
fullWidth?: boolean;
|
8
7
|
fontSize?: string | number;
|
9
8
|
selected?: boolean;
|
@@ -27,13 +26,13 @@ export interface IButton extends Omit<ISurface, 'elevation'> {
|
|
27
26
|
noIconRootFontSize?: boolean;
|
28
27
|
firstLevelChildren?: IElement;
|
29
28
|
noFontSize?: boolean;
|
30
|
-
|
29
|
+
href?: string;
|
31
30
|
onFocus?: (event: React.FocusEvent<any>) => any;
|
32
31
|
onBlur?: (event: React.FocusEvent<any>) => any;
|
33
32
|
IconWrapperComponent?: IElementReference;
|
34
33
|
InteractionProps?: IPropsAny;
|
35
34
|
IconWrapperProps?: IPropsAny;
|
36
35
|
LabelProps?: IPropsAny;
|
37
|
-
}
|
36
|
+
};
|
38
37
|
declare const Button: React.FC<IButton>;
|
39
38
|
export default Button;
|
package/Buttons/Buttons.d.ts
CHANGED
@@ -1,14 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
|
-
import { IColor,
|
3
|
+
import { IColor, IValueBreakpoints, IVersion } from '../types';
|
4
4
|
export declare const IconMaterialDone: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
5
5
|
export declare const IconDoneAnimated: (props: any) => import("react/jsx-runtime").JSX.Element;
|
6
|
-
export
|
7
|
-
tonal?: ITonal;
|
8
|
-
color?: IColor;
|
6
|
+
export declare type IButtons = ILine & {
|
9
7
|
version?: IVersion;
|
10
8
|
colorSelected?: IColor;
|
11
|
-
size?: ISize;
|
12
9
|
value?: any;
|
13
10
|
valueDefault?: any;
|
14
11
|
onChange?: (value: any) => any;
|
@@ -20,7 +17,6 @@ export interface IButtons extends ILine {
|
|
20
17
|
border?: boolean;
|
21
18
|
chip?: boolean;
|
22
19
|
fullWidth?: boolean;
|
23
|
-
|
24
|
-
}
|
20
|
+
};
|
25
21
|
declare const Buttons: React.FC<IButtons>;
|
26
22
|
export default Buttons;
|
package/Calendar/Calendar.d.ts
CHANGED
@@ -2,16 +2,13 @@ import React from 'react';
|
|
2
2
|
import { OnesyDate } from '@onesy/date';
|
3
3
|
import { ICalenarDays, TCalendarMonthCalendar, TCalendarMonthValue } from '../CalendarMonth/CalendarMonth';
|
4
4
|
import { ISurface } from '../Surface/Surface';
|
5
|
-
import {
|
5
|
+
import { IElementReference, IPropsAny } from '../types';
|
6
6
|
export declare type TGetOnesyDates = (value: TCalendarMonthValue, calendar: TCalendarMonthCalendar, props: IPropsAny) => Array<{
|
7
7
|
value: OnesyDate;
|
8
8
|
}>;
|
9
9
|
export declare type TCalendarUnit = 'day' | 'month' | 'year';
|
10
|
-
export
|
11
|
-
tonal?: ITonal;
|
12
|
-
color?: IColor;
|
10
|
+
export declare type ICalendar = Omit<ISurface, 'version'> & {
|
13
11
|
version?: 'regular' | 'year';
|
14
|
-
size?: ISize;
|
15
12
|
value?: TCalendarMonthValue;
|
16
13
|
valueDefault?: TCalendarMonthValue;
|
17
14
|
onChange?: (value: TCalendarMonthValue) => any;
|
@@ -30,8 +27,10 @@ export interface ICalendar extends Omit<ISurface, 'version'> {
|
|
30
27
|
menu_month_previous_unit?: TCalendarUnit;
|
31
28
|
menu_month_next_unit?: TCalendarUnit;
|
32
29
|
valid?: (value: OnesyDate, version: TCalendarUnit) => boolean;
|
33
|
-
|
34
|
-
|
30
|
+
getMonths?: TGetOnesyDates;
|
31
|
+
getYears?: TGetOnesyDates;
|
32
|
+
renderDay?: (value: OnesyDate, props: any, day: any, outside: boolean) => React.ReactNode;
|
33
|
+
renderDayName?: (order: number) => any;
|
35
34
|
belowCalendars?: any;
|
36
35
|
IconPrevious?: IElementReference;
|
37
36
|
IconNext?: IElementReference;
|
@@ -39,6 +38,7 @@ export interface ICalendar extends Omit<ISurface, 'version'> {
|
|
39
38
|
CalendarMonthProps?: any;
|
40
39
|
CalendarDayProps?: ICalenarDays;
|
41
40
|
OptionButtonProps?: any;
|
42
|
-
|
41
|
+
PaginationItemsProps?: any;
|
42
|
+
};
|
43
43
|
declare const Calendar: React.FC<ICalendar>;
|
44
44
|
export default Calendar;
|
@@ -3,15 +3,15 @@ import { OnesyDate } from '@onesy/date';
|
|
3
3
|
import { ILine } from '../Line/Line';
|
4
4
|
import { IElement } from '../types';
|
5
5
|
import { ICalendarViewsView } from '../CalendarViews/CalendarViews';
|
6
|
-
export
|
6
|
+
export declare type ICalendarEvent = {
|
7
7
|
id?: string;
|
8
8
|
description?: string;
|
9
9
|
from?: number;
|
10
10
|
to?: number;
|
11
11
|
status?: string;
|
12
12
|
color?: string;
|
13
|
-
}
|
14
|
-
export
|
13
|
+
};
|
14
|
+
export declare type ICalendarAvailability = ILine & {
|
15
15
|
name?: string | IElement;
|
16
16
|
date?: OnesyDate;
|
17
17
|
dateDefault?: OnesyDate;
|
@@ -35,12 +35,13 @@ export interface ICalendarAvailability extends ILine {
|
|
35
35
|
IconPrevious?: any;
|
36
36
|
IconNext?: any;
|
37
37
|
IconDescription?: any;
|
38
|
+
IconEdit?: any;
|
38
39
|
IconRemove?: any;
|
39
40
|
IconClose?: any;
|
40
41
|
WeekProps?: any;
|
41
42
|
DayProps?: any;
|
42
43
|
IconProps?: any;
|
43
44
|
IconButtonProps?: any;
|
44
|
-
}
|
45
|
+
};
|
45
46
|
declare const CalendarAvailability: React.FC<ICalendarAvailability>;
|
46
47
|
export default CalendarAvailability;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IMenu } from '../Menu/Menu';
|
3
|
-
export
|
3
|
+
export declare type ICalendarMenu = IMenu & {
|
4
4
|
value?: any;
|
5
5
|
onChange?: (...args: any) => any;
|
6
6
|
dateProperty?: string;
|
@@ -13,6 +13,6 @@ export interface ICalendarMenu extends IMenu {
|
|
13
13
|
startBottom?: any;
|
14
14
|
endBottom?: any;
|
15
15
|
noRemove?: boolean;
|
16
|
-
}
|
16
|
+
};
|
17
17
|
declare const CalendarMenu: React.FC<ICalendarMenu>;
|
18
18
|
export default CalendarMenu;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { OnesyDate } from '@onesy/date';
|
3
3
|
import { ILine } from '../Line/Line';
|
4
|
-
import {
|
4
|
+
import { IPropsAny } from '../types';
|
5
5
|
import { ICalendarViewsView } from '../CalendarViews/CalendarViews';
|
6
6
|
export declare type TCalendarMonthValue = OnesyDate | [OnesyDate, OnesyDate];
|
7
7
|
export declare type TCalendarMonthCalendar = OnesyDate;
|
8
|
-
export
|
8
|
+
export declare type ICalendarMonthValuesValue = {
|
9
9
|
day: string;
|
10
10
|
month: string;
|
11
11
|
year: string;
|
@@ -15,12 +15,9 @@ export interface ICalendarMonthValuesValue {
|
|
15
15
|
date: OnesyDate;
|
16
16
|
previous: OnesyDate;
|
17
17
|
move: 'previous' | 'next';
|
18
|
-
}
|
18
|
+
};
|
19
19
|
export declare type TCalendarMonthValues = [ICalendarMonthValuesValue, ICalendarMonthValuesValue];
|
20
|
-
export
|
21
|
-
tonal?: ITonal;
|
22
|
-
color?: IColor;
|
23
|
-
size?: ISize;
|
20
|
+
export declare type ICalenarDays = ILine & {
|
24
21
|
value?: TCalendarMonthValue;
|
25
22
|
valueDefault?: TCalendarMonthValue;
|
26
23
|
onChange?: (value: TCalendarMonthValue) => any;
|
@@ -46,6 +43,6 @@ export interface ICalenarDays extends ILine {
|
|
46
43
|
PaginationItemProps?: IPropsAny;
|
47
44
|
TransitionProps?: IPropsAny;
|
48
45
|
TransitionsProps?: IPropsAny;
|
49
|
-
}
|
46
|
+
};
|
50
47
|
declare const CalendarMonth: React.FC<ICalenarDays>;
|
51
48
|
export default CalendarMonth;
|
@@ -3,7 +3,7 @@ import { OnesyDate } from '@onesy/date';
|
|
3
3
|
import { ICalendar } from '../Calendar/Calendar';
|
4
4
|
import { ICalendarEvent } from '../CalendarAvailability/CalendarAvailability';
|
5
5
|
export declare type ICalendarViewsView = 'day' | 'week' | 'month';
|
6
|
-
export
|
6
|
+
export declare type ICalendarViews = ICalendar & {
|
7
7
|
viewDefault?: ICalendarViewsView;
|
8
8
|
dateDefault?: OnesyDate;
|
9
9
|
times?: any;
|
@@ -25,6 +25,6 @@ export interface ICalendarViews extends ICalendar {
|
|
25
25
|
WeekProps?: any;
|
26
26
|
DayProps?: any;
|
27
27
|
CalendarMonthProps?: any;
|
28
|
-
}
|
28
|
+
};
|
29
29
|
declare const CalendarViews: React.FC<ICalendarViews>;
|
30
30
|
export default CalendarViews;
|
@@ -3,7 +3,7 @@ import { OnesyDate } from '@onesy/date';
|
|
3
3
|
import { ILine } from '../Line/Line';
|
4
4
|
import { ICalendarEvent } from '../CalendarAvailability/CalendarAvailability';
|
5
5
|
import { ICalendarViewsView } from '../CalendarViews/CalendarViews';
|
6
|
-
export
|
6
|
+
export declare type ICalendarWeek = ILine & {
|
7
7
|
date?: OnesyDate;
|
8
8
|
times?: any;
|
9
9
|
events?: ICalendarEvent[];
|
@@ -13,6 +13,6 @@ export interface ICalendarWeek extends ILine {
|
|
13
13
|
statuses?: any;
|
14
14
|
displayTime?: any;
|
15
15
|
day?: boolean;
|
16
|
-
}
|
16
|
+
};
|
17
17
|
declare const CalendarWeek: React.FC<ICalendarWeek>;
|
18
18
|
export default CalendarWeek;
|
package/Card/Card.d.ts
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
3
|
import { IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type ICard = ISurface & {
|
5
5
|
focus?: boolean;
|
6
6
|
selected?: boolean;
|
7
7
|
button?: boolean;
|
8
8
|
href?: boolean;
|
9
|
-
disabled?: boolean;
|
10
9
|
onFocus?: (event: React.FocusEvent<any>) => any;
|
11
10
|
onBlur?: (event: React.FocusEvent<any>) => any;
|
12
11
|
InteractionProps?: IPropsAny;
|
13
|
-
}
|
12
|
+
};
|
14
13
|
declare const Card: React.FC<ICard>;
|
15
14
|
export default Card;
|