@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.
Files changed (228) hide show
  1. package/Accordion/Accordion.d.ts +3 -6
  2. package/AdvancedTextField/AdvancedTextField.d.ts +2 -2
  3. package/Append/Append.d.ts +4 -4
  4. package/AreaChart/AreaChart.d.ts +2 -2
  5. package/AreaChartItem/AreaChartItem.d.ts +4 -2
  6. package/AudioPlayer/AudioPlayer.d.ts +5 -7
  7. package/AudioRecorder/AudioRecorder.d.ts +3 -5
  8. package/AutoComplete/AutoComplete.d.ts +2 -4
  9. package/AutoCompleteCountry/AutoCompleteCountry.d.ts +1 -2
  10. package/AutoCompleteCurrency/AutoCompleteCurrency.d.ts +1 -2
  11. package/AutoCompleteGooglePlaces/AutoCompleteGooglePlaces.d.ts +3 -2
  12. package/Avatar/Avatar.d.ts +2 -2
  13. package/AvatarGroup/AvatarGroup.d.ts +3 -7
  14. package/Backdrop/Backdrop.d.ts +2 -2
  15. package/Badge/Badge.d.ts +3 -5
  16. package/Banner/Banner.d.ts +6 -4
  17. package/BottomAppBar/BottomAppBar.d.ts +3 -4
  18. package/BottomSheet/BottomSheet.d.ts +1 -2
  19. package/Box/Box.d.ts +2 -2
  20. package/Breadcrumbs/Breadcrumbs.d.ts +4 -2
  21. package/BubbleChart/BubbleChart.d.ts +1 -2
  22. package/BubbleChartItem/BubbleChartItem.d.ts +2 -2
  23. package/Button/Button.d.ts +4 -5
  24. package/Buttons/Buttons.d.ts +3 -7
  25. package/Calendar/Calendar.d.ts +8 -8
  26. package/CalendarAvailability/CalendarAvailability.d.ts +5 -4
  27. package/CalendarMenu/CalendarMenu.d.ts +2 -2
  28. package/CalendarMonth/CalendarMonth.d.ts +5 -8
  29. package/CalendarViews/CalendarViews.d.ts +2 -2
  30. package/CalendarWeek/CalendarWeek.d.ts +2 -2
  31. package/Card/Card.d.ts +2 -3
  32. package/CardButton/CardButton.d.ts +2 -3
  33. package/CardFooter/CardFooter.d.ts +3 -5
  34. package/CardHeader/CardHeader.d.ts +3 -5
  35. package/CardImage/CardImage.d.ts +3 -5
  36. package/CardMain/CardMain.d.ts +3 -5
  37. package/Carousel/Carousel.d.ts +4 -4
  38. package/Chart/Chart.d.ts +8 -10
  39. package/Checkbox/Checkbox.d.ts +2 -2
  40. package/Chip/Chip.d.ts +2 -2
  41. package/Chips/Chips.d.ts +4 -2
  42. package/Chips/Chips.js +2 -2
  43. package/ClickListener/ClickListener.d.ts +3 -3
  44. package/Clock/Clock.d.ts +2 -8
  45. package/ColorTextField/ColorTextField.d.ts +2 -2
  46. package/ColumnChart/ColumnChart.d.ts +1 -2
  47. package/ColumnChartItem/ColumnChartItem.d.ts +4 -2
  48. package/Confirm/Confirm.d.ts +8 -8
  49. package/Container/Container.d.ts +2 -2
  50. package/CookieBanner/CookieBanner.d.ts +2 -2
  51. package/Countdown/Countdown.d.ts +2 -2
  52. package/DatePicker/DatePicker.d.ts +4 -8
  53. package/DateRangePicker/DateRangePicker.d.ts +1 -2
  54. package/DateTimePicker/DateTimePicker.d.ts +5 -7
  55. package/DateTimeRangePicker/DateTimeRangePicker.d.ts +1 -2
  56. package/Divider/Divider.d.ts +2 -2
  57. package/DonutChart/DonutChart.d.ts +1 -2
  58. package/DragAndDropList/DragAndDropList.d.ts +2 -2
  59. package/Drawing/Drawing.d.ts +2 -2
  60. package/DropZone/DropZone.d.ts +2 -2
  61. package/DropZone/DropZone.js +2 -1
  62. package/Emojis/Emojis.d.ts +6 -6
  63. package/Expand/Expand.d.ts +2 -2
  64. package/Fab/Fab.d.ts +1 -2
  65. package/Fade/Fade.d.ts +1 -2
  66. package/FileChoose/FileChoose.d.ts +3 -6
  67. package/Focus/Focus.d.ts +1 -2
  68. package/Form/Form.d.ts +3 -4
  69. package/FormRow/FormRow.d.ts +2 -2
  70. package/Forms/Forms.d.ts +2 -2
  71. package/Frame/Frame.d.ts +3 -3
  72. package/Grid/Grid.d.ts +5 -2
  73. package/Grid/Grid.js +2 -1
  74. package/Grow/Grow.d.ts +1 -2
  75. package/HTMLCanvas/HTMLCanvas.d.ts +6 -9
  76. package/IFrame/IFrame.d.ts +3 -2
  77. package/Icon/Icon.d.ts +3 -6
  78. package/IconButton/IconButton.d.ts +1 -2
  79. package/Image/Image.d.ts +5 -5
  80. package/Image/Image.js +2 -1
  81. package/ImageCrop/ImageCrop.d.ts +2 -2
  82. package/ImageEdit/ImageEdit.d.ts +3 -5
  83. package/ImageGallery/ImageGallery.d.ts +2 -2
  84. package/ImageList/ImageList.d.ts +2 -2
  85. package/ImageList/ImageList.js +2 -1
  86. package/ImageListItem/ImageListItem.d.ts +2 -2
  87. package/ImageListItemBox/ImageListItemBox.d.ts +2 -2
  88. package/Info/Info.d.ts +2 -2
  89. package/Interaction/Interaction.d.ts +2 -3
  90. package/Keyframes/Keyframes.d.ts +4 -4
  91. package/Label/Label.d.ts +5 -7
  92. package/Labels/Labels.d.ts +3 -7
  93. package/Line/Line.d.ts +2 -2
  94. package/LineChart/LineChart.d.ts +2 -2
  95. package/LineChartItem/LineChartItem.d.ts +4 -2
  96. package/LinearMeter/LinearMeter.d.ts +3 -6
  97. package/LinearProgress/LinearProgress.d.ts +3 -5
  98. package/Link/Link.d.ts +2 -4
  99. package/Links/Links.d.ts +4 -4
  100. package/List/List.d.ts +4 -4
  101. package/ListItem/ListItem.d.ts +3 -5
  102. package/ListSubheader/ListSubheader.d.ts +1 -2
  103. package/MainProgress/MainProgress.d.ts +6 -6
  104. package/Markdown/Markdown.d.ts +2 -2
  105. package/Masonry/Masonry.d.ts +2 -2
  106. package/Medias/Medias.d.ts +4 -4
  107. package/Menu/Menu.d.ts +2 -2
  108. package/MenuDesktop/MenuDesktop.d.ts +3 -6
  109. package/MenuItem/MenuItem.d.ts +2 -2
  110. package/Meta/Meta.d.ts +2 -2
  111. package/Modal/Modal.d.ts +3 -6
  112. package/ModalFooter/ModalFooter.d.ts +1 -2
  113. package/ModalHeader/ModalHeader.d.ts +2 -2
  114. package/ModalIcon/ModalIcon.d.ts +1 -2
  115. package/ModalMain/ModalMain.d.ts +1 -2
  116. package/ModalText/ModalText.d.ts +1 -2
  117. package/ModalTitle/ModalTitle.d.ts +1 -2
  118. package/MoreOptions/MoreOptions.d.ts +2 -2
  119. package/Move/Move.d.ts +2 -2
  120. package/NavigationBar/NavigationBar.d.ts +2 -2
  121. package/NavigationDrawer/NavigationDrawer.d.ts +2 -2
  122. package/NavigationItem/NavigationItem.d.ts +3 -5
  123. package/NavigationRail/NavigationRail.d.ts +3 -4
  124. package/NotFound/NotFound.d.ts +3 -2
  125. package/NumericTextField/NumericTextField.d.ts +2 -2
  126. package/Page/Page.d.ts +4 -4
  127. package/PageTransition/PageTransition.d.ts +2 -2
  128. package/Pagination/Pagination.d.ts +3 -7
  129. package/PaginationItem/PaginationItem.d.ts +2 -2
  130. package/Parallax/Parallax.d.ts +2 -2
  131. package/Path/Path.d.ts +2 -2
  132. package/PieChart/PieChart.d.ts +4 -2
  133. package/Placeholder/Placeholder.d.ts +3 -4
  134. package/Portal/Portal.d.ts +2 -2
  135. package/Properties/Properties.d.ts +5 -5
  136. package/Property/Property.d.ts +2 -2
  137. package/Radio/Radio.d.ts +2 -2
  138. package/Radios/Radios.d.ts +3 -7
  139. package/Rating/Rating.d.ts +3 -8
  140. package/Reset/Reset.d.ts +1 -2
  141. package/Reveal/Reveal.d.ts +2 -2
  142. package/RichTextEditor/RichTextEditor.d.ts +3 -5
  143. package/RoundMeter/RoundMeter.d.ts +3 -6
  144. package/RoundProgress/RoundProgress.d.ts +3 -6
  145. package/ScatterChart/ScatterChart.d.ts +1 -2
  146. package/ScatterChartItem/ScatterChartItem.d.ts +4 -2
  147. package/ScreenCapture/ScreenCapture.d.ts +2 -2
  148. package/Section/Section.d.ts +2 -2
  149. package/SectionAction/SectionAction.d.ts +2 -2
  150. package/SectionBoxes/SectionBoxes.d.ts +4 -4
  151. package/SectionCards/SectionCards.d.ts +4 -4
  152. package/SectionCarousel/SectionCarousel.d.ts +4 -4
  153. package/SectionContact/SectionContact.d.ts +2 -2
  154. package/SectionImageGallery/SectionImageGallery.d.ts +2 -2
  155. package/SectionLogos/SectionLogos.d.ts +2 -2
  156. package/SectionMedia/SectionMedia.d.ts +2 -2
  157. package/SectionReviews/SectionReviews.d.ts +5 -4
  158. package/SectionTextMedia/SectionTextMedia.d.ts +2 -2
  159. package/SectionTimeline/SectionTimeline.d.ts +4 -4
  160. package/SectionWatch/SectionWatch.d.ts +2 -5
  161. package/Select/Select.d.ts +2 -2
  162. package/Share/Share.d.ts +3 -4
  163. package/Slide/Slide.d.ts +2 -2
  164. package/Slider/Slider.d.ts +4 -9
  165. package/SmartTextField/SmartTextField.d.ts +2 -3
  166. package/Snackbar/Snackbar.d.ts +3 -4
  167. package/Snackbars/Context.d.ts +2 -2
  168. package/Snackbars/Snackbars.d.ts +4 -4
  169. package/Space/Space.d.ts +3 -6
  170. package/SpeechToText/SpeechToText.d.ts +3 -5
  171. package/SpeedDial/SpeedDial.d.ts +3 -6
  172. package/SpeedDialItem/SpeedDialItem.d.ts +2 -2
  173. package/SpyScroll/SpyScroll.d.ts +2 -2
  174. package/Step/Step.d.ts +3 -5
  175. package/Stepper/Stepper.d.ts +4 -5
  176. package/Surface/Surface.d.ts +3 -6
  177. package/Switch/Switch.d.ts +5 -7
  178. package/Tab/Tab.d.ts +2 -3
  179. package/Table/Table.d.ts +3 -4
  180. package/TableBody/TableBody.d.ts +2 -4
  181. package/TableCell/TableCell.d.ts +3 -7
  182. package/TableFooter/TableFooter.d.ts +1 -4
  183. package/TableHead/TableHead.d.ts +2 -4
  184. package/TableHeader/TableHeader.d.ts +1 -4
  185. package/TablePagination/TablePagination.d.ts +3 -6
  186. package/TableRow/TableRow.d.ts +2 -4
  187. package/TableRow/TableRow.js +4 -4
  188. package/Tabs/Tabs.d.ts +2 -2
  189. package/Text/Text.d.ts +2 -2
  190. package/TextField/TextField.d.ts +4 -8
  191. package/TextToSpeech/TextToSpeech.d.ts +3 -5
  192. package/TimePicker/TimePicker.d.ts +5 -6
  193. package/TimeRangePicker/TimeRangePicker.d.ts +1 -2
  194. package/Timeline/Timeline.d.ts +2 -2
  195. package/TimelineItem/TimelineItem.d.ts +2 -2
  196. package/Timer/Timer.d.ts +2 -2
  197. package/ToggleButton/ToggleButton.d.ts +1 -2
  198. package/ToggleButtons/ToggleButtons.d.ts +1 -2
  199. package/Tooltip/Tooltip.d.ts +4 -5
  200. package/TopAppBar/TopAppBar.d.ts +3 -4
  201. package/Transition/Transition.d.ts +4 -4
  202. package/Transitions/Transitions.d.ts +2 -2
  203. package/Tree/Tree.d.ts +5 -5
  204. package/Type/Type.d.ts +3 -5
  205. package/VideoPlayer/VideoPlayer.d.ts +5 -7
  206. package/ViewSplit/ViewSplit.d.ts +4 -5
  207. package/Watch/Watch.d.ts +3 -4
  208. package/Weather/Weather.d.ts +3 -4
  209. package/Whiteboard/Whiteboard.d.ts +6 -6
  210. package/Widgets/Widgets.d.ts +4 -4
  211. package/WindowSplit/WindowSplit.d.ts +4 -5
  212. package/Zoom/Zoom.d.ts +1 -2
  213. package/esm/Chips/Chips.js +3 -3
  214. package/esm/DropZone/DropZone.js +2 -1
  215. package/esm/Grid/Grid.js +2 -1
  216. package/esm/Image/Image.js +2 -1
  217. package/esm/ImageList/ImageList.js +2 -1
  218. package/esm/TableRow/TableRow.js +1 -1
  219. package/esm/index.js +1 -1
  220. package/package.json +1 -1
  221. package/types.d.ts +11 -8
  222. package/useForm/useForm.d.ts +4 -4
  223. package/useForm/validate.d.ts +12 -12
  224. package/useLocation/useLocation.d.ts +1 -2
  225. package/useMediaQuery/useMediaQuery.d.ts +2 -2
  226. package/useScroll/useScroll.d.ts +2 -2
  227. package/useSwipe/useSwipe.d.ts +4 -4
  228. package/useVisible/useVisible.d.ts +4 -4
@@ -1,18 +1,18 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IPropsAny } from '../types';
4
- export interface IPropertiesValue {
4
+ export declare type IPropertiesValue = {
5
5
  name: any;
6
6
  value: any;
7
7
  separator?: any;
8
8
  props?: any;
9
- }
10
- export interface IProperties extends ILine {
9
+ };
10
+ export declare type IProperties = ILine & {
11
11
  version?: 'row' | 'row-20' | 'row-50' | 'row-between' | 'column';
12
- size?: 'small' | 'regular' | 'large';
13
12
  values?: (boolean | IPropertiesValue)[];
13
+ onlyWithValues?: boolean;
14
14
  maxWidth?: 'extra_small' | 'small' | 'regular' | 'large' | 'extra_large' | 'extra_extra_large';
15
15
  PropertyProps?: IPropsAny;
16
- }
16
+ };
17
17
  declare const Properties: React.FC<IProperties>;
18
18
  export default Properties;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IPropsAny } from '../types';
4
- export interface IProperty extends ILine {
4
+ export declare type IProperty = ILine & {
5
5
  name?: any;
6
6
  value?: any;
7
7
  separator?: any;
@@ -13,6 +13,6 @@ export interface IProperty extends ILine {
13
13
  NameProps?: IPropsAny;
14
14
  NameWrapperProps?: IPropsAny;
15
15
  ValueProps?: IPropsAny;
16
- }
16
+ };
17
17
  declare const Property: React.FC<IProperty>;
18
18
  export default Property;
package/Radio/Radio.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IIconButton } from '../IconButton/IconButton';
3
3
  import { IRef, IColor } from '../types';
4
- export interface IRadio extends IIconButton {
4
+ export declare type IRadio = IIconButton & {
5
5
  inputRef?: IRef;
6
6
  colorUnchecked?: IColor;
7
7
  valueDefault?: boolean;
@@ -11,6 +11,6 @@ export interface IRadio extends IIconButton {
11
11
  render?: (value: boolean, props: any) => any;
12
12
  onChange?: (value: boolean, event: React.ChangeEvent<any>) => any;
13
13
  disabled?: boolean;
14
- }
14
+ };
15
15
  declare const Radio: React.FC<IRadio>;
16
16
  export default Radio;
@@ -1,12 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- import { ITonal, IColor, IVersion, ISize, IElement, IPropsAny } from '../types';
4
- export interface IRadios extends ILine {
5
- tonal?: ITonal;
6
- color?: IColor;
3
+ import { IColor, IVersion, IElement, IPropsAny } from '../types';
4
+ export declare type IRadios = ILine & {
7
5
  colorUnchecked?: IColor;
8
6
  version?: IVersion;
9
- size?: ISize;
10
7
  name?: IElement;
11
8
  label?: IElement;
12
9
  uncheck?: boolean;
@@ -15,9 +12,8 @@ export interface IRadios extends ILine {
15
12
  value?: any;
16
13
  checked?: any;
17
14
  onChange?: (value: any) => any;
18
- disabled?: boolean;
19
15
  WrapperProps?: IPropsAny;
20
16
  LabelProps?: IPropsAny;
21
- }
17
+ };
22
18
  declare const Radios: React.FC<IRadios>;
23
19
  export default Radios;
@@ -1,10 +1,7 @@
1
1
  import React from 'react';
2
- import { IBaseElement, ITonal, IColor, ISize, IElement } from '../types';
3
- export interface IRating extends IBaseElement {
4
- tonal?: ITonal;
5
- color?: IColor;
2
+ import { IBaseElement, IColor, IElement } from '../types';
3
+ export declare type IRating = IBaseElement & {
6
4
  colorInactive?: IColor;
7
- size?: ISize;
8
5
  value?: number;
9
6
  valueDefault?: number;
10
7
  valueActive?: number;
@@ -14,8 +11,6 @@ export interface IRating extends IBaseElement {
14
11
  values?: number;
15
12
  precision?: number;
16
13
  onlyValue?: boolean;
17
- readOnly?: boolean;
18
- disabled?: boolean;
19
14
  icon?: IElement;
20
15
  icons?: {
21
16
  default?: IElement;
@@ -26,6 +21,6 @@ export interface IRating extends IBaseElement {
26
21
  IconProps?: any;
27
22
  IconActiveProps?: any;
28
23
  IconInactiveProps?: any;
29
- }
24
+ };
30
25
  declare const Rating: React.FC<IRating>;
31
26
  export default Rating;
package/Reset/Reset.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
- export interface IReset extends IBaseElement {
4
- }
3
+ export declare type IReset = IBaseElement & {};
5
4
  declare const Reset: React.FC<IReset>;
6
5
  export default Reset;
@@ -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 interface IReveal extends IFade {
4
+ export declare type IReveal = IFade & {
5
5
  inDefault?: boolean;
6
6
  offset?: number;
7
7
  offsetReveal?: number;
@@ -17,6 +17,6 @@ export interface IReveal extends IFade {
17
17
  onChange?: (value: boolean) => any;
18
18
  noTransition?: boolean;
19
19
  UseVisibleProps?: IUseVisible;
20
- }
20
+ };
21
21
  declare const Reveal: React.FC<IReveal>;
22
22
  export default Reveal;
@@ -1,9 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- import { ITonal, IColor, IVersion, IPropsAny, IElement, IElementReference } from '../types';
4
- export interface IRichTextEditor extends ILine {
5
- tonal?: ITonal;
6
- color?: IColor;
3
+ import { IVersion, IPropsAny, IElement, IElementReference } from '../types';
4
+ export declare type IRichTextEditor = ILine & {
7
5
  version?: IVersion;
8
6
  value?: string;
9
7
  onChange?: (event: React.ChangeEvent<any>) => any;
@@ -71,6 +69,6 @@ export interface IRichTextEditor extends ILine {
71
69
  DrawingProps?: IPropsAny;
72
70
  IconProps?: IPropsAny;
73
71
  ColorTextFieldProps?: IPropsAny;
74
- }
72
+ };
75
73
  declare const RichTextEditor: React.FC<IRichTextEditor>;
76
74
  export default RichTextEditor;
@@ -1,9 +1,6 @@
1
1
  import React from 'react';
2
- import { IBaseElement, ITonal, IColor, ISize, IStyle, IElement, IPropsAny } from '../types';
3
- export interface IRoundMeter extends IBaseElement {
4
- tonal?: ITonal;
5
- color?: IColor;
6
- size?: ISize;
2
+ import { IBaseElement, IStyle, IElement, IPropsAny } from '../types';
3
+ export declare type IRoundMeter = IBaseElement & {
7
4
  parts?: number;
8
5
  lineCap?: 'inherit' | 'round' | 'square' | 'butt';
9
6
  padding?: number;
@@ -45,6 +42,6 @@ export interface IRoundMeter extends IBaseElement {
45
42
  ArcMainProps?: IPropsAny;
46
43
  ArcsProgressProps?: IPropsAny;
47
44
  ArcProgressProps?: IPropsAny;
48
- }
45
+ };
49
46
  declare const RoundMeter: React.FC<IRoundMeter>;
50
47
  export default RoundMeter;
@@ -1,9 +1,6 @@
1
1
  import React from 'react';
2
- import { IBaseElement, IColor, IPropsAny, ISize, ITonal } from '../types';
3
- export interface IRoundProgress extends IBaseElement {
4
- tonal?: ITonal;
5
- color?: IColor;
6
- size?: ISize;
2
+ import { IBaseElement, IPropsAny } from '../types';
3
+ export declare type IRoundProgress = IBaseElement & {
7
4
  version?: 'determinate' | 'indeterminate';
8
5
  value?: number;
9
6
  noShrink?: boolean;
@@ -11,6 +8,6 @@ export interface IRoundProgress extends IBaseElement {
11
8
  rounded?: boolean;
12
9
  pathProps?: IPropsAny;
13
10
  pathBackgroundProps?: IPropsAny;
14
- }
11
+ };
15
12
  declare const RoundProgress: React.FC<IRoundProgress>;
16
13
  export default RoundProgress;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IChart } from '../Chart/Chart';
3
- export interface IScatterChart extends IChart {
4
- }
3
+ export declare type IScatterChart = IChart & {};
5
4
  declare const ScatterChart: React.FC<IScatterChart>;
6
5
  export default ScatterChart;
@@ -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 interface IScatterChartItem extends IChart {
4
+ export declare type IScatterChartItem = IChart & {
5
5
  name?: string;
6
6
  refs?: {
7
7
  wrapper?: HTMLElement;
@@ -14,6 +14,8 @@ export interface IScatterChartItem extends IChart {
14
14
  values?: IChartValueValues;
15
15
  updateDefs?: TMethod;
16
16
  updateLegend?: TMethod;
17
- }
17
+ BackgroundProps?: any;
18
+ BorderProps?: any;
19
+ };
18
20
  declare const ScatterChartItem: React.FC<IScatterChartItem>;
19
21
  export default ScatterChartItem;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { IElementReference, IPropsAny } from '../types';
4
4
  export declare type TTrackValueVersion = 'image' | 'canvas';
5
- export interface IScreenCapture extends ISurface {
5
+ export declare type IScreenCapture = ISurface & {
6
6
  nameDefault?: string;
7
7
  name?: string;
8
8
  onChangeName?: (value: string) => any;
@@ -25,6 +25,6 @@ export interface IScreenCapture extends ISurface {
25
25
  TooltipProps?: IPropsAny;
26
26
  IconButtonProps?: IPropsAny;
27
27
  ImageCropProps?: IPropsAny;
28
- }
28
+ };
29
29
  declare const ScreenCapture: React.FC<IScreenCapture>;
30
30
  export default ScreenCapture;
@@ -3,7 +3,7 @@ import { TPaletteVersion } from '@onesy/style-react';
3
3
  import { ILine } from '../Line/Line';
4
4
  import { IValueBreakpoints, IMediaObject, IPropsAny } from '../types';
5
5
  export declare type ISize = 'extra_small' | 'small' | 'regular' | 'large' | 'extra_large' | 'extra_extra_large';
6
- export interface ISection extends ILine {
6
+ export declare type ISection = ILine & {
7
7
  themed?: boolean;
8
8
  title?: string | Partial<Record<IValueBreakpoints, string>>;
9
9
  description?: string | Partial<Record<IValueBreakpoints, string>>;
@@ -28,6 +28,6 @@ export interface ISection extends ILine {
28
28
  HeaderProps?: IPropsAny;
29
29
  RevealProps?: IPropsAny;
30
30
  AdditionalProps?: IPropsAny;
31
- }
31
+ };
32
32
  declare const Section: React.FC<ISection>;
33
33
  export default Section;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { ISection } from '../Section/Section';
3
3
  import { IPropsAny } from '../types';
4
- export interface ISectionAction extends ISection {
4
+ export declare type ISectionAction = ISection & {
5
5
  text?: string;
6
6
  link?: string;
7
7
  to?: string;
8
8
  ButtonProps?: IPropsAny;
9
- }
9
+ };
10
10
  declare const Element: React.FC<ISectionAction>;
11
11
  export default Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { TPaletteVersion } from '@onesy/style-react';
3
3
  import { ISection } from '../Section/Section';
4
4
  import { IMediaObject, IPropsAny } from '../types';
5
- export interface ISectionBoxesItem {
5
+ export declare type ISectionBoxesItem = {
6
6
  name?: any;
7
7
  description?: any;
8
8
  buttonText?: any;
@@ -21,13 +21,13 @@ export interface ISectionBoxesItem {
21
21
  propsButton?: any;
22
22
  propsWrapperText?: any;
23
23
  propsActions?: any;
24
- }
25
- export interface ISectionBoxes extends ISection {
24
+ };
25
+ export declare type ISectionBoxes = ISection & {
26
26
  size?: 'small' | 'regular' | 'large';
27
27
  values?: ISectionBoxesItem[];
28
28
  responsive?: boolean;
29
29
  ItemProps?: IPropsAny;
30
30
  ItemsProps?: IPropsAny;
31
- }
31
+ };
32
32
  declare const Element: React.FC<ISectionBoxes>;
33
33
  export default Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { TPaletteVersion } from '@onesy/style-react';
3
3
  import { ISection } from '../Section/Section';
4
4
  import { IMediaObject, IPropsAny } from '../types';
5
- export interface ISectionCardsItem {
5
+ export declare type ISectionCardsItem = {
6
6
  name?: any;
7
7
  description?: any;
8
8
  buttonText?: any;
@@ -22,12 +22,12 @@ export interface ISectionCardsItem {
22
22
  propsButton?: any;
23
23
  propsWrapperText?: any;
24
24
  propsActions?: any;
25
- }
26
- export interface ISectionCards extends ISection {
25
+ };
26
+ export declare type ISectionCards = ISection & {
27
27
  size?: 'small' | 'regular' | 'large';
28
28
  values?: ISectionCardsItem[];
29
29
  ItemProps?: IPropsAny;
30
30
  ItemsProps?: IPropsAny;
31
- }
31
+ };
32
32
  declare const Element: React.FC<ISectionCards>;
33
33
  export default Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { TPaletteVersion } from '@onesy/style-react';
3
3
  import { ISection } from '../Section/Section';
4
4
  import { IMediaObject, IPropsAny } from '../types';
5
- export interface ISectionCarouselItem {
5
+ export declare type ISectionCarouselItem = {
6
6
  name?: any;
7
7
  description?: any;
8
8
  buttonText?: any;
@@ -19,14 +19,14 @@ export interface ISectionCarouselItem {
19
19
  propsDescription?: any;
20
20
  propsButton?: any;
21
21
  propsButtonWrapper?: any;
22
- }
23
- export interface ISectionCarousel extends ISection {
22
+ };
23
+ export declare type ISectionCarousel = ISection & {
24
24
  size?: 'small' | 'regular' | 'large';
25
25
  values?: ISectionCarouselItem[];
26
26
  fullHeight?: boolean;
27
27
  responsive?: boolean;
28
28
  ItemProps?: IPropsAny;
29
29
  CarouselProps?: IPropsAny;
30
- }
30
+ };
31
31
  declare const Element: React.FC<ISectionCarousel>;
32
32
  export default Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { TPaletteVersion } from '@onesy/style-react';
3
3
  import { ISection } from '../Section/Section';
4
4
  import { IPropsAny } from '../types';
5
- export interface ISectionContact extends ISection {
5
+ export declare type ISectionContact = ISection & {
6
6
  map?: {
7
7
  latitude: number;
8
8
  longitude: number;
@@ -22,6 +22,6 @@ export interface ISectionContact extends ISection {
22
22
  HeadingProps?: IPropsAny;
23
23
  SummaryProps?: IPropsAny;
24
24
  PropertiesProps?: IPropsAny;
25
- }
25
+ };
26
26
  declare const Element: React.FC<ISectionContact>;
27
27
  export default Element;
@@ -2,10 +2,10 @@ import React from 'react';
2
2
  import { ISection } from '../Section/Section';
3
3
  import { IImageGallery } from '../ImageGallery/ImageGallery';
4
4
  import { IMediaObject } from '../types';
5
- export interface ISectionImageGallery extends ISection {
5
+ export declare type ISectionImageGallery = ISection & {
6
6
  values?: IMediaObject[];
7
7
  value?: number;
8
8
  ImageGalleryProps?: IImageGallery;
9
- }
9
+ };
10
10
  declare const Element: React.FC<ISectionImageGallery>;
11
11
  export default Element;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISection } from '../Section/Section';
3
3
  import { IMediaObject, IPropsAny } from '../types';
4
- export interface ISectionLogos extends ISection {
4
+ export declare type ISectionLogos = ISection & {
5
5
  values?: IMediaObject[];
6
6
  version?: 'regular';
7
7
  size?: 'small' | 'regular' | 'large';
@@ -9,6 +9,6 @@ export interface ISectionLogos extends ISection {
9
9
  name?: boolean;
10
10
  ItemProps?: IPropsAny;
11
11
  WrapperProps?: IPropsAny;
12
- }
12
+ };
13
13
  declare const Element: React.FC<ISectionLogos>;
14
14
  export default Element;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISection } from '../Section/Section';
3
3
  import { IMediaObject, IPropsAny } from '../types';
4
- export interface ISectionMedia extends ISection {
4
+ export declare type ISectionMedia = ISection & {
5
5
  value?: IMediaObject;
6
6
  size?: 'small' | 'regular' | 'large';
7
7
  name?: boolean;
@@ -11,6 +11,6 @@ export interface ISectionMedia extends ISection {
11
11
  AudioProps?: IPropsAny;
12
12
  VideoProps?: IPropsAny;
13
13
  OtherProps?: IPropsAny;
14
- }
14
+ };
15
15
  declare const Element: React.FC<ISectionMedia>;
16
16
  export default Element;
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
2
  import { ISection } from '../Section/Section';
3
3
  import { IMediaObject, IPropsAny } from '../types';
4
- export interface ISectionReviewsItem {
4
+ export declare type ISectionReviewsItem = {
5
5
  name: string;
6
6
  meta?: string;
7
7
  description: string;
8
8
  rating?: number;
9
9
  image?: string | IMediaObject;
10
- }
11
- export interface ISectionReviews extends ISection {
10
+ };
11
+ export declare type ISectionReviews = ISection & {
12
12
  values?: ISectionReviewsItem[];
13
13
  size?: 'small' | 'regular' | 'large';
14
14
  AvatarProps?: IPropsAny;
@@ -18,6 +18,7 @@ export interface ISectionReviews extends ISection {
18
18
  DescriptionProps?: IPropsAny;
19
19
  RatingProps?: IPropsAny;
20
20
  ReviewProps?: IPropsAny;
21
- }
21
+ ReviewsProps?: IPropsAny;
22
+ };
22
23
  declare const Element: React.FC<ISectionReviews>;
23
24
  export default Element;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISection } from '../Section/Section';
3
3
  import { IValueBreakpoints, IPropsAny } from '../types';
4
- export interface ISectionTextMedia extends ISection {
4
+ export declare type ISectionTextMedia = ISection & {
5
5
  title?: string | Partial<Record<IValueBreakpoints, string>>;
6
6
  description?: string | Partial<Record<IValueBreakpoints, string>>;
7
7
  button?: {
@@ -23,6 +23,6 @@ export interface ISectionTextMedia extends ISection {
23
23
  AudioProps?: IPropsAny;
24
24
  VideoProps?: IPropsAny;
25
25
  OtherProps?: IPropsAny;
26
- }
26
+ };
27
27
  declare const SectionTextMedia: React.FC<ISectionTextMedia>;
28
28
  export default SectionTextMedia;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ISection } from '../Section/Section';
3
3
  import { IPropsAny } from '../types';
4
- export interface ISectionTimelineItem {
4
+ export declare type ISectionTimelineItem = {
5
5
  title?: string;
6
6
  heading?: string;
7
7
  description?: string;
8
- }
9
- export interface ISectionTimeline extends ISection {
8
+ };
9
+ export declare type ISectionTimeline = ISection & {
10
10
  size?: 'small' | 'regular' | 'large';
11
11
  values?: ISectionTimelineItem[];
12
12
  TimelineProps?: IPropsAny;
@@ -16,6 +16,6 @@ export interface ISectionTimeline extends ISection {
16
16
  DescriptionProps?: IPropsAny;
17
17
  ItemStartProps?: IPropsAny;
18
18
  ItemEndProps?: IPropsAny;
19
- }
19
+ };
20
20
  declare const SectionTimeline: React.FC<ISectionTimeline>;
21
21
  export default SectionTimeline;
@@ -2,13 +2,10 @@ import React from 'react';
2
2
  import { TPaletteVersion } from '@onesy/style-react';
3
3
  import { ISection } from '../Section/Section';
4
4
  import { IWatch } from '../Watch/Watch';
5
- import { ISize } from '../types';
6
- export interface ISectionWatch extends ISection {
7
- tonal?: boolean;
5
+ export declare type ISectionWatch = ISection & {
8
6
  version?: 'regular' | 'analog' | 'modern' | 'minimal';
9
- size?: ISize;
10
7
  color?: TPaletteVersion;
11
8
  WatchProps?: IWatch;
12
- }
9
+ };
13
10
  declare const Element: React.FC<ISectionWatch>;
14
11
  export default Element;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ITextField } from '../TextField/TextField';
3
3
  import { IElement, IPropsAny } from '../types';
4
- export interface ISelect extends ITextField {
4
+ export declare type ISelect = ITextField & {
5
5
  options?: Array<{
6
6
  name: any;
7
7
  value: any;
@@ -24,6 +24,6 @@ export interface ISelect extends ITextField {
24
24
  MenuProps?: IPropsAny;
25
25
  IconButtonProps?: IPropsAny;
26
26
  IconProps?: IPropsAny;
27
- }
27
+ };
28
28
  declare const Select: React.FC<ISelect>;
29
29
  export default Select;
package/Share/Share.d.ts CHANGED
@@ -1,10 +1,8 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- import { ISize } from '../types';
4
- export interface IShare extends ILine {
3
+ export declare type IShare = ILine & {
5
4
  version?: 'fixed' | 'absolute' | 'static' | 'menu-items';
6
5
  position?: 'start' | 'end' | 'top' | 'bottom';
7
- size?: ISize;
8
6
  name?: string;
9
7
  description?: string;
10
8
  url?: string;
@@ -21,6 +19,7 @@ export interface IShare extends ILine {
21
19
  itemProps?: (item: any, index: number) => any;
22
20
  onOpen?: (value: any, event: MouseEvent) => any;
23
21
  ListItemProps?: any;
22
+ MenuItemProps?: any;
24
23
  IconFacebook?: any;
25
24
  IconX?: any;
26
25
  IconLinkedin?: any;
@@ -32,6 +31,6 @@ export interface IShare extends ILine {
32
31
  IconEmail?: any;
33
32
  IconPrint?: any;
34
33
  IconMore?: any;
35
- }
34
+ };
36
35
  declare const Share: React.FC<IShare>;
37
36
  export default Share;
package/Slide/Slide.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ITransition } from '..';
3
- export interface ISlide extends ITransition {
3
+ export declare type ISlide = ITransition & {
4
4
  root?: HTMLElement;
5
5
  min?: number;
6
6
  direction?: 'top' | 'left' | 'bottom' | 'right';
7
7
  timing_function?: string | Record<string, string>;
8
8
  addTransition?: string;
9
9
  delay?: number;
10
- }
10
+ };
11
11
  declare const Slide: React.FC<ISlide>;
12
12
  export default Slide;
@@ -1,10 +1,7 @@
1
1
  import React from 'react';
2
- import { IBaseElement, ITonal, IColor, ISize, IElement, IPropsAny } from '../types';
2
+ import { IBaseElement, IElement, IPropsAny, ISizeAny } from '../types';
3
3
  export declare type TSliderValue = number | Array<number>;
4
- export interface ISlider extends IBaseElement {
5
- tonal?: ITonal;
6
- color?: IColor;
7
- size?: ISize;
4
+ export declare type ISlider = IBaseElement & {
8
5
  value?: TSliderValue;
9
6
  valueDefault?: TSliderValue;
10
7
  onChange?: (value: TSliderValue) => any;
@@ -20,17 +17,15 @@ export interface ISlider extends IBaseElement {
20
17
  labels?: boolean;
21
18
  onlyMarks?: boolean;
22
19
  labelTooltipResolve?: (value: number) => IElement;
23
- iconButtonPositionResolve?: (value: number, normalized: number, size: ISize) => string;
20
+ iconButtonPositionResolve?: (value: number, normalized: number, size: ISizeAny) => string;
24
21
  noTrack?: boolean;
25
22
  noButtons?: boolean;
26
23
  square?: boolean;
27
24
  inverted?: boolean;
28
- readOnly?: boolean;
29
- disabled?: boolean;
30
25
  icon?: any;
31
26
  IconButtonProps?: IPropsAny;
32
27
  LabelProps?: IPropsAny;
33
28
  TooltipProps?: IPropsAny;
34
- }
29
+ };
35
30
  declare const Slider: React.FC<ISlider>;
36
31
  export default Slider;
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ITextField } from '../TextField/TextField';
3
- export interface ISmartTextField extends ITextField {
3
+ export declare type ISmartTextField = ITextField & {
4
4
  placeholder?: any;
5
5
  edit?: boolean;
6
6
  mention?: boolean;
7
7
  multiline?: boolean;
8
- readOnly?: boolean;
9
8
  onChangeMention?: (value?: string, version?: '@') => any;
10
9
  optionsMention?: any[];
11
10
  mentionLabel?: (items: any[], props: {
@@ -14,6 +13,6 @@ export interface ISmartTextField extends ITextField {
14
13
  additional?: any;
15
14
  pasteText?: boolean;
16
15
  HelperTextProps?: any;
17
- }
16
+ };
18
17
  declare const SmartTextField: React.FC<ISmartTextField>;
19
18
  export default SmartTextField;
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- import { ISize, IElement, IElementReference, IPropsAny } from '../types';
4
- export interface ISnackbar extends ISurface {
5
- size?: ISize;
3
+ import { IElement, IElementReference, IPropsAny } from '../types';
4
+ export declare type ISnackbar = ISurface & {
6
5
  open?: boolean;
7
6
  primary?: IElement;
8
7
  end?: IElement;
@@ -21,6 +20,6 @@ export interface ISnackbar extends ISurface {
21
20
  IconProps?: IPropsAny;
22
21
  IconButtonProps?: IPropsAny;
23
22
  TransitionComponentProps?: IPropsAny;
24
- }
23
+ };
25
24
  declare const Snackbar: React.FC<ISnackbar>;
26
25
  export default Snackbar;