@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,13 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IPropsAny } from '../types';
|
3
|
-
export
|
3
|
+
export declare type ICardButton = IBaseElement & {
|
4
4
|
focus?: boolean;
|
5
5
|
selected?: boolean;
|
6
6
|
href?: boolean;
|
7
|
-
disabled?: boolean;
|
8
7
|
onFocus?: (event: React.FocusEvent<any>) => any;
|
9
8
|
onBlur?: (event: React.FocusEvent<any>) => any;
|
10
9
|
InteractionProps?: IPropsAny;
|
11
|
-
}
|
10
|
+
};
|
12
11
|
declare const CardButton: React.FC<ICardButton>;
|
13
12
|
export default CardButton;
|
@@ -1,11 +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 { IElevation, IVersion } from '../types';
|
4
|
+
export declare type ICardFooter = ILine & {
|
7
5
|
version?: IVersion;
|
8
6
|
elevation?: IElevation;
|
9
|
-
}
|
7
|
+
};
|
10
8
|
declare const CardFooter: React.FC<ICardFooter>;
|
11
9
|
export default CardFooter;
|
@@ -1,11 +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 { IElevation, IVersion } from '../types';
|
4
|
+
export declare type ICardHeader = ILine & {
|
7
5
|
version?: IVersion;
|
8
6
|
elevation?: IElevation;
|
9
|
-
}
|
7
|
+
};
|
10
8
|
declare const CardHeader: React.FC<ICardHeader>;
|
11
9
|
export default CardHeader;
|
package/CardImage/CardImage.d.ts
CHANGED
@@ -1,14 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { IBaseElement,
|
3
|
-
export
|
4
|
-
tonal?: ITonal;
|
5
|
-
color?: IColor;
|
2
|
+
import { IBaseElement, IVersion, IElevation } from '../types';
|
3
|
+
export declare type ICardImage = IBaseElement & {
|
6
4
|
version?: IVersion;
|
7
5
|
elevation?: IElevation;
|
8
6
|
alt?: string;
|
9
7
|
image?: string;
|
10
8
|
shape?: 'all' | 'none' | 'top' | 'left' | 'bottom' | 'right';
|
11
9
|
marginHorizontal?: boolean;
|
12
|
-
}
|
10
|
+
};
|
13
11
|
declare const CardImage: React.FC<ICardImage>;
|
14
12
|
export default CardImage;
|
package/CardMain/CardMain.d.ts
CHANGED
@@ -1,11 +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 { IVersion, IElevation } from '../types';
|
4
|
+
export declare type ICardMain = ILine & {
|
7
5
|
version?: IVersion;
|
8
6
|
elevation?: IElevation;
|
9
|
-
}
|
7
|
+
};
|
10
8
|
declare const CardMain: React.FC<ICardMain>;
|
11
9
|
export default CardMain;
|
package/Carousel/Carousel.d.ts
CHANGED
@@ -3,16 +3,16 @@ import { TMethod } from '@onesy/utils';
|
|
3
3
|
import OnesySubscription from '@onesy/subscription';
|
4
4
|
import { ISurface } from '../Surface/Surface';
|
5
5
|
import { IElement, IValueBreakpoints, IElementReference, IPropsAny } from '../types';
|
6
|
-
export
|
6
|
+
export declare type ICarouselValue = {
|
7
7
|
index?: number;
|
8
8
|
x?: number;
|
9
9
|
y?: number;
|
10
|
-
}
|
10
|
+
};
|
11
11
|
export declare type TCarouselItem = string | null | IElement | {
|
12
12
|
element: IElement;
|
13
13
|
};
|
14
14
|
export declare type TCarouseOnUpdate = (to: string | number, values: TCarouselItem[]) => any;
|
15
|
-
export
|
15
|
+
export declare type ICarousel = Omit<ISurface, 'version'> & {
|
16
16
|
version?: 'regular' | 'transition' | Partial<Record<IValueBreakpoints, 'regular' | 'transition'>>;
|
17
17
|
valueDefault?: ICarouselValue;
|
18
18
|
value?: ICarouselValue;
|
@@ -79,6 +79,6 @@ export interface ICarousel extends Omit<ISurface, 'version'> {
|
|
79
79
|
ArrowNextTransitionComponentProps?: IPropsAny;
|
80
80
|
ProgressTransitionComponentProps?: IPropsAny;
|
81
81
|
ItemWrapperProps?: IPropsAny;
|
82
|
-
}
|
82
|
+
};
|
83
83
|
declare const Carousel: React.FC<ICarousel>;
|
84
84
|
export default Carousel;
|
package/Chart/Chart.d.ts
CHANGED
@@ -1,26 +1,23 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TColorValues } from '@onesy/style-react';
|
3
3
|
import { ISurface } from '../Surface/Surface';
|
4
|
-
import {
|
4
|
+
import { IStyle, IElementAny, IElement, IValueBreakpoints, IPropsAny } from '../types';
|
5
5
|
export declare type IChartValueValues = Array<any>;
|
6
|
-
export
|
6
|
+
export declare type IItemValue = {
|
7
7
|
value: number;
|
8
8
|
label: number;
|
9
9
|
percentage: number;
|
10
10
|
axis: 'x' | 'y';
|
11
11
|
props?: any;
|
12
|
-
}
|
13
|
-
export
|
14
|
-
color?: IColor;
|
12
|
+
};
|
13
|
+
export declare type IChartValue = {
|
15
14
|
tone?: TColorValues;
|
16
15
|
name?: string;
|
17
16
|
style?: IStyle;
|
18
17
|
percentage?: string | number;
|
19
18
|
values: IChartValueValues | Array<IChartValueValues>;
|
20
|
-
}
|
21
|
-
export
|
22
|
-
tonal?: ITonal;
|
23
|
-
color?: IColor;
|
19
|
+
};
|
20
|
+
export declare type IChart = ISurface & {
|
24
21
|
title?: IElementAny;
|
25
22
|
subtitle?: IElementAny;
|
26
23
|
values?: Array<IChartValue>;
|
@@ -104,6 +101,7 @@ export interface IChart extends ISurface {
|
|
104
101
|
minPaddingY?: number | Partial<Record<IValueBreakpoints, number>>;
|
105
102
|
maxPaddingX?: number | Partial<Record<IValueBreakpoints, number>>;
|
106
103
|
maxPaddingY?: number | Partial<Record<IValueBreakpoints, number>>;
|
104
|
+
minMax?: any;
|
107
105
|
noMain?: boolean;
|
108
106
|
tooltipRender?: (values: IChartValue) => any;
|
109
107
|
tooltipGroupRender?: (groups: Array<IChartValue>, groupsSorted: string[]) => any;
|
@@ -128,6 +126,6 @@ export interface IChart extends ISurface {
|
|
128
126
|
LegendItemProps?: IPropsAny;
|
129
127
|
GuidelineProps?: IPropsAny;
|
130
128
|
WrapperProps?: IPropsAny;
|
131
|
-
}
|
129
|
+
};
|
132
130
|
declare const Chart: React.FC<IChart>;
|
133
131
|
export default Chart;
|
package/Checkbox/Checkbox.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 ICheckbox = IIconButton & {
|
5
5
|
inputRef?: IRef;
|
6
6
|
colorIndeterminate?: IColor;
|
7
7
|
colorUnchecked?: IColor;
|
@@ -12,6 +12,6 @@ export interface ICheckbox extends IIconButton {
|
|
12
12
|
onChange?: (value: boolean, event: React.ChangeEvent<any>) => any;
|
13
13
|
indeterminate?: boolean;
|
14
14
|
disabled?: boolean;
|
15
|
-
}
|
15
|
+
};
|
16
16
|
declare const Checkbox: React.FC<ICheckbox>;
|
17
17
|
export default Checkbox;
|
package/Chip/Chip.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IButton } from '../Button/Button';
|
3
|
-
export
|
3
|
+
export declare type IChip = IButton & {
|
4
4
|
input?: boolean;
|
5
5
|
filter?: boolean;
|
6
6
|
noCheckIcon?: boolean;
|
@@ -8,6 +8,6 @@ export interface IChip extends IButton {
|
|
8
8
|
onRemove?: (event: MouseEvent) => any;
|
9
9
|
onSelected?: () => any;
|
10
10
|
onUnselected?: () => any;
|
11
|
-
}
|
11
|
+
};
|
12
12
|
declare const Chip: React.FC<IChip>;
|
13
13
|
export default Chip;
|
package/Chips/Chips.d.ts
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IElement, IPropsAny } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IChips = ILine & {
|
5
5
|
total?: number;
|
6
|
+
showAllDefault?: boolean;
|
6
7
|
max?: number;
|
8
|
+
moreShowAll?: boolean;
|
7
9
|
AdditionalChip?: IElement;
|
8
10
|
AdditionalChipProps?: IPropsAny;
|
9
|
-
}
|
11
|
+
};
|
10
12
|
declare const Chips: React.FC<IChips>;
|
11
13
|
export default Chips;
|
package/Chips/Chips.js
CHANGED
@@ -64,7 +64,7 @@ const Chips = react_1.default.forwardRef((props_, ref) => {
|
|
64
64
|
const props = react_1.default.useMemo(() => { var _a, _b, _c, _d, _e, _f, _g, _h; return (Object.assign(Object.assign(Object.assign({}, (_d = (_c = (_b = (_a = theme === null || theme === void 0 ? void 0 : theme.ui) === null || _a === void 0 ? void 0 : _a.elements) === null || _b === void 0 ? void 0 : _b.all) === null || _c === void 0 ? void 0 : _c.props) === null || _d === void 0 ? void 0 : _d.default), (_h = (_g = (_f = (_e = theme === null || theme === void 0 ? void 0 : theme.ui) === null || _e === void 0 ? void 0 : _e.elements) === null || _f === void 0 ? void 0 : _f.onesyChips) === null || _g === void 0 ? void 0 : _g.props) === null || _h === void 0 ? void 0 : _h.default), props_)); }, [props_]);
|
65
65
|
const Line = react_1.default.useMemo(() => { var _a; return ((_a = theme === null || theme === void 0 ? void 0 : theme.elements) === null || _a === void 0 ? void 0 : _a.Line) || Line_1.default; }, [theme]);
|
66
66
|
const Chip = react_1.default.useMemo(() => { var _a; return ((_a = theme === null || theme === void 0 ? void 0 : theme.elements) === null || _a === void 0 ? void 0 : _a.Chip) || Chip_1.default; }, [theme]);
|
67
|
-
const { size = 'regular', gap = 1, align = 'flex-start', justify = 'flex-start', direction = 'row', wrap, total, max, showAllDefault,
|
67
|
+
const { size = 'regular', gap = 1, align = 'flex-start', justify = 'flex-start', direction = 'row', wrap, total, max, showAllDefault, moreShowAll = true, AdditionalChip, AdditionalChipProps = {}, Component = 'div', className, style, children: children_ } = props, other = __rest(props, ["size", "gap", "align", "justify", "direction", "wrap", "total", "max", "showAllDefault", "moreShowAll", "AdditionalChip", "AdditionalChipProps", "Component", "className", "style", "children"]);
|
68
68
|
const { classes } = useStyle();
|
69
69
|
const [showAll, setShowAll] = react_1.default.useState(showAllDefault !== undefined ? showAllDefault : false);
|
70
70
|
const onClickMore = react_1.default.useCallback(() => {
|
@@ -83,7 +83,7 @@ const Chips = react_1.default.forwardRef((props_, ref) => {
|
|
83
83
|
AdditionalChipProps.TypeProps = {};
|
84
84
|
AdditionalChipProps.TypeProps.size = '0.44em';
|
85
85
|
children.push(AdditionalChip ||
|
86
|
-
(0, jsx_runtime_1.jsx)(Chip, Object.assign({ color: 'default' }, other, AdditionalChipProps, { onClick: (
|
86
|
+
(0, jsx_runtime_1.jsx)(Chip, Object.assign({ color: 'default' }, other, AdditionalChipProps, { onClick: (moreShowAll ? onClickMore : undefined) }, { children: value })));
|
87
87
|
}
|
88
88
|
}
|
89
89
|
return ((0, jsx_runtime_1.jsx)(Line, Object.assign({ ref: ref, gap: gap, justify: justify, align: align, direction: direction, wrap: wrap, Component: Component, className: (0, style_react_1.classNames)([
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement, IHTMLElement } from '../types';
|
3
|
-
export
|
3
|
+
export declare type IClickListener = IBaseElement & {
|
4
4
|
mouseEvent?: 'onClick' | 'onMove' | 'onMouseDown' | 'onMouseUp' | 'onMouseEnter' | 'onMouseLeave';
|
5
5
|
touchEvent?: 'onTouchStart' | 'onTouchEnd' | 'onTouchMove';
|
6
6
|
include?: Array<IHTMLElement>;
|
7
7
|
includeParentQueries?: Array<string>;
|
8
8
|
includeQueries?: Array<string>;
|
9
|
-
|
9
|
+
ignoreNonExisting?: boolean;
|
10
10
|
onClickInside?: () => any;
|
11
11
|
onClickOutside?: () => any;
|
12
|
-
}
|
12
|
+
};
|
13
13
|
declare const ClickListener: React.FC<IClickListener>;
|
14
14
|
export default ClickListener;
|
package/Clock/Clock.d.ts
CHANGED
@@ -1,21 +1,17 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { OnesyDate } from '@onesy/date';
|
3
3
|
import { IRoundMeter } from '../RoundMeter/RoundMeter';
|
4
|
-
import { ITonal, IColor, ISize } from '../types';
|
5
4
|
export declare type TClockValue = OnesyDate;
|
6
5
|
export declare type TClockFormat = '12' | '24';
|
7
6
|
export declare type TClockUnit = 'hour' | 'minute' | 'second';
|
8
7
|
export declare type TClockDayTime = 'am' | 'pm';
|
9
|
-
export
|
10
|
-
tonal?: ITonal;
|
11
|
-
color?: IColor;
|
8
|
+
export declare type IClock = IRoundMeter & {
|
12
9
|
value?: TClockValue;
|
13
10
|
valueDefault?: TClockValue;
|
14
11
|
onChange?: (value: TClockValue) => any;
|
15
12
|
selecting?: TClockUnit;
|
16
13
|
selectingDefault?: TClockUnit;
|
17
14
|
onChangeSelecting?: (value: TClockUnit) => any;
|
18
|
-
size?: ISize;
|
19
15
|
format?: TClockFormat;
|
20
16
|
dayTime?: TClockDayTime;
|
21
17
|
hour?: boolean;
|
@@ -25,11 +21,9 @@ export interface IClock extends IRoundMeter {
|
|
25
21
|
min?: OnesyDate;
|
26
22
|
max?: OnesyDate;
|
27
23
|
validate?: (value: OnesyDate) => boolean;
|
28
|
-
readOnly?: boolean;
|
29
|
-
disabled?: boolean;
|
30
24
|
valid?: (value: OnesyDate, selecting: TClockUnit) => any;
|
31
25
|
renderValue?: (value: TClockValue, version: TClockUnit, x: number, y: number, valueNumber: number, otherProps: any) => React.ReactNode;
|
32
26
|
onDoneSelecting?: (value: TClockValue, selecting: TClockUnit) => any;
|
33
|
-
}
|
27
|
+
};
|
34
28
|
declare const Clock: React.FC<IClock>;
|
35
29
|
export default Clock;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ITextField } from '../TextField/TextField';
|
3
|
-
export
|
3
|
+
export declare type IColorTextField = ITextField & {
|
4
4
|
name?: any;
|
5
5
|
valueColor?: string;
|
6
6
|
valueOpacity?: string | number;
|
7
7
|
onChangeColor?: (valueNew: string) => any;
|
8
8
|
onChangeOpacity?: (valueNew: string | number) => any;
|
9
9
|
opacity?: boolean;
|
10
|
-
}
|
10
|
+
};
|
11
11
|
declare const ColorTextField: React.FC<IColorTextField>;
|
12
12
|
export default ColorTextField;
|
@@ -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 IColumnChartItem = IChart & {
|
5
5
|
name?: string;
|
6
6
|
refs?: {
|
7
7
|
wrapper?: HTMLElement;
|
@@ -15,6 +15,8 @@ export interface IColumnChartItem extends IChart {
|
|
15
15
|
width?: number;
|
16
16
|
updateDefs?: TMethod;
|
17
17
|
updateLegend?: TMethod;
|
18
|
-
|
18
|
+
BackgroundProps?: any;
|
19
|
+
BorderProps?: any;
|
20
|
+
};
|
19
21
|
declare const ColumnChartItem: React.FC<IColumnChartItem>;
|
20
22
|
export default ColumnChartItem;
|
package/Confirm/Confirm.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TMethod } from '@onesy/utils';
|
3
3
|
import { IBaseElement } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IConfirmOpen = {
|
5
5
|
modal?: (promise: IConfirmPromiseArgument) => React.ReactElement;
|
6
6
|
name?: string | boolean | React.ReactElement;
|
7
7
|
description?: string | React.ReactElement;
|
@@ -17,19 +17,19 @@ export interface IConfirmOpen {
|
|
17
17
|
ButtonNegativeProps?: any;
|
18
18
|
ButtonPositiveProps?: any;
|
19
19
|
[p: string]: any;
|
20
|
-
}
|
21
|
-
export
|
20
|
+
};
|
21
|
+
export declare type IConfirmPromiseArgument = {
|
22
22
|
resolve: TMethod;
|
23
23
|
reject: TMethod;
|
24
|
-
}
|
25
|
-
export
|
24
|
+
};
|
25
|
+
export declare type IConfirmValue = {
|
26
26
|
open: (value?: IConfirmOpen) => Promise<any>;
|
27
27
|
close: (confirmed?: boolean) => void;
|
28
|
-
}
|
29
|
-
export
|
28
|
+
};
|
29
|
+
export declare type IConfirm = IBaseElement & {
|
30
30
|
throwError?: boolean;
|
31
31
|
onOpen?: () => any;
|
32
32
|
onClose?: () => any;
|
33
|
-
}
|
33
|
+
};
|
34
34
|
declare const Confirm: React.FC<IConfirm>;
|
35
35
|
export default Confirm;
|
package/Container/Container.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ILine } from '../Line/Line';
|
3
3
|
import { IValueBreakpoints } from '../types';
|
4
|
-
export
|
4
|
+
export declare type IContainer = ILine & {
|
5
5
|
alignment?: 'start' | 'center' | 'end' | Partial<Record<IValueBreakpoints, 'start' | 'center' | 'end'>>;
|
6
6
|
paddingVertical?: 'both' | 'start' | 'end' | 'none' | Partial<Record<IValueBreakpoints, 'both' | 'start' | 'end' | 'none'>>;
|
7
7
|
paddingHorizontal?: 'both' | 'start' | 'end' | 'none' | Partial<Record<IValueBreakpoints, 'both' | 'start' | 'end' | 'none'>>;
|
8
8
|
fullWidth?: boolean | Partial<Record<IValueBreakpoints, boolean>>;
|
9
9
|
maxWidth?: 'xxs' | 'xs' | 'sm' | 'rg' | 'lg' | 'xl' | 'unset' | Partial<Record<IValueBreakpoints, 'xxs' | 'xs' | 'sm' | 'rg' | 'lg' | 'xl' | 'unset'>>;
|
10
|
-
}
|
10
|
+
};
|
11
11
|
declare const Container: React.FC<IContainer>;
|
12
12
|
export default Container;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IPropsAny } from '../types';
|
3
3
|
import { ISurface } from '../Surface/Surface';
|
4
|
-
export
|
4
|
+
export declare type ICookieBanner = ISurface & {
|
5
5
|
name?: any;
|
6
6
|
description?: any;
|
7
7
|
startActions?: any;
|
@@ -18,6 +18,6 @@ export interface ICookieBanner extends ISurface {
|
|
18
18
|
RejectButtonProps?: IPropsAny;
|
19
19
|
AllowButtonProps?: IPropsAny;
|
20
20
|
TransitionProps?: IPropsAny;
|
21
|
-
}
|
21
|
+
};
|
22
22
|
declare const CookieBanner: React.FC<ICookieBanner>;
|
23
23
|
export default CookieBanner;
|
package/Countdown/Countdown.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
|
4
|
+
export declare type ICountdown = Omit<ISurface, 'version'> & {
|
5
5
|
version?: 'linear' | 'round';
|
6
6
|
renderValue?: (value: string) => IElement;
|
7
7
|
icon?: boolean;
|
@@ -20,6 +20,6 @@ export interface ICountdown extends Omit<ISurface, 'version'> {
|
|
20
20
|
IconButtonProps?: IPropsAny;
|
21
21
|
LinearProgressProps?: IPropsAny;
|
22
22
|
IconProps?: IPropsAny;
|
23
|
-
}
|
23
|
+
};
|
24
24
|
declare const Countdown: React.FC<ICountdown>;
|
25
25
|
export default Countdown;
|
@@ -3,14 +3,11 @@ import { OnesyDate } from '@onesy/date';
|
|
3
3
|
import { ILine } from '../Line/Line';
|
4
4
|
import { TCalendarUnit } from '../Calendar/Calendar';
|
5
5
|
import { TCalendarMonthCalendar, TCalendarMonthValue } from '../CalendarMonth/CalendarMonth';
|
6
|
-
import {
|
6
|
+
import { IValueBreakpoints, IElement, IElementReference, IPropsAny } from '../types';
|
7
7
|
export declare const SEPARATOR_SYMBOL = "\u2013";
|
8
8
|
export declare const SEPARATOR: string;
|
9
|
-
export
|
10
|
-
tonal?: ITonal;
|
11
|
-
color?: IColor;
|
9
|
+
export declare type IDatePicker = ILine & {
|
12
10
|
version?: 'auto' | 'mobile' | 'desktop';
|
13
|
-
size?: ISize;
|
14
11
|
value?: TCalendarMonthValue;
|
15
12
|
valueDefault?: TCalendarMonthValue;
|
16
13
|
onChange?: (value: TCalendarMonthValue) => any;
|
@@ -27,6 +24,7 @@ export interface IDatePicker extends ILine {
|
|
27
24
|
calendars?: number;
|
28
25
|
placeholder?: string;
|
29
26
|
openMobile?: 'input' | 'select';
|
27
|
+
weekStartDay?: string;
|
30
28
|
modeModalSubHeadingText?: string;
|
31
29
|
modeModalSubHeadingTextRange?: string;
|
32
30
|
selectModeHeadingText?: string;
|
@@ -45,8 +43,6 @@ export interface IDatePicker extends ILine {
|
|
45
43
|
heading?: boolean;
|
46
44
|
actions?: boolean;
|
47
45
|
fullWidth?: boolean;
|
48
|
-
readOnly?: boolean;
|
49
|
-
disabled?: boolean;
|
50
46
|
onClick?: (event: React.MouseEvent<any>) => any;
|
51
47
|
onClose?: (event: React.MouseEvent<any>) => any;
|
52
48
|
onCancel?: (event: React.MouseEvent<any>) => any;
|
@@ -68,6 +64,6 @@ export interface IDatePicker extends ILine {
|
|
68
64
|
ModalProps?: IPropsAny;
|
69
65
|
IconProps?: IPropsAny;
|
70
66
|
MobileSurfaceProps?: IPropsAny;
|
71
|
-
}
|
67
|
+
};
|
72
68
|
declare const DatePicker: React.FC<IDatePicker>;
|
73
69
|
export default DatePicker;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IDatePicker } from '../DatePicker/DatePicker';
|
3
|
-
export
|
4
|
-
}
|
3
|
+
export declare type IDateRangePicker = IDatePicker & {};
|
5
4
|
declare const DateRangePicker: React.FC<IDateRangePicker>;
|
6
5
|
export default DateRangePicker;
|
@@ -4,11 +4,9 @@ import { IAdvancedTextField } from '../AdvancedTextField/AdvancedTextField';
|
|
4
4
|
import { TCalendarMonthValue } from '../CalendarMonth/CalendarMonth';
|
5
5
|
import { TCalendarUnit } from '../Calendar/Calendar';
|
6
6
|
import { TClockUnit } from '../Clock/Clock';
|
7
|
-
import {
|
7
|
+
import { IValueBreakpoints, IElementReference, IPropsAny } from '../types';
|
8
8
|
export declare type TDateTimePicker = OnesyDate;
|
9
|
-
export
|
10
|
-
tonal?: ITonal;
|
11
|
-
color?: IColor;
|
9
|
+
export declare type IDateTimePicker = Omit<IAdvancedTextField, 'version'> & {
|
12
10
|
version?: 'auto' | 'mobile' | 'desktop';
|
13
11
|
value?: TCalendarMonthValue;
|
14
12
|
valueDefault?: TCalendarMonthValue;
|
@@ -34,8 +32,6 @@ export interface IDateTimePicker extends Omit<IAdvancedTextField, 'version'> {
|
|
34
32
|
clear?: boolean;
|
35
33
|
placeholder?: string;
|
36
34
|
fullWidth?: boolean;
|
37
|
-
readOnly?: boolean;
|
38
|
-
disabled?: boolean;
|
39
35
|
onClose?: (event: React.MouseEvent<any>) => any;
|
40
36
|
onCancel?: (event: React.MouseEvent<any>) => any;
|
41
37
|
onToday?: (event: React.MouseEvent<any>) => any;
|
@@ -56,6 +52,8 @@ export interface IDateTimePicker extends Omit<IAdvancedTextField, 'version'> {
|
|
56
52
|
MiddleProps?: IPropsAny;
|
57
53
|
MainProps?: IPropsAny;
|
58
54
|
IconProps?: IPropsAny;
|
59
|
-
|
55
|
+
ModeDesktopProps?: IPropsAny;
|
56
|
+
ModeMobileProps?: IPropsAny;
|
57
|
+
};
|
60
58
|
declare const DateTimePicker: React.FC<IDateTimePicker>;
|
61
59
|
export default DateTimePicker;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IDateTimePicker } from '../DateTimePicker/DateTimePicker';
|
3
|
-
export
|
4
|
-
}
|
3
|
+
export declare type IDateTimeRangePicker = IDateTimePicker & {};
|
5
4
|
declare const DateTimeRangePicker: React.FC<IDateTimeRangePicker>;
|
6
5
|
export default DateTimeRangePicker;
|
package/Divider/Divider.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ISurface } from '../Surface/Surface';
|
3
|
-
export
|
3
|
+
export declare type IDivider = ISurface & {
|
4
4
|
inset?: boolean;
|
5
5
|
middle?: boolean;
|
6
6
|
padding?: number;
|
@@ -8,6 +8,6 @@ export interface IDivider extends ISurface {
|
|
8
8
|
alignment?: 'start' | 'center' | 'end';
|
9
9
|
orientation?: 'vertical' | 'horizontal';
|
10
10
|
flex?: boolean;
|
11
|
-
}
|
11
|
+
};
|
12
12
|
declare const Divider: React.FC<IDivider>;
|
13
13
|
export default Divider;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IBaseElement } from '../types';
|
3
|
-
export
|
3
|
+
export declare type IDragAndDropList = IBaseElement & {
|
4
4
|
onChange?: (indexPrevious: number, indexNew: number) => any;
|
5
5
|
items?: any[];
|
6
6
|
image?: boolean;
|
@@ -11,6 +11,6 @@ export interface IDragAndDropList extends IBaseElement {
|
|
11
11
|
getDraggingElement?: (event: DragEvent) => HTMLElement;
|
12
12
|
onDraggedElement?: (value: any) => any;
|
13
13
|
onDragStart?: (item: any, event: DragEvent) => any;
|
14
|
-
}
|
14
|
+
};
|
15
15
|
declare const DragAndDropList: React.FC<IDragAndDropList>;
|
16
16
|
export default DragAndDropList;
|
package/Drawing/Drawing.d.ts
CHANGED
@@ -6,7 +6,7 @@ export declare type TDrawingValue = Array<{
|
|
6
6
|
stroke?: string;
|
7
7
|
strokeWidth?: number;
|
8
8
|
}>;
|
9
|
-
export
|
9
|
+
export declare type IDrawing = ISurface & {
|
10
10
|
render?: (element: string, props: IPropsAny, value: TDrawingValue) => IElement;
|
11
11
|
svgRef?: IRef;
|
12
12
|
updates?: boolean;
|
@@ -43,6 +43,6 @@ export interface IDrawing extends ISurface {
|
|
43
43
|
PaletteProps?: IPropsAny;
|
44
44
|
IconButtonProps?: IPropsAny;
|
45
45
|
ColorTextFieldProps?: IPropsAny;
|
46
|
-
}
|
46
|
+
};
|
47
47
|
declare const Drawing: React.FC<IDrawing>;
|
48
48
|
export default Drawing;
|
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 declare type IDropZone = IFileChoose & {
|
5
5
|
version?: IVersion;
|
6
6
|
start?: IElement;
|
7
7
|
onFocus?: (event: React.FocusEvent<any>) => any;
|
@@ -10,6 +10,6 @@ export interface IDropZone extends IFileChoose {
|
|
10
10
|
onDragOver?: (event: React.DragEvent<any>) => any;
|
11
11
|
onDragEnter?: (event: React.DragEvent<any>) => any;
|
12
12
|
onDragLeave?: (event: React.DragEvent<any>) => any;
|
13
|
-
}
|
13
|
+
};
|
14
14
|
declare const DropZone: React.FC<IDropZone>;
|
15
15
|
export default DropZone;
|
package/DropZone/DropZone.js
CHANGED
@@ -61,7 +61,8 @@ const DropZone = react_1.default.forwardRef((props_, ref) => {
|
|
61
61
|
const Surface = react_1.default.useMemo(() => { var _a; return ((_a = theme === null || theme === void 0 ? void 0 : theme.elements) === null || _a === void 0 ? void 0 : _a.Surface) || Surface_1.default; }, [theme]);
|
62
62
|
const Type = react_1.default.useMemo(() => { var _a; return ((_a = theme === null || theme === void 0 ? void 0 : theme.elements) === null || _a === void 0 ? void 0 : _a.Type) || Type_1.default; }, [theme]);
|
63
63
|
const Interaction = react_1.default.useMemo(() => { var _a; return ((_a = theme === null || theme === void 0 ? void 0 : theme.elements) === null || _a === void 0 ? void 0 : _a.Interaction) || Interaction_1.default; }, [theme]);
|
64
|
-
const { tonal = true, color = 'default', version, start, files, multiple, max, allowedTypes, valueDefault, value: value_, onChange: onChange_, IconStart = IconMaterialCloudUploadW100_1.default, onFocus: onFocus_, onBlur: onBlur_, onDrop: onDrop_, onDragOver: onDragOver_, onDragEnter: onDragEnter_, onDragLeave: onDragLeave_, disabled, children, className } = props,
|
64
|
+
const { tonal = true, color = 'default', version, start, files, multiple, max, allowedTypes, valueDefault, value: value_, onChange: onChange_, IconStart = IconMaterialCloudUploadW100_1.default, onFocus: onFocus_, onBlur: onBlur_, onDrop: onDrop_, onDragOver: onDragOver_, onDragEnter: onDragEnter_, onDragLeave: onDragLeave_, disabled, children, className } = props, otherProps = __rest(props, ["tonal", "color", "version", "start", "files", "multiple", "max", "allowedTypes", "valueDefault", "value", "onChange", "IconStart", "onFocus", "onBlur", "onDrop", "onDragOver", "onDragEnter", "onDragLeave", "disabled", "children", "className"]);
|
65
|
+
const other = otherProps;
|
65
66
|
const { classes } = useStyle();
|
66
67
|
const [init, setInit] = react_1.default.useState(false);
|
67
68
|
const [focus, setFocus] = react_1.default.useState(false);
|
package/Emojis/Emojis.d.ts
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IMenu } from '../Menu/Menu';
|
3
|
-
export
|
3
|
+
export declare type IEmojiCategory = {
|
4
4
|
name: string;
|
5
5
|
groups: string[];
|
6
6
|
icon: any;
|
7
|
-
}
|
8
|
-
export
|
7
|
+
};
|
8
|
+
export declare type IEmoji = {
|
9
9
|
alias: string | string[];
|
10
10
|
unicode: string;
|
11
11
|
category: string;
|
12
|
-
}
|
13
|
-
export
|
12
|
+
};
|
13
|
+
export declare type IEmojis = IMenu & {
|
14
14
|
emojis?: IEmoji[];
|
15
15
|
categories?: IEmojiCategory[];
|
16
16
|
selected?: string[];
|
17
17
|
onSelect?: (value: IEmoji) => any;
|
18
18
|
search?: boolean;
|
19
19
|
tabs?: boolean;
|
20
|
-
}
|
20
|
+
};
|
21
21
|
declare const Emojis: React.FC<IEmojis>;
|
22
22
|
export default Emojis;
|