@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
@@ -1,18 +1,18 @@
|
|
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 IPropertiesValue = {
|
5
5
|
name: any;
|
6
6
|
value: any;
|
7
7
|
separator?: any;
|
8
8
|
props?: any;
|
9
|
-
}
|
10
|
-
export
|
9
|
+
};
|
10
|
+
export declare type IProperties = ILine & {
|
11
11
|
version?: 'row' | 'row-20' | 'row-50' | 'row-between' | 'column';
|
12
|
-
size?: 'small' | 'regular' | 'large';
|
13
12
|
values?: (boolean | IPropertiesValue)[];
|
13
|
+
onlyWithValues?: boolean;
|
14
14
|
maxWidth?: 'extra_small' | 'small' | 'regular' | 'large' | 'extra_large' | 'extra_extra_large';
|
15
15
|
PropertyProps?: IPropsAny;
|
16
|
-
}
|
16
|
+
};
|
17
17
|
declare const Properties: React.FC<IProperties>;
|
18
18
|
export default Properties;
|
package/Property/Property.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
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 IProperty = ILine & {
|
5
5
|
name?: any;
|
6
6
|
value?: any;
|
7
7
|
separator?: any;
|
@@ -13,6 +13,6 @@ export interface IProperty extends ILine {
|
|
13
13
|
NameProps?: IPropsAny;
|
14
14
|
NameWrapperProps?: IPropsAny;
|
15
15
|
ValueProps?: IPropsAny;
|
16
|
-
}
|
16
|
+
};
|
17
17
|
declare const Property: React.FC<IProperty>;
|
18
18
|
export default Property;
|
package/Radio/Radio.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IIconButton } from '../IconButton/IconButton';
|
3
3
|
import { IRef, IColor } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IRadio = IIconButton & {
|
5
5
|
inputRef?: IRef;
|
6
6
|
colorUnchecked?: IColor;
|
7
7
|
valueDefault?: boolean;
|
@@ -11,6 +11,6 @@ export interface IRadio extends IIconButton {
|
|
11
11
|
render?: (value: boolean, props: any) => any;
|
12
12
|
onChange?: (value: boolean, event: React.ChangeEvent<any>) => any;
|
13
13
|
disabled?: boolean;
|
14
|
-
}
|
14
|
+
};
|
15
15
|
declare const Radio: React.FC<IRadio>;
|
16
16
|
export default Radio;
|
package/Radios/Radios.d.ts
CHANGED
@@ -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 { IColor, IVersion, IElement, IPropsAny } from '../types';
|
4
|
+
export declare type IRadios = ILine & {
|
7
5
|
colorUnchecked?: IColor;
|
8
6
|
version?: IVersion;
|
9
|
-
size?: ISize;
|
10
7
|
name?: IElement;
|
11
8
|
label?: IElement;
|
12
9
|
uncheck?: boolean;
|
@@ -15,9 +12,8 @@ export interface IRadios extends ILine {
|
|
15
12
|
value?: any;
|
16
13
|
checked?: any;
|
17
14
|
onChange?: (value: any) => any;
|
18
|
-
disabled?: boolean;
|
19
15
|
WrapperProps?: IPropsAny;
|
20
16
|
LabelProps?: IPropsAny;
|
21
|
-
}
|
17
|
+
};
|
22
18
|
declare const Radios: React.FC<IRadios>;
|
23
19
|
export default Radios;
|
package/Rating/Rating.d.ts
CHANGED
@@ -1,10 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { IBaseElement,
|
3
|
-
export
|
4
|
-
tonal?: ITonal;
|
5
|
-
color?: IColor;
|
2
|
+
import { IBaseElement, IColor, IElement } from '../types';
|
3
|
+
export declare type IRating = IBaseElement & {
|
6
4
|
colorInactive?: IColor;
|
7
|
-
size?: ISize;
|
8
5
|
value?: number;
|
9
6
|
valueDefault?: number;
|
10
7
|
valueActive?: number;
|
@@ -14,8 +11,6 @@ export interface IRating extends IBaseElement {
|
|
14
11
|
values?: number;
|
15
12
|
precision?: number;
|
16
13
|
onlyValue?: boolean;
|
17
|
-
readOnly?: boolean;
|
18
|
-
disabled?: boolean;
|
19
14
|
icon?: IElement;
|
20
15
|
icons?: {
|
21
16
|
default?: IElement;
|
@@ -26,6 +21,6 @@ export interface IRating extends IBaseElement {
|
|
26
21
|
IconProps?: any;
|
27
22
|
IconActiveProps?: any;
|
28
23
|
IconInactiveProps?: any;
|
29
|
-
}
|
24
|
+
};
|
30
25
|
declare const Rating: React.FC<IRating>;
|
31
26
|
export default Rating;
|
package/Reset/Reset.d.ts
CHANGED
package/Reveal/Reveal.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IFade } from '../Fade/Fade';
|
3
3
|
import { IUseVisible } from '../useVisible/useVisible';
|
4
|
-
export
|
4
|
+
export declare type IReveal = IFade & {
|
5
5
|
inDefault?: boolean;
|
6
6
|
offset?: number;
|
7
7
|
offsetReveal?: number;
|
@@ -17,6 +17,6 @@ export interface IReveal extends IFade {
|
|
17
17
|
onChange?: (value: boolean) => any;
|
18
18
|
noTransition?: boolean;
|
19
19
|
UseVisibleProps?: IUseVisible;
|
20
|
-
}
|
20
|
+
};
|
21
21
|
declare const Reveal: React.FC<IReveal>;
|
22
22
|
export default Reveal;
|
@@ -1,9 +1,7 @@
|
|
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, IPropsAny, IElement, IElementReference } from '../types';
|
4
|
+
export declare type IRichTextEditor = ILine & {
|
7
5
|
version?: IVersion;
|
8
6
|
value?: string;
|
9
7
|
onChange?: (event: React.ChangeEvent<any>) => any;
|
@@ -71,6 +69,6 @@ export interface IRichTextEditor extends ILine {
|
|
71
69
|
DrawingProps?: IPropsAny;
|
72
70
|
IconProps?: IPropsAny;
|
73
71
|
ColorTextFieldProps?: IPropsAny;
|
74
|
-
}
|
72
|
+
};
|
75
73
|
declare const RichTextEditor: React.FC<IRichTextEditor>;
|
76
74
|
export default RichTextEditor;
|
@@ -1,9 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { IBaseElement,
|
3
|
-
export
|
4
|
-
tonal?: ITonal;
|
5
|
-
color?: IColor;
|
6
|
-
size?: ISize;
|
2
|
+
import { IBaseElement, IStyle, IElement, IPropsAny } from '../types';
|
3
|
+
export declare type IRoundMeter = IBaseElement & {
|
7
4
|
parts?: number;
|
8
5
|
lineCap?: 'inherit' | 'round' | 'square' | 'butt';
|
9
6
|
padding?: number;
|
@@ -45,6 +42,6 @@ export interface IRoundMeter extends IBaseElement {
|
|
45
42
|
ArcMainProps?: IPropsAny;
|
46
43
|
ArcsProgressProps?: IPropsAny;
|
47
44
|
ArcProgressProps?: IPropsAny;
|
48
|
-
}
|
45
|
+
};
|
49
46
|
declare const RoundMeter: React.FC<IRoundMeter>;
|
50
47
|
export default RoundMeter;
|
@@ -1,9 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { IBaseElement,
|
3
|
-
export
|
4
|
-
tonal?: ITonal;
|
5
|
-
color?: IColor;
|
6
|
-
size?: ISize;
|
2
|
+
import { IBaseElement, IPropsAny } from '../types';
|
3
|
+
export declare type IRoundProgress = IBaseElement & {
|
7
4
|
version?: 'determinate' | 'indeterminate';
|
8
5
|
value?: number;
|
9
6
|
noShrink?: boolean;
|
@@ -11,6 +8,6 @@ export interface IRoundProgress extends IBaseElement {
|
|
11
8
|
rounded?: boolean;
|
12
9
|
pathProps?: IPropsAny;
|
13
10
|
pathBackgroundProps?: IPropsAny;
|
14
|
-
}
|
11
|
+
};
|
15
12
|
declare const RoundProgress: React.FC<IRoundProgress>;
|
16
13
|
export default RoundProgress;
|
@@ -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 IScatterChartItem = IChart & {
|
5
5
|
name?: string;
|
6
6
|
refs?: {
|
7
7
|
wrapper?: HTMLElement;
|
@@ -14,6 +14,8 @@ export interface IScatterChartItem extends IChart {
|
|
14
14
|
values?: IChartValueValues;
|
15
15
|
updateDefs?: TMethod;
|
16
16
|
updateLegend?: TMethod;
|
17
|
-
|
17
|
+
BackgroundProps?: any;
|
18
|
+
BorderProps?: any;
|
19
|
+
};
|
18
20
|
declare const ScatterChartItem: React.FC<IScatterChartItem>;
|
19
21
|
export default ScatterChartItem;
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
3
|
import { IElementReference, IPropsAny } from '../types';
|
4
4
|
export declare type TTrackValueVersion = 'image' | 'canvas';
|
5
|
-
export
|
5
|
+
export declare type IScreenCapture = ISurface & {
|
6
6
|
nameDefault?: string;
|
7
7
|
name?: string;
|
8
8
|
onChangeName?: (value: string) => any;
|
@@ -25,6 +25,6 @@ export interface IScreenCapture extends ISurface {
|
|
25
25
|
TooltipProps?: IPropsAny;
|
26
26
|
IconButtonProps?: IPropsAny;
|
27
27
|
ImageCropProps?: IPropsAny;
|
28
|
-
}
|
28
|
+
};
|
29
29
|
declare const ScreenCapture: React.FC<IScreenCapture>;
|
30
30
|
export default ScreenCapture;
|
package/Section/Section.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { TPaletteVersion } from '@onesy/style-react';
|
|
3
3
|
import { ILine } from '../Line/Line';
|
4
4
|
import { IValueBreakpoints, IMediaObject, IPropsAny } from '../types';
|
5
5
|
export declare type ISize = 'extra_small' | 'small' | 'regular' | 'large' | 'extra_large' | 'extra_extra_large';
|
6
|
-
export
|
6
|
+
export declare type ISection = ILine & {
|
7
7
|
themed?: boolean;
|
8
8
|
title?: string | Partial<Record<IValueBreakpoints, string>>;
|
9
9
|
description?: string | Partial<Record<IValueBreakpoints, string>>;
|
@@ -28,6 +28,6 @@ export interface ISection extends ILine {
|
|
28
28
|
HeaderProps?: IPropsAny;
|
29
29
|
RevealProps?: IPropsAny;
|
30
30
|
AdditionalProps?: IPropsAny;
|
31
|
-
}
|
31
|
+
};
|
32
32
|
declare const Section: React.FC<ISection>;
|
33
33
|
export default Section;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISection } from '../Section/Section';
|
3
3
|
import { IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type ISectionAction = ISection & {
|
5
5
|
text?: string;
|
6
6
|
link?: string;
|
7
7
|
to?: string;
|
8
8
|
ButtonProps?: IPropsAny;
|
9
|
-
}
|
9
|
+
};
|
10
10
|
declare const Element: React.FC<ISectionAction>;
|
11
11
|
export default Element;
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { TPaletteVersion } from '@onesy/style-react';
|
3
3
|
import { ISection } from '../Section/Section';
|
4
4
|
import { IMediaObject, IPropsAny } from '../types';
|
5
|
-
export
|
5
|
+
export declare type ISectionBoxesItem = {
|
6
6
|
name?: any;
|
7
7
|
description?: any;
|
8
8
|
buttonText?: any;
|
@@ -21,13 +21,13 @@ export interface ISectionBoxesItem {
|
|
21
21
|
propsButton?: any;
|
22
22
|
propsWrapperText?: any;
|
23
23
|
propsActions?: any;
|
24
|
-
}
|
25
|
-
export
|
24
|
+
};
|
25
|
+
export declare type ISectionBoxes = ISection & {
|
26
26
|
size?: 'small' | 'regular' | 'large';
|
27
27
|
values?: ISectionBoxesItem[];
|
28
28
|
responsive?: boolean;
|
29
29
|
ItemProps?: IPropsAny;
|
30
30
|
ItemsProps?: IPropsAny;
|
31
|
-
}
|
31
|
+
};
|
32
32
|
declare const Element: React.FC<ISectionBoxes>;
|
33
33
|
export default Element;
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { TPaletteVersion } from '@onesy/style-react';
|
3
3
|
import { ISection } from '../Section/Section';
|
4
4
|
import { IMediaObject, IPropsAny } from '../types';
|
5
|
-
export
|
5
|
+
export declare type ISectionCardsItem = {
|
6
6
|
name?: any;
|
7
7
|
description?: any;
|
8
8
|
buttonText?: any;
|
@@ -22,12 +22,12 @@ export interface ISectionCardsItem {
|
|
22
22
|
propsButton?: any;
|
23
23
|
propsWrapperText?: any;
|
24
24
|
propsActions?: any;
|
25
|
-
}
|
26
|
-
export
|
25
|
+
};
|
26
|
+
export declare type ISectionCards = ISection & {
|
27
27
|
size?: 'small' | 'regular' | 'large';
|
28
28
|
values?: ISectionCardsItem[];
|
29
29
|
ItemProps?: IPropsAny;
|
30
30
|
ItemsProps?: IPropsAny;
|
31
|
-
}
|
31
|
+
};
|
32
32
|
declare const Element: React.FC<ISectionCards>;
|
33
33
|
export default Element;
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { TPaletteVersion } from '@onesy/style-react';
|
3
3
|
import { ISection } from '../Section/Section';
|
4
4
|
import { IMediaObject, IPropsAny } from '../types';
|
5
|
-
export
|
5
|
+
export declare type ISectionCarouselItem = {
|
6
6
|
name?: any;
|
7
7
|
description?: any;
|
8
8
|
buttonText?: any;
|
@@ -19,14 +19,14 @@ export interface ISectionCarouselItem {
|
|
19
19
|
propsDescription?: any;
|
20
20
|
propsButton?: any;
|
21
21
|
propsButtonWrapper?: any;
|
22
|
-
}
|
23
|
-
export
|
22
|
+
};
|
23
|
+
export declare type ISectionCarousel = ISection & {
|
24
24
|
size?: 'small' | 'regular' | 'large';
|
25
25
|
values?: ISectionCarouselItem[];
|
26
26
|
fullHeight?: boolean;
|
27
27
|
responsive?: boolean;
|
28
28
|
ItemProps?: IPropsAny;
|
29
29
|
CarouselProps?: IPropsAny;
|
30
|
-
}
|
30
|
+
};
|
31
31
|
declare const Element: React.FC<ISectionCarousel>;
|
32
32
|
export default Element;
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { TPaletteVersion } from '@onesy/style-react';
|
3
3
|
import { ISection } from '../Section/Section';
|
4
4
|
import { IPropsAny } from '../types';
|
5
|
-
export
|
5
|
+
export declare type ISectionContact = ISection & {
|
6
6
|
map?: {
|
7
7
|
latitude: number;
|
8
8
|
longitude: number;
|
@@ -22,6 +22,6 @@ export interface ISectionContact extends ISection {
|
|
22
22
|
HeadingProps?: IPropsAny;
|
23
23
|
SummaryProps?: IPropsAny;
|
24
24
|
PropertiesProps?: IPropsAny;
|
25
|
-
}
|
25
|
+
};
|
26
26
|
declare const Element: React.FC<ISectionContact>;
|
27
27
|
export default Element;
|
@@ -2,10 +2,10 @@ import React from 'react';
|
|
2
2
|
import { ISection } from '../Section/Section';
|
3
3
|
import { IImageGallery } from '../ImageGallery/ImageGallery';
|
4
4
|
import { IMediaObject } from '../types';
|
5
|
-
export
|
5
|
+
export declare type ISectionImageGallery = ISection & {
|
6
6
|
values?: IMediaObject[];
|
7
7
|
value?: number;
|
8
8
|
ImageGalleryProps?: IImageGallery;
|
9
|
-
}
|
9
|
+
};
|
10
10
|
declare const Element: React.FC<ISectionImageGallery>;
|
11
11
|
export default Element;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISection } from '../Section/Section';
|
3
3
|
import { IMediaObject, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type ISectionLogos = ISection & {
|
5
5
|
values?: IMediaObject[];
|
6
6
|
version?: 'regular';
|
7
7
|
size?: 'small' | 'regular' | 'large';
|
@@ -9,6 +9,6 @@ export interface ISectionLogos extends ISection {
|
|
9
9
|
name?: boolean;
|
10
10
|
ItemProps?: IPropsAny;
|
11
11
|
WrapperProps?: IPropsAny;
|
12
|
-
}
|
12
|
+
};
|
13
13
|
declare const Element: React.FC<ISectionLogos>;
|
14
14
|
export default Element;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISection } from '../Section/Section';
|
3
3
|
import { IMediaObject, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type ISectionMedia = ISection & {
|
5
5
|
value?: IMediaObject;
|
6
6
|
size?: 'small' | 'regular' | 'large';
|
7
7
|
name?: boolean;
|
@@ -11,6 +11,6 @@ export interface ISectionMedia extends ISection {
|
|
11
11
|
AudioProps?: IPropsAny;
|
12
12
|
VideoProps?: IPropsAny;
|
13
13
|
OtherProps?: IPropsAny;
|
14
|
-
}
|
14
|
+
};
|
15
15
|
declare const Element: React.FC<ISectionMedia>;
|
16
16
|
export default Element;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISection } from '../Section/Section';
|
3
3
|
import { IMediaObject, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type ISectionReviewsItem = {
|
5
5
|
name: string;
|
6
6
|
meta?: string;
|
7
7
|
description: string;
|
8
8
|
rating?: number;
|
9
9
|
image?: string | IMediaObject;
|
10
|
-
}
|
11
|
-
export
|
10
|
+
};
|
11
|
+
export declare type ISectionReviews = ISection & {
|
12
12
|
values?: ISectionReviewsItem[];
|
13
13
|
size?: 'small' | 'regular' | 'large';
|
14
14
|
AvatarProps?: IPropsAny;
|
@@ -18,6 +18,7 @@ export interface ISectionReviews extends ISection {
|
|
18
18
|
DescriptionProps?: IPropsAny;
|
19
19
|
RatingProps?: IPropsAny;
|
20
20
|
ReviewProps?: IPropsAny;
|
21
|
-
|
21
|
+
ReviewsProps?: IPropsAny;
|
22
|
+
};
|
22
23
|
declare const Element: React.FC<ISectionReviews>;
|
23
24
|
export default Element;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISection } from '../Section/Section';
|
3
3
|
import { IValueBreakpoints, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type ISectionTextMedia = ISection & {
|
5
5
|
title?: string | Partial<Record<IValueBreakpoints, string>>;
|
6
6
|
description?: string | Partial<Record<IValueBreakpoints, string>>;
|
7
7
|
button?: {
|
@@ -23,6 +23,6 @@ export interface ISectionTextMedia extends ISection {
|
|
23
23
|
AudioProps?: IPropsAny;
|
24
24
|
VideoProps?: IPropsAny;
|
25
25
|
OtherProps?: IPropsAny;
|
26
|
-
}
|
26
|
+
};
|
27
27
|
declare const SectionTextMedia: React.FC<ISectionTextMedia>;
|
28
28
|
export default SectionTextMedia;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISection } from '../Section/Section';
|
3
3
|
import { IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type ISectionTimelineItem = {
|
5
5
|
title?: string;
|
6
6
|
heading?: string;
|
7
7
|
description?: string;
|
8
|
-
}
|
9
|
-
export
|
8
|
+
};
|
9
|
+
export declare type ISectionTimeline = ISection & {
|
10
10
|
size?: 'small' | 'regular' | 'large';
|
11
11
|
values?: ISectionTimelineItem[];
|
12
12
|
TimelineProps?: IPropsAny;
|
@@ -16,6 +16,6 @@ export interface ISectionTimeline extends ISection {
|
|
16
16
|
DescriptionProps?: IPropsAny;
|
17
17
|
ItemStartProps?: IPropsAny;
|
18
18
|
ItemEndProps?: IPropsAny;
|
19
|
-
}
|
19
|
+
};
|
20
20
|
declare const SectionTimeline: React.FC<ISectionTimeline>;
|
21
21
|
export default SectionTimeline;
|
@@ -2,13 +2,10 @@ import React from 'react';
|
|
2
2
|
import { TPaletteVersion } from '@onesy/style-react';
|
3
3
|
import { ISection } from '../Section/Section';
|
4
4
|
import { IWatch } from '../Watch/Watch';
|
5
|
-
|
6
|
-
export interface ISectionWatch extends ISection {
|
7
|
-
tonal?: boolean;
|
5
|
+
export declare type ISectionWatch = ISection & {
|
8
6
|
version?: 'regular' | 'analog' | 'modern' | 'minimal';
|
9
|
-
size?: ISize;
|
10
7
|
color?: TPaletteVersion;
|
11
8
|
WatchProps?: IWatch;
|
12
|
-
}
|
9
|
+
};
|
13
10
|
declare const Element: React.FC<ISectionWatch>;
|
14
11
|
export default Element;
|
package/Select/Select.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ITextField } from '../TextField/TextField';
|
3
3
|
import { IElement, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type ISelect = ITextField & {
|
5
5
|
options?: Array<{
|
6
6
|
name: any;
|
7
7
|
value: any;
|
@@ -24,6 +24,6 @@ export interface ISelect extends ITextField {
|
|
24
24
|
MenuProps?: IPropsAny;
|
25
25
|
IconButtonProps?: IPropsAny;
|
26
26
|
IconProps?: IPropsAny;
|
27
|
-
}
|
27
|
+
};
|
28
28
|
declare const Select: React.FC<ISelect>;
|
29
29
|
export default Select;
|
package/Share/Share.d.ts
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
|
-
|
4
|
-
export interface IShare extends ILine {
|
3
|
+
export declare type IShare = ILine & {
|
5
4
|
version?: 'fixed' | 'absolute' | 'static' | 'menu-items';
|
6
5
|
position?: 'start' | 'end' | 'top' | 'bottom';
|
7
|
-
size?: ISize;
|
8
6
|
name?: string;
|
9
7
|
description?: string;
|
10
8
|
url?: string;
|
@@ -21,6 +19,7 @@ export interface IShare extends ILine {
|
|
21
19
|
itemProps?: (item: any, index: number) => any;
|
22
20
|
onOpen?: (value: any, event: MouseEvent) => any;
|
23
21
|
ListItemProps?: any;
|
22
|
+
MenuItemProps?: any;
|
24
23
|
IconFacebook?: any;
|
25
24
|
IconX?: any;
|
26
25
|
IconLinkedin?: any;
|
@@ -32,6 +31,6 @@ export interface IShare extends ILine {
|
|
32
31
|
IconEmail?: any;
|
33
32
|
IconPrint?: any;
|
34
33
|
IconMore?: any;
|
35
|
-
}
|
34
|
+
};
|
36
35
|
declare const Share: React.FC<IShare>;
|
37
36
|
export default Share;
|
package/Slide/Slide.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ITransition } from '..';
|
3
|
-
export
|
3
|
+
export declare type ISlide = ITransition & {
|
4
4
|
root?: HTMLElement;
|
5
5
|
min?: number;
|
6
6
|
direction?: 'top' | 'left' | 'bottom' | 'right';
|
7
7
|
timing_function?: string | Record<string, string>;
|
8
8
|
addTransition?: string;
|
9
9
|
delay?: number;
|
10
|
-
}
|
10
|
+
};
|
11
11
|
declare const Slide: React.FC<ISlide>;
|
12
12
|
export default Slide;
|
package/Slider/Slider.d.ts
CHANGED
@@ -1,10 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { IBaseElement,
|
2
|
+
import { IBaseElement, IElement, IPropsAny, ISizeAny } from '../types';
|
3
3
|
export declare type TSliderValue = number | Array<number>;
|
4
|
-
export
|
5
|
-
tonal?: ITonal;
|
6
|
-
color?: IColor;
|
7
|
-
size?: ISize;
|
4
|
+
export declare type ISlider = IBaseElement & {
|
8
5
|
value?: TSliderValue;
|
9
6
|
valueDefault?: TSliderValue;
|
10
7
|
onChange?: (value: TSliderValue) => any;
|
@@ -20,17 +17,15 @@ export interface ISlider extends IBaseElement {
|
|
20
17
|
labels?: boolean;
|
21
18
|
onlyMarks?: boolean;
|
22
19
|
labelTooltipResolve?: (value: number) => IElement;
|
23
|
-
iconButtonPositionResolve?: (value: number, normalized: number, size:
|
20
|
+
iconButtonPositionResolve?: (value: number, normalized: number, size: ISizeAny) => string;
|
24
21
|
noTrack?: boolean;
|
25
22
|
noButtons?: boolean;
|
26
23
|
square?: boolean;
|
27
24
|
inverted?: boolean;
|
28
|
-
readOnly?: boolean;
|
29
|
-
disabled?: boolean;
|
30
25
|
icon?: any;
|
31
26
|
IconButtonProps?: IPropsAny;
|
32
27
|
LabelProps?: IPropsAny;
|
33
28
|
TooltipProps?: IPropsAny;
|
34
|
-
}
|
29
|
+
};
|
35
30
|
declare const Slider: React.FC<ISlider>;
|
36
31
|
export default Slider;
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ITextField } from '../TextField/TextField';
|
3
|
-
export
|
3
|
+
export declare type ISmartTextField = ITextField & {
|
4
4
|
placeholder?: any;
|
5
5
|
edit?: boolean;
|
6
6
|
mention?: boolean;
|
7
7
|
multiline?: boolean;
|
8
|
-
readOnly?: boolean;
|
9
8
|
onChangeMention?: (value?: string, version?: '@') => any;
|
10
9
|
optionsMention?: any[];
|
11
10
|
mentionLabel?: (items: any[], props: {
|
@@ -14,6 +13,6 @@ export interface ISmartTextField extends ITextField {
|
|
14
13
|
additional?: any;
|
15
14
|
pasteText?: boolean;
|
16
15
|
HelperTextProps?: any;
|
17
|
-
}
|
16
|
+
};
|
18
17
|
declare const SmartTextField: React.FC<ISmartTextField>;
|
19
18
|
export default SmartTextField;
|
package/Snackbar/Snackbar.d.ts
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
|
-
import {
|
4
|
-
export
|
5
|
-
size?: ISize;
|
3
|
+
import { IElement, IElementReference, IPropsAny } from '../types';
|
4
|
+
export declare type ISnackbar = ISurface & {
|
6
5
|
open?: boolean;
|
7
6
|
primary?: IElement;
|
8
7
|
end?: IElement;
|
@@ -21,6 +20,6 @@ export interface ISnackbar extends ISurface {
|
|
21
20
|
IconProps?: IPropsAny;
|
22
21
|
IconButtonProps?: IPropsAny;
|
23
22
|
TransitionComponentProps?: IPropsAny;
|
24
|
-
}
|
23
|
+
};
|
25
24
|
declare const Snackbar: React.FC<ISnackbar>;
|
26
25
|
export default Snackbar;
|