@onesy/ui-react 1.0.83 → 1.0.85
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 +2 -2
- package/AdvancedTextField/AdvancedTextField.d.ts +1 -1
- package/Append/Append.d.ts +3 -3
- package/AreaChart/AreaChart.d.ts +1 -1
- package/AreaChartItem/AreaChartItem.d.ts +1 -1
- package/AudioPlayer/AudioPlayer.d.ts +1 -1
- package/AudioRecorder/AudioRecorder.d.ts +1 -1
- package/AutoComplete/AutoComplete.d.ts +3 -3
- package/AutoCompleteCountry/AutoCompleteCountry.d.ts +1 -1
- package/AutoCompleteCurrency/AutoCompleteCurrency.d.ts +1 -1
- package/AutoCompleteGooglePlaces/AutoCompleteGooglePlaces.d.ts +1 -1
- package/Avatar/Avatar.d.ts +1 -1
- package/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/Backdrop/Backdrop.d.ts +1 -1
- package/Badge/Badge.d.ts +1 -1
- package/Banner/Banner.d.ts +3 -2
- package/BottomAppBar/BottomAppBar.d.ts +1 -1
- package/BottomSheet/BottomSheet.d.ts +1 -1
- package/Box/Box.d.ts +1 -1
- package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/BubbleChart/BubbleChart.d.ts +1 -1
- package/BubbleChartItem/BubbleChartItem.d.ts +1 -1
- package/Button/Button.d.ts +1 -1
- package/Buttons/Buttons.d.ts +1 -1
- package/Calendar/Calendar.d.ts +3 -3
- package/CalendarAvailability/CalendarAvailability.d.ts +2 -2
- package/CalendarMenu/CalendarMenu.d.ts +1 -1
- package/CalendarMonth/CalendarMonth.d.ts +5 -5
- package/CalendarViews/CalendarViews.d.ts +2 -2
- package/CalendarViews/CalendarViews.js +1 -1
- package/CalendarWeek/CalendarWeek.d.ts +1 -1
- package/Card/Card.d.ts +1 -1
- package/CardButton/CardButton.d.ts +1 -1
- package/CardFooter/CardFooter.d.ts +1 -1
- package/CardHeader/CardHeader.d.ts +1 -1
- package/CardImage/CardImage.d.ts +1 -1
- package/CardMain/CardMain.d.ts +1 -1
- package/Carousel/Carousel.d.ts +4 -4
- package/Chart/Chart.d.ts +4 -4
- package/Checkbox/Checkbox.d.ts +1 -1
- package/Chip/Chip.d.ts +1 -1
- package/Chips/Chips.d.ts +1 -1
- package/ClickListener/ClickListener.d.ts +1 -1
- package/Clock/Clock.d.ts +5 -5
- package/ColorTextField/ColorTextField.d.ts +1 -1
- package/ColumnChart/ColumnChart.d.ts +1 -1
- package/ColumnChartItem/ColumnChartItem.d.ts +1 -1
- package/Confirm/Confirm.d.ts +4 -4
- package/Container/Container.d.ts +1 -1
- package/CookieBanner/CookieBanner.d.ts +1 -1
- package/Countdown/Countdown.d.ts +1 -1
- package/DatePicker/DatePicker.d.ts +1 -1
- package/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/DateTimePicker/DateTimePicker.d.ts +2 -2
- package/DateTimeRangePicker/DateTimeRangePicker.d.ts +1 -1
- package/Divider/Divider.d.ts +1 -1
- package/DonutChart/DonutChart.d.ts +1 -1
- package/DragAndDropList/DragAndDropList.d.ts +1 -1
- package/Drawing/Drawing.d.ts +2 -2
- package/DropZone/DropZone.d.ts +1 -1
- package/Emojis/Emojis.d.ts +3 -3
- package/Expand/Expand.d.ts +1 -1
- package/Fab/Fab.d.ts +1 -1
- package/Fade/Fade.d.ts +1 -1
- package/FileChoose/FileChoose.d.ts +2 -2
- package/Focus/Focus.d.ts +1 -1
- package/Form/Form.d.ts +1 -1
- package/FormRow/FormRow.d.ts +1 -1
- package/Forms/Forms.d.ts +1 -1
- package/Frame/Frame.d.ts +1 -1
- package/Grid/Grid.d.ts +2 -2
- package/Grow/Grow.d.ts +1 -1
- package/HTMLCanvas/HTMLCanvas.d.ts +2 -2
- package/IFrame/IFrame.d.ts +1 -1
- package/Icon/Icon.d.ts +1 -1
- package/IconButton/IconButton.d.ts +1 -1
- package/Image/Image.d.ts +1 -1
- package/ImageCrop/ImageCrop.d.ts +2 -2
- package/ImageEdit/ImageEdit.d.ts +2 -2
- package/ImageGallery/ImageGallery.d.ts +1 -1
- package/ImageList/ImageList.d.ts +1 -1
- package/ImageListItem/ImageListItem.d.ts +1 -1
- package/ImageListItemBox/ImageListItemBox.d.ts +1 -1
- package/Info/Info.d.ts +1 -1
- package/Interaction/Interaction.d.ts +2 -2
- package/Keyframes/Keyframes.d.ts +3 -3
- package/Label/Label.d.ts +1 -1
- package/Labels/Labels.d.ts +1 -1
- package/Line/Line.d.ts +6 -6
- package/LineChart/LineChart.d.ts +1 -1
- package/LineChartItem/LineChartItem.d.ts +1 -1
- package/LinearMeter/LinearMeter.d.ts +1 -1
- package/LinearProgress/LinearProgress.d.ts +1 -1
- package/Link/Link.d.ts +1 -1
- package/Links/Links.d.ts +2 -2
- package/List/List.d.ts +1 -1
- package/ListItem/ListItem.d.ts +1 -1
- package/ListSubheader/ListSubheader.d.ts +1 -1
- package/MainProgress/MainProgress.d.ts +3 -3
- package/Markdown/Markdown.d.ts +1 -1
- package/Masonry/Masonry.d.ts +1 -1
- package/Medias/Medias.d.ts +3 -3
- package/Menu/Menu.d.ts +1 -1
- package/MenuDesktop/MenuDesktop.d.ts +3 -3
- package/MenuItem/MenuItem.d.ts +1 -1
- package/Meta/Meta.d.ts +1 -1
- package/Modal/Modal.d.ts +1 -1
- package/ModalFooter/ModalFooter.d.ts +1 -1
- package/ModalHeader/ModalHeader.d.ts +1 -1
- package/ModalIcon/ModalIcon.d.ts +1 -1
- package/ModalMain/ModalMain.d.ts +1 -1
- package/ModalText/ModalText.d.ts +1 -1
- package/ModalTitle/ModalTitle.d.ts +1 -1
- package/MoreOptions/MoreOptions.d.ts +1 -1
- package/Move/Move.d.ts +1 -1
- package/NavigationBar/NavigationBar.d.ts +2 -2
- package/NavigationDrawer/NavigationDrawer.d.ts +1 -1
- package/NavigationItem/NavigationItem.d.ts +2 -2
- package/NavigationRail/NavigationRail.d.ts +1 -1
- package/NotFound/NotFound.d.ts +1 -1
- package/NumericTextField/NumericTextField.d.ts +1 -1
- package/Page/Page.d.ts +2 -2
- package/PageTransition/PageTransition.d.ts +1 -1
- package/Pagination/Pagination.d.ts +1 -1
- package/PaginationItem/PaginationItem.d.ts +1 -1
- package/Parallax/Parallax.d.ts +2 -2
- package/Path/Path.d.ts +1 -1
- package/PieChart/PieChart.d.ts +1 -1
- package/Placeholder/Placeholder.d.ts +1 -1
- package/Portal/Portal.d.ts +1 -1
- package/Properties/Properties.d.ts +2 -2
- package/Property/Property.d.ts +1 -1
- package/Radio/Radio.d.ts +1 -1
- package/Radios/Radios.d.ts +1 -1
- package/Rating/Rating.d.ts +1 -1
- package/Reset/Reset.d.ts +1 -1
- package/Reveal/Reveal.d.ts +1 -1
- package/RichTextEditor/RichTextEditor.d.ts +1 -1
- package/RoundMeter/RoundMeter.d.ts +1 -1
- package/RoundProgress/RoundProgress.d.ts +1 -1
- package/ScatterChart/ScatterChart.d.ts +1 -1
- package/ScatterChartItem/ScatterChartItem.d.ts +1 -1
- package/ScreenCapture/ScreenCapture.d.ts +2 -2
- package/Section/Section.d.ts +2 -2
- package/SectionAction/SectionAction.d.ts +1 -1
- package/SectionBoxes/SectionBoxes.d.ts +2 -2
- package/SectionCards/SectionCards.d.ts +2 -2
- package/SectionCarousel/SectionCarousel.d.ts +2 -2
- package/SectionContact/SectionContact.d.ts +1 -1
- package/SectionImageGallery/SectionImageGallery.d.ts +1 -1
- package/SectionLogos/SectionLogos.d.ts +1 -1
- package/SectionMedia/SectionMedia.d.ts +1 -1
- package/SectionReviews/SectionReviews.d.ts +2 -2
- package/SectionTextMedia/SectionTextMedia.d.ts +1 -1
- package/SectionTimeline/SectionTimeline.d.ts +2 -2
- package/SectionWatch/SectionWatch.d.ts +1 -1
- package/Select/Select.d.ts +1 -1
- package/Share/Share.d.ts +1 -1
- package/Slide/Slide.d.ts +1 -1
- package/Slider/Slider.d.ts +2 -2
- package/SmartTextField/SmartTextField.d.ts +1 -1
- package/Snackbar/Snackbar.d.ts +1 -1
- package/Snackbars/Context.d.ts +1 -1
- package/Snackbars/Snackbars.d.ts +2 -2
- package/Space/Space.d.ts +1 -1
- package/SpeechToText/SpeechToText.d.ts +1 -1
- package/SpeedDial/SpeedDial.d.ts +1 -1
- package/SpeedDialItem/SpeedDialItem.d.ts +1 -1
- package/SpyScroll/SpyScroll.d.ts +1 -1
- package/Step/Step.d.ts +1 -1
- package/Stepper/Stepper.d.ts +1 -1
- package/Surface/Surface.d.ts +1 -1
- package/Switch/Switch.d.ts +1 -1
- package/Tab/Tab.d.ts +1 -1
- package/Table/Table.d.ts +1 -1
- package/TableBody/TableBody.d.ts +1 -1
- package/TableCell/TableCell.d.ts +2 -2
- package/TableFooter/TableFooter.d.ts +1 -1
- package/TableHead/TableHead.d.ts +1 -1
- package/TableHeader/TableHeader.d.ts +1 -1
- package/TablePagination/TablePagination.d.ts +1 -1
- package/TableRow/TableRow.d.ts +1 -1
- package/Tabs/Tabs.d.ts +1 -1
- package/Text/Text.d.ts +1 -1
- package/TextField/TextField.d.ts +1 -1
- package/TextToSpeech/TextToSpeech.d.ts +1 -1
- package/TimePicker/TimePicker.d.ts +3 -3
- package/TimeRangePicker/TimeRangePicker.d.ts +1 -1
- package/Timeline/Timeline.d.ts +1 -1
- package/TimelineItem/TimelineItem.d.ts +1 -1
- package/Timer/Timer.d.ts +1 -1
- package/ToggleButton/ToggleButton.d.ts +1 -1
- package/ToggleButtons/ToggleButtons.d.ts +1 -1
- package/Tooltip/Tooltip.d.ts +1 -1
- package/TopAppBar/TopAppBar.d.ts +1 -1
- package/Transition/Transition.d.ts +3 -3
- package/Transitions/Transitions.d.ts +2 -2
- package/Tree/Tree.d.ts +1 -1
- package/Type/Type.d.ts +1 -1
- package/VideoPlayer/VideoPlayer.d.ts +1 -1
- package/ViewSplit/ViewSplit.d.ts +1 -1
- package/Watch/Watch.d.ts +1 -1
- package/Weather/Weather.d.ts +4 -4
- package/Whiteboard/Whiteboard.d.ts +5 -5
- package/Widgets/Widgets.d.ts +2 -2
- package/WindowSplit/WindowSplit.d.ts +1 -1
- package/Zoom/Zoom.d.ts +1 -1
- package/esm/CalendarViews/CalendarViews.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +27 -27
- package/useForm/useForm.d.ts +2 -2
- package/useForm/validate.d.ts +12 -12
- package/useLocation/useLocation.d.ts +1 -1
- package/useMediaQuery/useMediaQuery.d.ts +1 -1
- package/useScroll/useScroll.d.ts +2 -2
- package/useSwipe/useSwipe.d.ts +2 -2
- package/useVisible/useVisible.d.ts +2 -2
package/ModalIcon/ModalIcon.d.ts
CHANGED
package/ModalMain/ModalMain.d.ts
CHANGED
package/ModalText/ModalText.d.ts
CHANGED
package/Move/Move.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
3
|
import { INavigationItemVersion } from '../NavigationItem/NavigationItem';
|
4
|
-
export type TNavigationBarValue = Array<string>;
|
5
|
-
export type INavigationBar = Omit<ISurface, 'version' | 'onChange'> & {
|
4
|
+
export declare type TNavigationBarValue = Array<string>;
|
5
|
+
export declare type INavigationBar = Omit<ISurface, 'version' | 'onChange'> & {
|
6
6
|
value?: TNavigationBarValue;
|
7
7
|
valueDefault?: TNavigationBarValue;
|
8
8
|
onChange?: (value: TNavigationBarValue) => any;
|
@@ -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 type INavigationDrawer = IModal & {
|
4
|
+
export declare type INavigationDrawer = IModal & {
|
5
5
|
version?: 'modal' | 'standard';
|
6
6
|
position?: 'fixed' | 'absolute';
|
7
7
|
direction?: 'top' | 'left' | 'bottom' | 'right';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ITooltip } from '../Tooltip/Tooltip';
|
3
3
|
import { IElement, IElementReference, IPropsAny } from '../types';
|
4
|
-
export type INavigationItemVersion = 'regular' | 'auto';
|
5
|
-
export type INavigationItem = ITooltip & {
|
4
|
+
export declare type INavigationItemVersion = 'regular' | 'auto';
|
5
|
+
export declare type INavigationItem = ITooltip & {
|
6
6
|
version?: 'regular' | 'auto';
|
7
7
|
value?: any;
|
8
8
|
vertical?: boolean;
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
3
|
import { INavigationItemVersion } from '../NavigationItem/NavigationItem';
|
4
4
|
import { IElement, IPropsAny } from '../types';
|
5
|
-
export type INavigationRail = Omit<ISurface, 'version' | 'onChange'> & {
|
5
|
+
export declare type INavigationRail = Omit<ISurface, 'version' | 'onChange'> & {
|
6
6
|
value?: any;
|
7
7
|
valueDefault?: any;
|
8
8
|
onChange?: (value: any) => any;
|
package/NotFound/NotFound.d.ts
CHANGED
@@ -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 type INumericTextField = IAdvancedTextField & {
|
4
|
+
export declare type INumericTextField = IAdvancedTextField & {
|
5
5
|
min?: number;
|
6
6
|
max?: number;
|
7
7
|
increment?: boolean;
|
package/Page/Page.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IElement, IElementReference } from '../types';
|
4
|
-
export type IPageForward = {
|
4
|
+
export declare type IPageForward = {
|
5
5
|
to?: string;
|
6
6
|
name?: string;
|
7
7
|
label?: string;
|
8
8
|
};
|
9
|
-
export type IPage = ILine & {
|
9
|
+
export declare type IPage = ILine & {
|
10
10
|
back?: IPageForward;
|
11
11
|
forward?: IPageForward;
|
12
12
|
noHeader?: boolean;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IVersion, IElement, IElementReference } from '../types';
|
4
|
-
export type IPagination = Omit<ILine, 'onChange'> & {
|
4
|
+
export declare type IPagination = Omit<ILine, 'onChange'> & {
|
5
5
|
version?: IVersion;
|
6
6
|
elevation?: boolean;
|
7
7
|
value?: number;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IButton } from '../Button/Button';
|
3
3
|
import { IPropsAny } from '../types';
|
4
|
-
export type IPaginationItem = IButton & {
|
4
|
+
export declare type IPaginationItem = IButton & {
|
5
5
|
TypeProps?: IPropsAny;
|
6
6
|
};
|
7
7
|
declare const PaginationItem: React.FC<IPaginationItem>;
|
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
|
-
export type TParallaxDirection = 'vertical' | 'horizontal';
|
4
|
-
export type IParallax = IBaseElement & {
|
3
|
+
export declare type TParallaxDirection = 'vertical' | 'horizontal';
|
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;
|
package/Path/Path.d.ts
CHANGED
package/PieChart/PieChart.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement } from '../types';
|
3
|
-
export type IPlaceholder = Omit<IBaseElement, 'version'> & {
|
3
|
+
export declare type IPlaceholder = Omit<IBaseElement, 'version'> & {
|
4
4
|
version?: 'rectangle' | 'rounded' | 'circle';
|
5
5
|
width?: string | number;
|
6
6
|
height?: string | number;
|
package/Portal/Portal.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IPropsAny } from '../types';
|
4
|
-
export type IPropertiesValue = {
|
4
|
+
export declare type IPropertiesValue = {
|
5
5
|
name: any;
|
6
6
|
value: any;
|
7
7
|
separator?: any;
|
8
8
|
props?: any;
|
9
9
|
};
|
10
|
-
export type IProperties = ILine & {
|
10
|
+
export declare type IProperties = ILine & {
|
11
11
|
version?: 'row' | 'row-20' | 'row-50' | 'row-between' | 'column';
|
12
12
|
values?: (boolean | IPropertiesValue)[];
|
13
13
|
onlyWithValues?: boolean;
|
package/Property/Property.d.ts
CHANGED
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 type IRadio = Omit<IIconButton, 'onChange'> & {
|
4
|
+
export declare type IRadio = Omit<IIconButton, 'onChange'> & {
|
5
5
|
inputRef?: IRef;
|
6
6
|
colorUnchecked?: IColor;
|
7
7
|
valueDefault?: boolean;
|
package/Radios/Radios.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IColor, IVersion, IElement, IPropsAny } from '../types';
|
4
|
-
export type IRadios = Omit<ILine, 'onChange'> & {
|
4
|
+
export declare type IRadios = Omit<ILine, 'onChange'> & {
|
5
5
|
colorUnchecked?: IColor;
|
6
6
|
version?: IVersion;
|
7
7
|
name?: IElement;
|
package/Rating/Rating.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IColor, IElement } from '../types';
|
3
|
-
export type IRating = Omit<IBaseElement, 'onChange'> & {
|
3
|
+
export declare type IRating = Omit<IBaseElement, 'onChange'> & {
|
4
4
|
colorInactive?: IColor;
|
5
5
|
value?: number;
|
6
6
|
valueDefault?: number;
|
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 type IReveal = Omit<IFade, 'onChange'> & {
|
4
|
+
export declare type IReveal = Omit<IFade, 'onChange'> & {
|
5
5
|
inDefault?: boolean;
|
6
6
|
offset?: number;
|
7
7
|
offsetReveal?: number;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IVersion, IPropsAny, IElement, IElementReference } from '../types';
|
4
|
-
export type IRichTextEditor = Omit<ILine, 'onChange'> & {
|
4
|
+
export declare type IRichTextEditor = Omit<ILine, 'onChange'> & {
|
5
5
|
version?: IVersion;
|
6
6
|
value?: string;
|
7
7
|
onChange?: (event: React.ChangeEvent<any>) => any;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IStyle, IElement, IPropsAny } from '../types';
|
3
|
-
export type IRoundMeter = IBaseElement & {
|
3
|
+
export declare type IRoundMeter = IBaseElement & {
|
4
4
|
parts?: number;
|
5
5
|
lineCap?: 'inherit' | 'round' | 'square' | 'butt';
|
6
6
|
padding?: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IPropsAny } from '../types';
|
3
|
-
export type IRoundProgress = IBaseElement & {
|
3
|
+
export declare type IRoundProgress = IBaseElement & {
|
4
4
|
version?: 'determinate' | 'indeterminate';
|
5
5
|
value?: number;
|
6
6
|
noShrink?: boolean;
|
@@ -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 type IScatterChartItem = IChart & {
|
4
|
+
export declare type IScatterChartItem = IChart & {
|
5
5
|
name?: string;
|
6
6
|
refs?: {
|
7
7
|
wrapper?: HTMLElement;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
3
|
import { IElementReference, IPropsAny } from '../types';
|
4
|
-
export type TTrackValueVersion = 'image' | 'canvas';
|
5
|
-
export type IScreenCapture = ISurface & {
|
4
|
+
export declare type TTrackValueVersion = 'image' | 'canvas';
|
5
|
+
export declare type IScreenCapture = ISurface & {
|
6
6
|
nameDefault?: string;
|
7
7
|
name?: string;
|
8
8
|
onChangeName?: (value: string) => any;
|
package/Section/Section.d.ts
CHANGED
@@ -2,8 +2,8 @@ import React from 'react';
|
|
2
2
|
import { TPaletteVersion } from '@onesy/style-react';
|
3
3
|
import { ILine } from '../Line/Line';
|
4
4
|
import { IValueBreakpoints, IMediaObject, IPropsAny } from '../types';
|
5
|
-
export type ISize = 'extra_small' | 'small' | 'regular' | 'large' | 'extra_large' | 'extra_extra_large';
|
6
|
-
export type ISection = ILine & {
|
5
|
+
export declare type ISize = 'extra_small' | 'small' | 'regular' | 'large' | 'extra_large' | 'extra_extra_large';
|
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>>;
|
@@ -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 type ISectionBoxesItem = {
|
5
|
+
export declare type ISectionBoxesItem = {
|
6
6
|
name?: any;
|
7
7
|
description?: any;
|
8
8
|
buttonText?: any;
|
@@ -22,7 +22,7 @@ export type ISectionBoxesItem = {
|
|
22
22
|
propsWrapperText?: any;
|
23
23
|
propsActions?: any;
|
24
24
|
};
|
25
|
-
export type ISectionBoxes = ISection & {
|
25
|
+
export declare type ISectionBoxes = ISection & {
|
26
26
|
size?: 'small' | 'regular' | 'large';
|
27
27
|
values?: ISectionBoxesItem[];
|
28
28
|
responsive?: boolean;
|
@@ -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 type ISectionCardsItem = {
|
5
|
+
export declare type ISectionCardsItem = {
|
6
6
|
name?: any;
|
7
7
|
description?: any;
|
8
8
|
buttonText?: any;
|
@@ -23,7 +23,7 @@ export type ISectionCardsItem = {
|
|
23
23
|
propsWrapperText?: any;
|
24
24
|
propsActions?: any;
|
25
25
|
};
|
26
|
-
export type ISectionCards = ISection & {
|
26
|
+
export declare type ISectionCards = ISection & {
|
27
27
|
size?: 'small' | 'regular' | 'large';
|
28
28
|
values?: ISectionCardsItem[];
|
29
29
|
ItemProps?: IPropsAny;
|
@@ -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 type ISectionCarouselItem = {
|
5
|
+
export declare type ISectionCarouselItem = {
|
6
6
|
name?: any;
|
7
7
|
description?: any;
|
8
8
|
buttonText?: any;
|
@@ -20,7 +20,7 @@ export type ISectionCarouselItem = {
|
|
20
20
|
propsButton?: any;
|
21
21
|
propsButtonWrapper?: any;
|
22
22
|
};
|
23
|
-
export type ISectionCarousel = ISection & {
|
23
|
+
export declare type ISectionCarousel = ISection & {
|
24
24
|
size?: 'small' | 'regular' | 'large';
|
25
25
|
values?: ISectionCarouselItem[];
|
26
26
|
fullHeight?: boolean;
|
@@ -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 type ISectionContact = ISection & {
|
5
|
+
export declare type ISectionContact = ISection & {
|
6
6
|
map?: {
|
7
7
|
latitude: number;
|
8
8
|
longitude: number;
|
@@ -2,7 +2,7 @@ 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 type ISectionImageGallery = ISection & {
|
5
|
+
export declare type ISectionImageGallery = ISection & {
|
6
6
|
values?: IMediaObject[];
|
7
7
|
value?: number;
|
8
8
|
ImageGalleryProps?: IImageGallery;
|
@@ -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 type ISectionLogos = ISection & {
|
4
|
+
export declare type ISectionLogos = ISection & {
|
5
5
|
values?: IMediaObject[];
|
6
6
|
version?: 'regular';
|
7
7
|
size?: 'small' | 'regular' | 'large';
|
@@ -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 type ISectionMedia = ISection & {
|
4
|
+
export declare type ISectionMedia = ISection & {
|
5
5
|
value?: IMediaObject;
|
6
6
|
size?: 'small' | 'regular' | 'large';
|
7
7
|
name?: boolean;
|
@@ -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 type ISectionReviewsItem = {
|
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
10
|
};
|
11
|
-
export type ISectionReviews = ISection & {
|
11
|
+
export declare type ISectionReviews = ISection & {
|
12
12
|
values?: ISectionReviewsItem[];
|
13
13
|
size?: 'small' | 'regular' | 'large';
|
14
14
|
AvatarProps?: IPropsAny;
|
@@ -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 type ISectionTextMedia = ISection & {
|
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?: {
|
@@ -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 type ISectionTimelineItem = {
|
4
|
+
export declare type ISectionTimelineItem = {
|
5
5
|
title?: string;
|
6
6
|
heading?: string;
|
7
7
|
description?: string;
|
8
8
|
};
|
9
|
-
export type ISectionTimeline = ISection & {
|
9
|
+
export declare type ISectionTimeline = ISection & {
|
10
10
|
size?: 'small' | 'regular' | 'large';
|
11
11
|
values?: ISectionTimelineItem[];
|
12
12
|
TimelineProps?: IPropsAny;
|
@@ -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 { IWatch } from '../Watch/Watch';
|
5
|
-
export type ISectionWatch = ISection & {
|
5
|
+
export declare type ISectionWatch = ISection & {
|
6
6
|
version?: 'regular' | 'analog' | 'modern' | 'minimal';
|
7
7
|
color?: TPaletteVersion;
|
8
8
|
WatchProps?: IWatch;
|
package/Select/Select.d.ts
CHANGED
package/Share/Share.d.ts
CHANGED
package/Slide/Slide.d.ts
CHANGED
package/Slider/Slider.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IElement, IPropsAny, ISizeAny } from '../types';
|
3
|
-
export type TSliderValue = number | Array<number>;
|
4
|
-
export type ISlider = Omit<IBaseElement, 'onChange'> & {
|
3
|
+
export declare type TSliderValue = number | Array<number>;
|
4
|
+
export declare type ISlider = Omit<IBaseElement, 'onChange'> & {
|
5
5
|
value?: TSliderValue;
|
6
6
|
valueDefault?: TSliderValue;
|
7
7
|
onChange?: (value: TSliderValue) => any;
|
package/Snackbar/Snackbar.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
3
|
import { IElement, IElementReference, IPropsAny } from '../types';
|
4
|
-
export type ISnackbar = ISurface & {
|
4
|
+
export declare type ISnackbar = ISurface & {
|
5
5
|
open?: boolean;
|
6
6
|
primary?: IElement;
|
7
7
|
end?: IElement;
|
package/Snackbars/Context.d.ts
CHANGED
package/Snackbars/Snackbars.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISnackbar } from '../Snackbar/Snackbar';
|
3
3
|
import { IBaseElement, IPropsAny } from '../types';
|
4
|
-
export type ISnackbarsValue = {
|
4
|
+
export declare type ISnackbarsValue = {
|
5
5
|
add: (value: ISnackbar) => void;
|
6
6
|
remove: (value: 'first' | 'last' | string) => void;
|
7
7
|
};
|
8
|
-
export type ISnackbars = IBaseElement & {
|
8
|
+
export declare type ISnackbars = IBaseElement & {
|
9
9
|
max?: number;
|
10
10
|
position?: 'top' | 'bottom';
|
11
11
|
alignment?: 'start' | 'left' | 'center' | 'right' | 'end';
|