@onesy/ui-react 1.0.78 → 1.0.79
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 +1 -1
- 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/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/index.js +1 -1
- package/package.json +2 -2
- 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
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IDateTimePicker } from '../DateTimePicker/DateTimePicker';
|
3
|
-
export
|
3
|
+
export type IDateTimeRangePicker = IDateTimePicker & {};
|
4
4
|
declare const DateTimeRangePicker: React.FC<IDateTimeRangePicker>;
|
5
5
|
export default DateTimeRangePicker;
|
package/Divider/Divider.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement } from '../types';
|
3
|
-
export
|
3
|
+
export type IDragAndDropList = Omit<IBaseElement, 'onChange'> & {
|
4
4
|
onChange?: (indexPrevious: number, indexNew: number) => any;
|
5
5
|
items?: any[];
|
6
6
|
image?: boolean;
|
package/Drawing/Drawing.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
3
|
import { IElement, IElementReference, IPropsAny, IRef } from '../types';
|
4
|
-
export
|
4
|
+
export type TDrawingValue = Array<{
|
5
5
|
d?: string;
|
6
6
|
stroke?: string;
|
7
7
|
strokeWidth?: number;
|
8
8
|
}>;
|
9
|
-
export
|
9
|
+
export type IDrawing = Omit<ISurface, 'onChange' | 'onMouseDown'> & {
|
10
10
|
render?: (element: string, props: IPropsAny, value: TDrawingValue) => IElement;
|
11
11
|
svgRef?: IRef;
|
12
12
|
updates?: boolean;
|
package/DropZone/DropZone.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IFileChoose } from '../FileChoose/FileChoose';
|
3
3
|
import { IElement, IVersion } from '../types';
|
4
|
-
export
|
4
|
+
export type IDropZone = IFileChoose & {
|
5
5
|
version?: IVersion;
|
6
6
|
start?: IElement;
|
7
7
|
dropText?: any;
|
package/Emojis/Emojis.d.ts
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IMenu } from '../Menu/Menu';
|
3
|
-
export
|
3
|
+
export type IEmojiCategory = {
|
4
4
|
name: string;
|
5
5
|
groups: string[];
|
6
6
|
icon: any;
|
7
7
|
};
|
8
|
-
export
|
8
|
+
export type IEmoji = {
|
9
9
|
alias: string | string[];
|
10
10
|
unicode: string;
|
11
11
|
category: string;
|
12
12
|
};
|
13
|
-
export
|
13
|
+
export type IEmojis = Omit<IMenu, 'onSelect'> & {
|
14
14
|
emojis?: IEmoji[];
|
15
15
|
categories?: IEmojiCategory[];
|
16
16
|
selected?: string[];
|
package/Expand/Expand.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ITransition } from '..';
|
3
3
|
import { IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export type IExpand = Omit<ITransition, 'className'> & {
|
5
5
|
value?: number;
|
6
6
|
expandSize?: number;
|
7
7
|
orientation?: 'veritcal' | 'horizontal';
|
package/Fab/Fab.d.ts
CHANGED
package/Fade/Fade.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IRef, IElementReference, IPropsAny } from '../types';
|
4
|
-
export
|
5
|
-
export
|
4
|
+
export type TFileChooseValue = File | Array<File>;
|
5
|
+
export type IFileChoose = Omit<ILine, 'onClick' | 'onChange'> & {
|
6
6
|
inputRef?: IRef;
|
7
7
|
max?: number;
|
8
8
|
allowedTypes?: Array<string>;
|
package/Focus/Focus.d.ts
CHANGED
@@ -2,6 +2,6 @@ import React from 'react';
|
|
2
2
|
import { IBaseElement } from '../types';
|
3
3
|
export declare const matches: (value: Element) => any;
|
4
4
|
export declare const queryMatchFocusable = "button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), details:not([disabled]), summary:not(:disabled)";
|
5
|
-
export
|
5
|
+
export type IFocus = IBaseElement & {};
|
6
6
|
declare const Focus: React.FC<IFocus>;
|
7
7
|
export default Focus;
|
package/Form/Form.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IElement } from '../types';
|
4
|
-
export
|
4
|
+
export type IForm = Omit<ILine, 'onSubmit'> & {
|
5
5
|
accordion?: boolean;
|
6
6
|
divider?: boolean;
|
7
7
|
name?: string | IElement;
|
package/FormRow/FormRow.d.ts
CHANGED
package/Forms/Forms.d.ts
CHANGED
package/Frame/Frame.d.ts
CHANGED
package/Grid/Grid.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IValueBreakpoints, IPropsAny } from '../types';
|
4
|
-
export
|
5
|
-
export
|
4
|
+
export type IGridValues = Partial<Record<IValueBreakpoints, number>>;
|
5
|
+
export type IGrid = ILine & {
|
6
6
|
auto?: boolean;
|
7
7
|
columns?: number | IGridValues;
|
8
8
|
parentGap?: any;
|
package/Grow/Grow.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement } from '../types';
|
3
|
-
export
|
3
|
+
export type IHTMLCanvasOnChangeValue = {
|
4
4
|
zoom: number;
|
5
5
|
top: number;
|
6
6
|
left: number;
|
@@ -13,7 +13,7 @@ export declare type IHTMLCanvasOnChangeValue = {
|
|
13
13
|
height: number;
|
14
14
|
};
|
15
15
|
};
|
16
|
-
export
|
16
|
+
export type IHTMLCanvas = Omit<IBaseElement, 'onWheel' | 'onMouseDown' | 'onTouchStart' | 'onChange'> & {
|
17
17
|
minZoom?: number;
|
18
18
|
maxZoom?: number;
|
19
19
|
showGuidelinesDefault?: boolean;
|
package/IFrame/IFrame.d.ts
CHANGED
package/Icon/Icon.d.ts
CHANGED
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { TTone } from '@onesy/style-react';
|
3
3
|
import { IBaseElement, ISizeExtendedAny } from '../types';
|
4
4
|
export declare const rtl_icons: string[];
|
5
|
-
export
|
5
|
+
export type IIcon = Omit<IBaseElement, 'size'> & {
|
6
6
|
size?: ISizeExtendedAny;
|
7
7
|
tone?: TTone;
|
8
8
|
viewBox?: string;
|
package/Image/Image.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IUseVisible } from '../useVisible/useVisible';
|
3
3
|
import { IBaseElement, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export type IImage = IBaseElement & {
|
5
5
|
src?: string;
|
6
6
|
url?: string;
|
7
7
|
urlSmall?: string;
|
package/ImageCrop/ImageCrop.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IPropsAny } from '../types';
|
3
|
-
export
|
3
|
+
export type TImageCrop = {
|
4
4
|
x?: number;
|
5
5
|
y?: number;
|
6
6
|
width?: number;
|
7
7
|
height?: number;
|
8
8
|
};
|
9
|
-
export
|
9
|
+
export type IImageCrop = IBaseElement & {
|
10
10
|
image?: string | HTMLCanvasElement;
|
11
11
|
minWidth?: number;
|
12
12
|
minHeight?: number;
|
package/ImageEdit/ImageEdit.d.ts
CHANGED
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { TMethod } from '@onesy/models';
|
3
3
|
import { ILine } from '../Line/Line';
|
4
4
|
import { IElementReference, IElement, IPropsAny } from '../types';
|
5
|
-
export
|
5
|
+
export type TImageEditFilter = {
|
6
6
|
label?: string;
|
7
7
|
Icon?: IElementReference;
|
8
8
|
value?: string;
|
@@ -10,7 +10,7 @@ export declare type TImageEditFilter = {
|
|
10
10
|
renderIconButton: (value: string, selected: boolean, onChangeFilter: TMethod) => IElement;
|
11
11
|
renderSlider: (value: string, filterValuesCopy: any, onFilterSliderChange: TMethod) => IElement;
|
12
12
|
};
|
13
|
-
export
|
13
|
+
export type IImageEdit = Omit<ILine, 'onChange'> & {
|
14
14
|
image?: string | HTMLCanvasElement;
|
15
15
|
name?: string;
|
16
16
|
type?: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IElementReference, IMediaObject } from '../types';
|
4
|
-
export
|
4
|
+
export type IImageGallery = ILine & {
|
5
5
|
version?: 'regular' | 'modal';
|
6
6
|
open?: boolean;
|
7
7
|
size?: 'small' | 'regular' | 'large';
|
package/ImageList/ImageList.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IValueBreakpoints } from '../types';
|
3
|
-
export
|
3
|
+
export type IImageList = IBaseElement & {
|
4
4
|
version?: 'standard' | 'vowen' | 'masonry';
|
5
5
|
gap?: number | Partial<Record<IValueBreakpoints, number>>;
|
6
6
|
rowGap?: number | Partial<Record<IValueBreakpoints, number>>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IValueBreakpoints } from '../types';
|
4
|
-
export
|
4
|
+
export type IImageListItem = ILine & {
|
5
5
|
rows?: number | Partial<Record<IValueBreakpoints, number>>;
|
6
6
|
columns?: number | Partial<Record<IValueBreakpoints, number>>;
|
7
7
|
version?: 'standard' | 'vowen' | 'masonry';
|
package/Info/Info.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import OnesySubscription from '@onesy/subscription/OnesySubscription';
|
3
3
|
import { IBaseElement } from '../types';
|
4
|
-
export
|
5
|
-
export
|
4
|
+
export type TMethodsVersion = 'add' | 'pulse' | 'remove';
|
5
|
+
export type IInteraction = IBaseElement & {
|
6
6
|
wave?: boolean;
|
7
7
|
background?: boolean;
|
8
8
|
border?: boolean;
|
package/Keyframes/Keyframes.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TTransitionsDurationProperties } from '@onesy/style-react';
|
3
3
|
import { IBaseElement, IRef } from '../types';
|
4
|
-
export
|
5
|
-
export
|
4
|
+
export type TKeyframesStatus = 'appended' | 'add' | 'adding' | 'added' | 'removed';
|
5
|
+
export type IKeyframe = {
|
6
6
|
name: string;
|
7
7
|
timeout: number;
|
8
8
|
};
|
9
|
-
export
|
9
|
+
export type IKeyframes = Omit<IBaseElement, 'className'> & {
|
10
10
|
ref?: IRef;
|
11
11
|
className?: boolean;
|
12
12
|
prefix?: string;
|
package/Label/Label.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
|
4
|
+
export type ILabel = Omit<ILine, 'onChange'> & {
|
5
5
|
colorUnchecked?: IColor;
|
6
6
|
version?: IVersion;
|
7
7
|
position?: 'start' | 'top' | 'bottom' | 'end';
|
package/Labels/Labels.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
|
4
|
+
export type ILabels = Omit<ILine, 'onChange'> & {
|
5
5
|
colorUnchecked?: IColor;
|
6
6
|
version?: IVersion;
|
7
7
|
name?: IElement;
|
package/Line/Line.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IPropsAny, IValueBreakpoints } from '../types';
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export
|
6
|
-
export
|
7
|
-
export
|
8
|
-
export
|
3
|
+
export type TLineAlign = 'inherit' | 'initial' | 'flex-start' | 'center' | 'flex-end' | 'baseline' | 'stretch' | 'unset';
|
4
|
+
export type TLineJustify = 'inherit' | 'initial' | 'flex-start' | 'center' | 'flex-end' | 'space-around' | 'space-between' | 'space-evenly' | 'unset';
|
5
|
+
export type TLineDirection = 'inherit' | 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
6
|
+
export type TLineWrap = 'inherit' | 'wrap' | 'nowrap' | 'wrap-reverse';
|
7
|
+
export type TLineDisplay = 'inherit' | 'flex' | 'inline-flex';
|
8
|
+
export type ILine = IBaseElement & {
|
9
9
|
display?: TLineDisplay | Partial<Record<IValueBreakpoints, TLineDisplay>>;
|
10
10
|
direction?: TLineDirection | Partial<Record<IValueBreakpoints, TLineDirection>>;
|
11
11
|
align?: TLineAlign | Partial<Record<IValueBreakpoints, TLineAlign>>;
|
package/LineChart/LineChart.d.ts
CHANGED
@@ -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 type ILineChartItem = IChart & {
|
5
5
|
name?: string;
|
6
6
|
refs?: {
|
7
7
|
wrapper?: HTMLElement;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IStyle, IElement, IPropsAny } from '../types';
|
3
|
-
export
|
3
|
+
export type ILinearMeter = IBaseElement & {
|
4
4
|
parts?: number;
|
5
5
|
lineCap?: 'inherit' | 'round' | 'square' | 'butt';
|
6
6
|
orientation?: 'vertical' | 'horizontal';
|
package/Link/Link.d.ts
CHANGED
package/Links/Links.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IMediaObject } from '../types';
|
3
|
-
export
|
3
|
+
export type ILinksItem = {
|
4
4
|
version?: 'primary' | 'secondary' | 'default';
|
5
5
|
name?: any;
|
6
6
|
url?: string;
|
@@ -8,7 +8,7 @@ export declare type ILinksItem = {
|
|
8
8
|
share?: boolean;
|
9
9
|
props?: any;
|
10
10
|
};
|
11
|
-
export
|
11
|
+
export type ILinks = IBaseElement & {
|
12
12
|
name?: any;
|
13
13
|
short_description?: any;
|
14
14
|
links?: ILinksItem[];
|
package/List/List.d.ts
CHANGED
package/ListItem/ListItem.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
3
|
import { IColor, IElement, IElementReference, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export type IListItem = ISurface & {
|
5
5
|
colorSelected?: IColor;
|
6
6
|
inset?: boolean;
|
7
7
|
primary?: IElement;
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILinearProress } from '../LinearProgress/LinearProgress';
|
3
3
|
import { IElementReference, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export type IMainProgressStartArgument = {
|
5
5
|
tonal?: boolean;
|
6
6
|
color?: string;
|
7
7
|
};
|
8
|
-
export
|
8
|
+
export type IMainProgressValue = {
|
9
9
|
start: (value?: IMainProgressStartArgument) => void;
|
10
10
|
increment: () => void;
|
11
11
|
update: (value: number) => void;
|
12
12
|
done: () => void;
|
13
13
|
};
|
14
|
-
export
|
14
|
+
export type IMainProgress = ILinearProress & {
|
15
15
|
min?: number;
|
16
16
|
max?: number;
|
17
17
|
firstIncrement?: boolean;
|
package/Markdown/Markdown.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement } from '../types';
|
3
|
-
export
|
3
|
+
export type IMarkdown = IBaseElement & {
|
4
4
|
value?: string;
|
5
5
|
render?: (element: string, className: string, style: string, ...args: any[]) => string;
|
6
6
|
elementClassNames?: Record<string, string>;
|
package/Masonry/Masonry.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IValueBreakpoints } from '../types';
|
4
|
-
export
|
4
|
+
export type IMasonry = Omit<ILine, 'gap'> & {
|
5
5
|
gap?: number | Partial<Record<IValueBreakpoints, number>>;
|
6
6
|
columns?: number | Partial<Record<IValueBreakpoints, number>>;
|
7
7
|
noMasonry?: boolean;
|
package/Medias/Medias.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IMediaObject, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export type IMediasItem = {
|
5
5
|
value: IMediaObject;
|
6
6
|
props?: any;
|
7
7
|
};
|
8
|
-
export
|
9
|
-
export
|
8
|
+
export type IMediasMediaVersion = 'embed' | 'image' | 'audio' | 'video' | 'other';
|
9
|
+
export type IMedias = ILine & {
|
10
10
|
size?: 'small' | 'regular' | 'large';
|
11
11
|
values?: IMediasItem | IMediasItem[];
|
12
12
|
imageGallery?: boolean;
|
package/Menu/Menu.d.ts
CHANGED
@@ -7,7 +7,7 @@ export declare const MENUS: {
|
|
7
7
|
add: (value: any) => void;
|
8
8
|
remove: (value: any) => void;
|
9
9
|
};
|
10
|
-
export
|
10
|
+
export type IMenu = Omit<ITooltip, 'name' | 'label'> & {
|
11
11
|
open?: boolean;
|
12
12
|
openDefault?: boolean;
|
13
13
|
name?: ((method: (item: any, index: number) => any) => any) | IElement;
|
@@ -2,14 +2,14 @@ import React from 'react';
|
|
2
2
|
import { TTransitionStatus } from '../Transition';
|
3
3
|
import { ILine } from '../Line/Line';
|
4
4
|
import { IElement, IStyle, IElementReference, IPropsAny, IVersion } from '../types';
|
5
|
-
export
|
6
|
-
export
|
5
|
+
export type TMenuDesktopValue = string | number;
|
6
|
+
export type TMenuDesktopItem = {
|
7
7
|
value?: TMenuDesktopValue;
|
8
8
|
label?: IElement;
|
9
9
|
name?: IElement;
|
10
10
|
menu?: IElement;
|
11
11
|
};
|
12
|
-
export
|
12
|
+
export type IMenuDesktop = Omit<ILine, 'onChange'> & {
|
13
13
|
version?: IVersion;
|
14
14
|
items?: Array<TMenuDesktopItem>;
|
15
15
|
valueDefault?: TMenuDesktopValue;
|
package/MenuItem/MenuItem.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IElement, IHTMLElement, IElementReference, IPropsAny } from '../types';
|
3
3
|
import { IListItem } from '../ListItem/ListItem';
|
4
|
-
export
|
4
|
+
export type IMenuItem = IListItem & {
|
5
5
|
menu?: IElement;
|
6
6
|
menuId?: string;
|
7
7
|
menuOpen?: boolean;
|
package/Meta/Meta.d.ts
CHANGED
package/Modal/Modal.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TMethod } from '@onesy/utils';
|
3
3
|
import { IBaseElement, IElementReference, IPropsAny, IRef } from '../types';
|
4
|
-
export
|
4
|
+
export type IModal = IBaseElement & {
|
5
5
|
open?: boolean;
|
6
6
|
openDefault?: boolean;
|
7
7
|
mainRef?: IRef;
|