@onesy/ui-react 1.0.131 → 1.0.133
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/AutoComplete/AutoComplete.js +2 -2
- package/AutoCompleteCountry/AutoCompleteCountry.d.ts +1 -1
- package/AutoCompleteCurrency/AutoCompleteCurrency.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/Buttons/Buttons.js +8 -53
- package/Calendar/Calendar.d.ts +3 -3
- package/Calendar/Calendar.js +6 -6
- package/CalendarAvailability/CalendarAvailability.d.ts +2 -2
- package/CalendarAvailability/CalendarAvailability.js +8 -8
- package/CalendarMenu/CalendarMenu.d.ts +1 -1
- package/CalendarMenu/CalendarMenu.js +5 -5
- 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/Carousel/Carousel.js +8 -8
- 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/DatePicker/DatePicker.js +6 -6
- package/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/DateTimePicker/DateTimePicker.d.ts +2 -2
- package/DateTimePicker/DateTimePicker.js +6 -6
- 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/Drawing/Drawing.js +12 -12
- package/DropZone/DropZone.d.ts +1 -1
- package/Emojis/Emojis.d.ts +3 -3
- package/Emojis/Emojis.js +2 -2
- 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/HTMLCanvas/index.js +1 -2
- package/IFrame/IFrame.d.ts +1 -1
- package/Icon/Icon.d.ts +1 -1
- package/Icon/index.js +1 -2
- package/IconButton/IconButton.d.ts +1 -1
- package/Image/Image.d.ts +1 -1
- package/ImageCrop/ImageCrop.d.ts +2 -2
- package/ImageCrop/ImageCrop.js +17 -17
- package/ImageEdit/ImageEdit.d.ts +2 -2
- package/ImageEdit/ImageEdit.js +4 -4
- 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/Keyframes/index.js +1 -2
- 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/ListItem/ListItem.js +3 -3
- 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/Menu/Menu.js +13 -13
- 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/RichTextEditor/RichTextEditor.js +20 -20
- 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/Select/Select.js +2 -2
- 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/SmartTextField/SmartTextField.js +16 -16
- 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/Space/Space.js +26 -26
- package/Space/index.js +1 -2
- 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/TableCell/TableCell.js +23 -4
- 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/TimePicker/TimePicker.js +12 -12
- 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/Transition/index.js +1 -2
- package/Transitions/Transitions.d.ts +2 -2
- package/Transitions/Transitions.js +2 -2
- package/Tree/Tree.d.ts +1 -1
- package/Type/Type.d.ts +1 -1
- package/VideoPlayer/VideoPlayer.d.ts +1 -1
- package/VideoPlayer/VideoPlayer.js +4 -4
- 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/Append/Append.js +6 -8
- package/esm/AutoComplete/AutoComplete.js +8 -20
- package/esm/Breadcrumbs/Breadcrumbs.js +1 -3
- package/esm/Buttons/Buttons.js +9 -55
- package/esm/Calendar/Calendar.js +74 -80
- package/esm/CalendarAvailability/CalendarAvailability.js +1 -2
- package/esm/CalendarMenu/CalendarMenu.js +2 -2
- package/esm/CalendarMonth/CalendarMonth.js +65 -68
- package/esm/CalendarWeek/CalendarWeek.js +3 -7
- package/esm/Carousel/Carousel.js +4 -12
- package/esm/Chart/Chart.js +19 -25
- package/esm/Clock/Clock.js +5 -8
- package/esm/Confirm/Confirm.js +1 -2
- package/esm/DatePicker/DatePicker.js +8 -13
- package/esm/DateTimePicker/DateTimePicker.js +6 -9
- package/esm/Drawing/Drawing.js +1 -6
- package/esm/Expand/Expand.js +1 -2
- package/esm/Fade/Fade.js +1 -2
- package/esm/Focus/Focus.js +1 -2
- package/esm/Grow/Grow.js +1 -2
- package/esm/HTMLCanvas/HTMLCanvas.js +2 -5
- package/esm/ImageCrop/ImageCrop.js +2 -5
- package/esm/ImageEdit/ImageEdit.js +5 -12
- package/esm/ImageGallery/ImageGallery.js +1 -2
- package/esm/Interaction/Interaction.js +1 -2
- package/esm/Keyframes/Keyframes.js +1 -2
- package/esm/LinearMeter/LinearMeter.js +77 -80
- package/esm/Markdown/Markdown.js +41 -144
- package/esm/MenuDesktop/MenuDesktop.js +5 -6
- package/esm/Rating/Rating.js +2 -4
- package/esm/RichTextEditor/RichTextEditor.js +36 -50
- package/esm/RoundMeter/RoundMeter.js +70 -73
- package/esm/ScreenCapture/ScreenCapture.js +2 -5
- package/esm/Select/Select.js +5 -9
- package/esm/Share/Share.js +4 -5
- package/esm/Slide/Slide.js +2 -4
- package/esm/Slider/Slider.js +3 -6
- package/esm/SmartTextField/SmartTextField.js +2 -4
- package/esm/Snackbar/Snackbar.js +1 -2
- package/esm/Snackbars/Snackbars.js +3 -3
- package/esm/Space/Space.js +3 -6
- package/esm/Switch/Switch.js +1 -2
- package/esm/TableCell/TableCell.js +23 -4
- package/esm/Tabs/Tabs.js +1 -2
- package/esm/TimePicker/TimePicker.js +27 -38
- package/esm/Timer/Timer.js +3 -4
- package/esm/Tooltip/Tooltip.js +1 -2
- package/esm/ViewSplit/ViewSplit.js +1 -2
- package/esm/Watch/Watch.js +4 -5
- package/esm/Weather/Weather.js +14 -17
- package/esm/Whiteboard/Whiteboard.js +1 -4
- package/esm/WindowSplit/WindowSplit.js +1 -2
- package/esm/Zoom/Zoom.js +1 -2
- package/esm/index.js +1 -1
- package/esm/useForm/useForm.js +1 -4
- package/esm/useLocation/useLocation.js +1 -2
- package/esm/useSwipe/useSwipe.js +1 -2
- package/esm/utils.js +10 -13
- package/index.js +2 -3
- package/package.json +3 -3
- package/types.d.ts +27 -27
- package/useForm/useForm.d.ts +2 -2
- package/useForm/validate.d.ts +12 -12
- package/useForm/validate.js +20 -20
- 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/utils.d.ts +1 -1
- package/utils.js +7 -2
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;
|
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
|
|
5
|
-
export
|
|
4
|
+
export type TNavigationBarValue = Array<string>;
|
|
5
|
+
export 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
|
|
4
|
+
export 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
|
|
5
|
-
export
|
|
4
|
+
export type INavigationItemVersion = 'regular' | 'auto';
|
|
5
|
+
export type INavigationItem = ITooltip & {
|
|
6
6
|
version?: 'regular' | 'auto';
|
|
7
7
|
value?: any;
|
|
8
8
|
name?: IElement;
|
|
@@ -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
|
|
5
|
+
export 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
|
|
4
|
+
export 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
|
|
4
|
+
export type IPageForward = {
|
|
5
5
|
to?: string;
|
|
6
6
|
name?: string;
|
|
7
7
|
label?: string;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export 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
|
|
4
|
+
export 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
|
|
4
|
+
export 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
|
|
4
|
-
export
|
|
3
|
+
export type TParallaxDirection = 'vertical' | 'horizontal';
|
|
4
|
+
export 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
|
|
3
|
+
export 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
|
|
4
|
+
export type IPropertiesValue = {
|
|
5
5
|
name: any;
|
|
6
6
|
value: any;
|
|
7
7
|
separator?: any;
|
|
8
8
|
props?: any;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export 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
|
|
4
|
+
export 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
|
|
4
|
+
export 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
|
|
3
|
+
export 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
|
|
4
|
+
export 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
|
|
4
|
+
export type IRichTextEditor = Omit<ILine, 'onChange'> & {
|
|
5
5
|
version?: IVersion;
|
|
6
6
|
value?: string;
|
|
7
7
|
onChange?: (event: React.ChangeEvent<any>) => any;
|
|
@@ -259,44 +259,44 @@ const RichTextEditor = /*#__PURE__*/_react.default.forwardRef((props__, ref) =>
|
|
|
259
259
|
return (theme === null || theme === void 0 || (_theme$elements9 = theme.elements) === null || _theme$elements9 === void 0 ? void 0 : _theme$elements9.NumericTextField) || _NumericTextField.default;
|
|
260
260
|
}, [theme]);
|
|
261
261
|
const ColorTextField = _react.default.useMemo(() => {
|
|
262
|
-
var _theme$
|
|
263
|
-
return (theme === null || theme === void 0 || (_theme$
|
|
262
|
+
var _theme$elements0;
|
|
263
|
+
return (theme === null || theme === void 0 || (_theme$elements0 = theme.elements) === null || _theme$elements0 === void 0 ? void 0 : _theme$elements0.ColorTextField) || _ColorTextField.default;
|
|
264
264
|
}, [theme]);
|
|
265
265
|
const ToggleButton = _react.default.useMemo(() => {
|
|
266
|
-
var _theme$
|
|
267
|
-
return (theme === null || theme === void 0 || (_theme$
|
|
266
|
+
var _theme$elements1;
|
|
267
|
+
return (theme === null || theme === void 0 || (_theme$elements1 = theme.elements) === null || _theme$elements1 === void 0 ? void 0 : _theme$elements1.ToggleButton) || _ToggleButton.default;
|
|
268
268
|
}, [theme]);
|
|
269
269
|
const ToggleButtons = _react.default.useMemo(() => {
|
|
270
|
-
var _theme$
|
|
271
|
-
return (theme === null || theme === void 0 || (_theme$
|
|
270
|
+
var _theme$elements10;
|
|
271
|
+
return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.ToggleButtons) || _ToggleButtons.default;
|
|
272
272
|
}, [theme]);
|
|
273
273
|
const Drawing = _react.default.useMemo(() => {
|
|
274
|
-
var _theme$
|
|
275
|
-
return (theme === null || theme === void 0 || (_theme$
|
|
274
|
+
var _theme$elements11;
|
|
275
|
+
return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.Drawing) || _Drawing.default;
|
|
276
276
|
}, [theme]);
|
|
277
277
|
const Divider = _react.default.useMemo(() => {
|
|
278
|
-
var _theme$
|
|
279
|
-
return (theme === null || theme === void 0 || (_theme$
|
|
278
|
+
var _theme$elements12;
|
|
279
|
+
return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.Divider) || _Divider.default;
|
|
280
280
|
}, [theme]);
|
|
281
281
|
const ClickListener = _react.default.useMemo(() => {
|
|
282
|
-
var _theme$
|
|
283
|
-
return (theme === null || theme === void 0 || (_theme$
|
|
282
|
+
var _theme$elements13;
|
|
283
|
+
return (theme === null || theme === void 0 || (_theme$elements13 = theme.elements) === null || _theme$elements13 === void 0 ? void 0 : _theme$elements13.ClickListener) || _ClickListener.default;
|
|
284
284
|
}, [theme]);
|
|
285
285
|
const TextField = _react.default.useMemo(() => {
|
|
286
|
-
var _theme$
|
|
287
|
-
return (theme === null || theme === void 0 || (_theme$
|
|
286
|
+
var _theme$elements14;
|
|
287
|
+
return (theme === null || theme === void 0 || (_theme$elements14 = theme.elements) === null || _theme$elements14 === void 0 ? void 0 : _theme$elements14.TextField) || _TextField.default;
|
|
288
288
|
}, [theme]);
|
|
289
289
|
const Surface = _react.default.useMemo(() => {
|
|
290
|
-
var _theme$
|
|
291
|
-
return (theme === null || theme === void 0 || (_theme$
|
|
290
|
+
var _theme$elements15;
|
|
291
|
+
return (theme === null || theme === void 0 || (_theme$elements15 = theme.elements) === null || _theme$elements15 === void 0 ? void 0 : _theme$elements15.Surface) || _Surface.default;
|
|
292
292
|
}, [theme]);
|
|
293
293
|
const Button = _react.default.useMemo(() => {
|
|
294
|
-
var _theme$
|
|
295
|
-
return (theme === null || theme === void 0 || (_theme$
|
|
294
|
+
var _theme$elements16;
|
|
295
|
+
return (theme === null || theme === void 0 || (_theme$elements16 = theme.elements) === null || _theme$elements16 === void 0 ? void 0 : _theme$elements16.Button) || _Button.default;
|
|
296
296
|
}, [theme]);
|
|
297
297
|
const ListItem = _react.default.useMemo(() => {
|
|
298
|
-
var _theme$
|
|
299
|
-
return (theme === null || theme === void 0 || (_theme$
|
|
298
|
+
var _theme$elements17;
|
|
299
|
+
return (theme === null || theme === void 0 || (_theme$elements17 = theme.elements) === null || _theme$elements17 === void 0 ? void 0 : _theme$elements17.ListItem) || _ListItem.default;
|
|
300
300
|
}, [theme]);
|
|
301
301
|
const {
|
|
302
302
|
tonal = true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IBaseElement, IStyle, IElement, IPropsAny } from '../types';
|
|
3
|
-
export
|
|
3
|
+
export 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
|
|
3
|
+
export 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
|
|
4
|
+
export 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
|
|
5
|
-
export
|
|
4
|
+
export type TTrackValueVersion = 'image' | 'canvas';
|
|
5
|
+
export 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
|
|
6
|
-
export
|
|
5
|
+
export type ISize = 'extra_small' | 'small' | 'regular' | 'large' | 'extra_large' | 'extra_extra_large';
|
|
6
|
+
export 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
|
|
5
|
+
export type ISectionBoxesItem = {
|
|
6
6
|
name?: any;
|
|
7
7
|
description?: any;
|
|
8
8
|
buttonText?: any;
|
|
@@ -22,7 +22,7 @@ export declare type ISectionBoxesItem = {
|
|
|
22
22
|
propsWrapperText?: any;
|
|
23
23
|
propsActions?: any;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export 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
|
|
5
|
+
export type ISectionCardsItem = {
|
|
6
6
|
name?: any;
|
|
7
7
|
description?: any;
|
|
8
8
|
buttonText?: any;
|
|
@@ -23,7 +23,7 @@ export declare type ISectionCardsItem = {
|
|
|
23
23
|
propsWrapperText?: any;
|
|
24
24
|
propsActions?: any;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export 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
|
|
5
|
+
export type ISectionCarouselItem = {
|
|
6
6
|
name?: any;
|
|
7
7
|
description?: any;
|
|
8
8
|
buttonText?: any;
|
|
@@ -20,7 +20,7 @@ export declare type ISectionCarouselItem = {
|
|
|
20
20
|
propsButton?: any;
|
|
21
21
|
propsButtonWrapper?: any;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export 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
|
|
5
|
+
export 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
|
|
5
|
+
export 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
|
|
4
|
+
export 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
|
|
4
|
+
export 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
|
|
4
|
+
export 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
|
|
11
|
+
export 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
|
|
4
|
+
export 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
|
|
4
|
+
export type ISectionTimelineItem = {
|
|
5
5
|
title?: string;
|
|
6
6
|
heading?: string;
|
|
7
7
|
description?: string;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export 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
|
|
5
|
+
export type ISectionWatch = ISection & {
|
|
6
6
|
version?: 'regular' | 'analog' | 'modern' | 'minimal';
|
|
7
7
|
color?: TPaletteVersion;
|
|
8
8
|
WatchProps?: IWatch;
|
package/Select/Select.d.ts
CHANGED