@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
package/Link/Link.d.ts CHANGED
@@ -1,9 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IType } from '../Type/Type';
3
- import { IColor } from '../types';
4
- export interface ILink extends Omit<IType, 'color'> {
5
- color?: IColor;
3
+ export declare type ILink = IType & {
6
4
  underline?: true | 'hover';
7
- }
5
+ };
8
6
  declare const Link: React.FC<ILink>;
9
7
  export default Link;
package/Links/Links.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IMediaObject } from '../types';
3
- export interface ILinksItem {
3
+ export declare type ILinksItem = {
4
4
  version?: 'primary' | 'secondary' | 'default';
5
5
  name?: any;
6
6
  url?: string;
7
7
  sensitivity?: string | boolean;
8
8
  share?: boolean;
9
9
  props?: any;
10
- }
11
- export interface ILinks extends IBaseElement {
10
+ };
11
+ export declare type ILinks = IBaseElement & {
12
12
  name?: any;
13
13
  short_description?: any;
14
14
  links?: ILinksItem[];
@@ -27,6 +27,6 @@ export interface ILinks extends IBaseElement {
27
27
  ShortDescriptionProps?: any;
28
28
  LinkProps?: any;
29
29
  LinkTypeProps?: any;
30
- }
30
+ };
31
31
  declare const Element: React.FC<ILinks>;
32
32
  export default Element;
package/List/List.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- import { ISize, IElement } from '../types';
4
- export interface IList extends ISurface {
5
- size?: ISize;
3
+ import { IElement } from '../types';
4
+ export declare type IList = ISurface & {
6
5
  menu?: IElement;
7
6
  menuOpen?: boolean;
7
+ onMenuDesktopClose?: any;
8
8
  noMaxWidth?: boolean;
9
9
  noChildrenTransform?: boolean;
10
10
  indent?: number;
@@ -12,6 +12,6 @@ export interface IList extends ISurface {
12
12
  paddingVertical?: 'both' | 'start' | 'end' | 'none';
13
13
  noBackground?: boolean;
14
14
  SurfaceProps?: any;
15
- }
15
+ };
16
16
  declare const List: React.FC<IList>;
17
17
  export default List;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- import { IColor, IElement, ISize, IElementReference, IPropsAny } from '../types';
4
- export interface IListItem extends ISurface {
3
+ import { IColor, IElement, IElementReference, IPropsAny } from '../types';
4
+ export declare type IListItem = ISurface & {
5
5
  colorSelected?: IColor;
6
6
  inset?: boolean;
7
7
  primary?: IElement;
@@ -13,7 +13,6 @@ export interface IListItem extends ISurface {
13
13
  startAlign?: 'start' | 'center' | 'end';
14
14
  end?: IElement;
15
15
  endAlign?: 'start' | 'center' | 'end';
16
- size?: ISize;
17
16
  noPadding?: boolean;
18
17
  href?: string;
19
18
  button?: boolean;
@@ -25,7 +24,6 @@ export interface IListItem extends ISurface {
25
24
  interaction?: boolean;
26
25
  noBackground?: boolean;
27
26
  noOutline?: boolean;
28
- disabled?: boolean;
29
27
  onClick?: (event: React.MouseEvent<any>) => any;
30
28
  onFocus?: (event: React.FocusEvent<any>) => any;
31
29
  onBlur?: (event: React.FocusEvent<any>) => any;
@@ -43,6 +41,6 @@ export interface IListItem extends ISurface {
43
41
  AsideProps?: IPropsAny;
44
42
  AsideStartProps?: IPropsAny;
45
43
  AsideEndProps?: IPropsAny;
46
- }
44
+ };
47
45
  declare const ListItem: React.FC<IListItem>;
48
46
  export default ListItem;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IListItem } from '../ListItem/ListItem';
3
- export interface IListSubheader extends IListItem {
4
- }
3
+ export declare type IListSubheader = IListItem & {};
5
4
  declare const ListSubheader: React.FC<IListSubheader>;
6
5
  export default ListSubheader;
@@ -1,17 +1,17 @@
1
1
  import React from 'react';
2
2
  import { ILinearProress } from '../LinearProgress/LinearProgress';
3
3
  import { IElementReference, IPropsAny } from '../types';
4
- export interface IMainProgressStartArgument {
4
+ export declare type IMainProgressStartArgument = {
5
5
  tonal?: boolean;
6
6
  color?: string;
7
- }
8
- export interface IMainProgressValue {
7
+ };
8
+ export declare type IMainProgressValue = {
9
9
  start: (value?: IMainProgressStartArgument) => void;
10
10
  increment: () => void;
11
11
  update: (value: number) => void;
12
12
  done: () => void;
13
- }
14
- export interface IMainProgress extends ILinearProress {
13
+ };
14
+ export declare type IMainProgress = ILinearProress & {
15
15
  min?: number;
16
16
  max?: number;
17
17
  firstIncrement?: boolean;
@@ -28,6 +28,6 @@ export interface IMainProgress extends ILinearProress {
28
28
  position?: 'top' | 'bottom';
29
29
  TransitionComponent?: IElementReference;
30
30
  TransitionComponentProps?: IPropsAny;
31
- }
31
+ };
32
32
  declare const MainProgress: React.FC<IMainProgress>;
33
33
  export default MainProgress;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
- export interface IMarkdown extends IBaseElement {
3
+ export declare type IMarkdown = IBaseElement & {
4
4
  value?: string;
5
5
  render?: (element: string, className: string, style: string, ...args: any[]) => string;
6
6
  elementClassNames?: Record<string, string>;
@@ -8,6 +8,6 @@ export interface IMarkdown extends IBaseElement {
8
8
  onAdded?: () => any;
9
9
  onUpdate?: () => any;
10
10
  onStart?: () => any;
11
- }
11
+ };
12
12
  declare const Markdown: React.FC<IMarkdown>;
13
13
  export default Markdown;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IValueBreakpoints } from '../types';
4
- export interface IMasonry extends Omit<ILine, 'gap'> {
4
+ export declare type IMasonry = Omit<ILine, 'gap'> & {
5
5
  gap?: number | Partial<Record<IValueBreakpoints, number>>;
6
6
  columns?: number | Partial<Record<IValueBreakpoints, number>>;
7
7
  noMasonry?: boolean;
8
8
  NoMasonryProps?: any;
9
- }
9
+ };
10
10
  declare const Masonry: React.FC<IMasonry>;
11
11
  export default Masonry;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IMediaObject, IPropsAny } from '../types';
4
- export interface IMediasItem {
4
+ export declare type IMediasItem = {
5
5
  value: IMediaObject;
6
6
  props?: any;
7
- }
7
+ };
8
8
  export declare type IMediasMediaVersion = 'embed' | 'image' | 'audio' | 'video' | 'other';
9
- export interface IMedias extends ILine {
9
+ export declare type IMedias = ILine & {
10
10
  size?: 'small' | 'regular' | 'large';
11
11
  values?: IMediasItem | IMediasItem[];
12
12
  imageGallery?: boolean;
@@ -26,6 +26,6 @@ export interface IMedias extends ILine {
26
26
  AudioItemsProps?: IPropsAny;
27
27
  VideoItemsProps?: IPropsAny;
28
28
  OtherItemsProps?: IPropsAny;
29
- }
29
+ };
30
30
  declare const Medias: React.FC<IMedias>;
31
31
  export default Medias;
package/Menu/Menu.d.ts CHANGED
@@ -7,7 +7,7 @@ export declare const MENUS: {
7
7
  add: (value: any) => void;
8
8
  remove: (value: any) => void;
9
9
  };
10
- export interface IMenu extends Omit<ITooltip, 'name' | 'label'> {
10
+ export declare type IMenu = Omit<ITooltip, 'name' | 'label'> & {
11
11
  open?: boolean;
12
12
  openDefault?: boolean;
13
13
  name?: ((method: (item: any, index: number) => any) => any) | IElement;
@@ -28,6 +28,6 @@ export interface IMenu extends Omit<ITooltip, 'name' | 'label'> {
28
28
  ModalProps?: IPropsAny;
29
29
  WrapperProps?: IPropsAny;
30
30
  ClickListenerProps?: IPropsAny;
31
- }
31
+ };
32
32
  declare const Menu: React.FC<IMenu>;
33
33
  export default Menu;
@@ -1,18 +1,15 @@
1
1
  import React from 'react';
2
2
  import { TTransitionStatus } from '../Transition';
3
3
  import { ILine } from '../Line/Line';
4
- import { IElement, ITonal, IStyle, IElementReference, IPropsAny, IVersion, IColor } from '../types';
4
+ import { IElement, IStyle, IElementReference, IPropsAny, IVersion } from '../types';
5
5
  export declare type TMenuDesktopValue = string | number;
6
6
  export declare type TMenuDesktopItem = {
7
7
  value?: TMenuDesktopValue;
8
8
  label?: IElement;
9
9
  name?: IElement;
10
10
  menu?: IElement;
11
- disabled?: boolean;
12
11
  };
13
- export interface IMenuDesktop extends ILine {
14
- tonal?: ITonal;
15
- color?: IColor;
12
+ export declare type IMenuDesktop = ILine & {
16
13
  version?: IVersion;
17
14
  items?: Array<TMenuDesktopItem>;
18
15
  valueDefault?: TMenuDesktopValue;
@@ -37,6 +34,6 @@ export interface IMenuDesktop extends ILine {
37
34
  TransitionComponentProps?: IPropsAny;
38
35
  WrapperProps?: IPropsAny;
39
36
  WrapperMenuProps?: IPropsAny;
40
- }
37
+ };
41
38
  declare const MenuDesktop: React.FC<IMenuDesktop>;
42
39
  export default MenuDesktop;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IElement, IHTMLElement, IElementReference, IPropsAny } from '../types';
3
3
  import { IListItem } from '../ListItem/ListItem';
4
- export interface IMenuItem extends IListItem {
4
+ export declare type IMenuItem = IListItem & {
5
5
  menu?: IElement;
6
6
  menuId?: string;
7
7
  menuOpen?: boolean;
@@ -21,6 +21,6 @@ export interface IMenuItem extends IListItem {
21
21
  ListTransitionComponentProps?: IPropsAny;
22
22
  MenuProps?: IPropsAny;
23
23
  ExpandProps?: IPropsAny;
24
- }
24
+ };
25
25
  declare const MenuItem: React.FC<IMenuItem>;
26
26
  export default MenuItem;
package/Meta/Meta.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IPropsAny } from '../types';
4
- export interface IMeta extends ILine {
4
+ export declare type IMeta = ILine & {
5
5
  values?: any[];
6
6
  separator?: any;
7
7
  ItemProps?: IPropsAny;
8
8
  SeparatorProps?: IPropsAny;
9
- }
9
+ };
10
10
  declare const Meta: React.FC<IMeta>;
11
11
  export default Meta;
package/Modal/Modal.d.ts CHANGED
@@ -1,10 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TMethod } from '@onesy/utils';
3
- import { IBaseElement, IColor, IElementReference, IPropsAny, IRef, ISize, ITonal } from '../types';
4
- export interface IModal extends IBaseElement {
5
- tonal?: ITonal;
6
- color?: IColor;
7
- size?: ISize;
3
+ import { IBaseElement, IElementReference, IPropsAny, IRef } from '../types';
4
+ export declare type IModal = IBaseElement & {
8
5
  open?: boolean;
9
6
  openDefault?: boolean;
10
7
  mainRef?: IRef;
@@ -31,6 +28,6 @@ export interface IModal extends IBaseElement {
31
28
  TransitionComponentProps?: IPropsAny;
32
29
  BackgroundComponent?: IElementReference;
33
30
  TransitionComponent?: IElementReference;
34
- }
31
+ };
35
32
  declare const Modal: React.FC<IModal>;
36
33
  export default Modal;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- export interface IModalFooter extends ILine {
4
- }
3
+ export declare type IModalFooter = ILine & {};
5
4
  declare const ModalFooter: React.FC<IModalFooter>;
6
5
  export default ModalFooter;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine, TLineAlign } from '../Line/Line';
3
- export interface IModalHeader extends ILine {
3
+ export declare type IModalHeader = ILine & {
4
4
  align?: TLineAlign;
5
- }
5
+ };
6
6
  declare const ModalHeader: React.FC<IModalHeader>;
7
7
  export default ModalHeader;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IIcon } from '../Icon/Icon';
3
- export interface IModalIcon extends IIcon {
4
- }
3
+ export declare type IModalIcon = IIcon & {};
5
4
  declare const ModalIcon: React.FC<IModalIcon>;
6
5
  export default ModalIcon;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- export interface IModalMain extends ILine {
4
- }
3
+ export declare type IModalMain = ILine & {};
5
4
  declare const ModalMain: React.FC<IModalMain>;
6
5
  export default ModalMain;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IType } from '../Type/Type';
3
- export interface IModalText extends IType {
4
- }
3
+ export declare type IModalText = IType & {};
5
4
  declare const ModalText: React.FC<IModalText>;
6
5
  export default ModalText;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IType } from '../Type/Type';
3
- export interface IModalTitle extends IType {
4
- }
3
+ export declare type IModalTitle = IType & {};
5
4
  declare const ModalTitle: React.FC<IModalTitle>;
6
5
  export default ModalTitle;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { IMenu } from '../Menu/Menu';
3
3
  import { IPropsAny } from '../types';
4
- export interface IMoreOptions extends IMenu {
4
+ export declare type IMoreOptions = IMenu & {
5
5
  Icon?: any;
6
6
  IconButtonProps?: IPropsAny;
7
- }
7
+ };
8
8
  declare const MoreOptions: React.FC<IMoreOptions>;
9
9
  export default MoreOptions;
package/Move/Move.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
- export interface IMove extends IBaseElement {
3
+ export declare type IMove = IBaseElement & {
4
4
  version?: 'regular' | 'fixed';
5
5
  manage?: boolean;
6
6
  manageLevel?: number;
7
7
  onMouseDown?: (event: React.MouseEvent<any>) => any;
8
8
  onTouchStart?: (event: React.TouchEvent<any>) => any;
9
- }
9
+ };
10
10
  declare const Move: React.FC<IMove>;
11
11
  export default Move;
@@ -2,12 +2,12 @@ import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { INavigationItemVersion } from '../NavigationItem/NavigationItem';
4
4
  export declare type TNavigationBarValue = Array<string>;
5
- export interface INavigationBar extends Omit<ISurface, 'version'> {
5
+ export declare type INavigationBar = Omit<ISurface, 'version'> & {
6
6
  value?: TNavigationBarValue;
7
7
  valueDefault?: TNavigationBarValue;
8
8
  onChange?: (value: TNavigationBarValue) => any;
9
9
  version?: INavigationItemVersion;
10
10
  fixed?: boolean;
11
- }
11
+ };
12
12
  declare const NavigationBar: React.FC<INavigationBar>;
13
13
  export default NavigationBar;
@@ -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 interface INavigationDrawer extends IModal {
4
+ export declare type INavigationDrawer = IModal & {
5
5
  version?: 'modal' | 'standard';
6
6
  position?: 'fixed' | 'absolute';
7
7
  direction?: 'top' | 'left' | 'bottom' | 'right';
@@ -11,6 +11,6 @@ export interface INavigationDrawer extends IModal {
11
11
  min?: number;
12
12
  removeOnExited?: IMethodTransition;
13
13
  TransitionComponentProps?: IPropsAny;
14
- }
14
+ };
15
15
  declare const NavigationDrawer: React.FC<INavigationDrawer>;
16
16
  export default NavigationDrawer;
@@ -1,10 +1,8 @@
1
1
  import React from 'react';
2
2
  import { ITooltip } from '../Tooltip/Tooltip';
3
- import { ITonal, IColor, IElement, IElementReference, IPropsAny } from '../types';
3
+ import { IElement, IElementReference, IPropsAny } from '../types';
4
4
  export declare type INavigationItemVersion = 'regular' | 'auto';
5
- export interface INavigationItem extends ITooltip {
6
- tonal?: ITonal;
7
- color?: IColor;
5
+ export declare type INavigationItem = ITooltip & {
8
6
  version?: 'regular' | 'auto';
9
7
  value?: any;
10
8
  vertical?: boolean;
@@ -24,6 +22,6 @@ export interface INavigationItem extends ITooltip {
24
22
  onTouchStart?: (event: React.TouchEvent<any>) => any;
25
23
  TooltipProps?: IPropsAny;
26
24
  IconWrapperProps?: IPropsAny;
27
- }
25
+ };
28
26
  declare const NavigationItem: React.FC<INavigationItem>;
29
27
  export default NavigationItem;
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { INavigationItemVersion } from '../NavigationItem/NavigationItem';
4
- import { ISize, IElement, IPropsAny } from '../types';
5
- export interface INavigationRail extends Omit<ISurface, 'version'> {
6
- size?: ISize;
4
+ import { IElement, IPropsAny } from '../types';
5
+ export declare type INavigationRail = Omit<ISurface, 'version'> & {
7
6
  value?: any;
8
7
  valueDefault?: any;
9
8
  onChange?: (value: any) => any;
@@ -14,6 +13,6 @@ export interface INavigationRail extends Omit<ISurface, 'version'> {
14
13
  fixed?: boolean;
15
14
  NavigationBarProps?: IPropsAny;
16
15
  DividerProps?: IPropsAny;
17
- }
16
+ };
18
17
  declare const NavigationRail: React.FC<INavigationRail>;
19
18
  export default NavigationRail;
@@ -1,15 +1,16 @@
1
1
  import React from 'react';
2
2
  import { ISection } from '../Section/Section';
3
- export interface INotFound extends ISection {
3
+ export declare type INotFound = ISection & {
4
4
  name?: any;
5
5
  href?: string;
6
6
  to?: string;
7
+ link?: string;
7
8
  start?: any;
8
9
  end?: any;
9
10
  renderButton?: (props: any) => any;
10
11
  fullHeight?: any;
11
12
  ButtonProps?: any;
12
13
  TypeProps?: any;
13
- }
14
+ };
14
15
  declare const NotFound: React.FC<INotFound>;
15
16
  export default NotFound;
@@ -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 interface INumericTextField extends IAdvancedTextField {
4
+ export declare type INumericTextField = IAdvancedTextField & {
5
5
  min?: number;
6
6
  max?: number;
7
7
  increment?: boolean;
@@ -11,6 +11,6 @@ export interface INumericTextField extends IAdvancedTextField {
11
11
  IconIncrement?: IElementReference;
12
12
  IconDecrement?: IElementReference;
13
13
  IconButtonProps?: IPropsAny;
14
- }
14
+ };
15
15
  declare const NumericTextField: React.FC<INumericTextField>;
16
16
  export default NumericTextField;
package/Page/Page.d.ts CHANGED
@@ -1,18 +1,18 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IElement, IElementReference } from '../types';
4
- export interface IPageForward {
4
+ export declare type IPageForward = {
5
5
  to?: string;
6
6
  name?: string;
7
7
  label?: string;
8
- }
9
- export interface IPage extends ILine {
8
+ };
9
+ export declare type IPage = ILine & {
10
10
  back?: IPageForward;
11
11
  forward?: IPageForward;
12
12
  noHeader?: boolean;
13
13
  name?: string | IElement;
14
14
  IconBack?: IElementReference;
15
15
  IconForward?: IElementReference;
16
- }
16
+ };
17
17
  declare const Page: React.FC<IPage>;
18
18
  export default Page;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- export interface IPageTransition extends ILine {
3
+ export declare type IPageTransition = ILine & {
4
4
  add?: boolean;
5
5
  duration?: number;
6
6
  classNames?: {
7
7
  in?: string;
8
8
  out?: string;
9
9
  };
10
- }
10
+ };
11
11
  declare const PageTransition: React.FC<IPageTransition>;
12
12
  export default PageTransition;
@@ -1,12 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- import { ITonal, IColor, IVersion, ISize, IElement, IElementReference } from '../types';
4
- export interface IPagination extends ILine {
5
- tonal?: ITonal;
6
- color?: IColor;
3
+ import { IVersion, IElement, IElementReference } from '../types';
4
+ export declare type IPagination = ILine & {
7
5
  version?: IVersion;
8
6
  elevation?: boolean;
9
- size?: ISize;
10
7
  value?: number;
11
8
  valueDefault?: number;
12
9
  onChange?: (value: number) => any;
@@ -18,12 +15,11 @@ export interface IPagination extends ILine {
18
15
  next?: boolean;
19
16
  last?: boolean;
20
17
  disableSelected?: boolean;
21
- disabled?: boolean;
22
18
  renderItem?: (value: number, item: string | number, index: number) => IElement;
23
19
  IconFirst?: IElementReference;
24
20
  IconBefore?: IElementReference;
25
21
  IconNext?: IElementReference;
26
22
  IconLast?: IElementReference;
27
- }
23
+ };
28
24
  declare const Pagination: React.FC<IPagination>;
29
25
  export default Pagination;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { IButton } from '../Button/Button';
3
3
  import { IPropsAny } from '../types';
4
- export interface IPaginationItem extends IButton {
4
+ export declare type IPaginationItem = IButton & {
5
5
  TypeProps?: IPropsAny;
6
- }
6
+ };
7
7
  declare const PaginationItem: React.FC<IPaginationItem>;
8
8
  export default PaginationItem;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IPropsAny, IStyle, IValueBreakpoints } from '../types';
3
3
  export declare type TParallaxDirection = 'vertical' | 'horizontal';
4
- export interface IParallax extends IBaseElement {
4
+ export declare type IParallax = IBaseElement & {
5
5
  value?: number;
6
6
  root?: Element | DocumentFragment;
7
7
  render?: (value: number, root: Element | DocumentFragment, rate: number, scrollDirection: TParallaxDirection, transformDirection: TParallaxDirection, transition: string, props: IPropsAny) => IStyle;
@@ -10,6 +10,6 @@ export interface IParallax extends IBaseElement {
10
10
  transformDirection?: TParallaxDirection;
11
11
  transition?: string;
12
12
  disabled?: boolean | Partial<Record<IValueBreakpoints, boolean>>;
13
- }
13
+ };
14
14
  declare const Parallax: React.FC<IParallax>;
15
15
  export default Parallax;
package/Path/Path.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
- export interface IPath extends IBaseElement {
3
+ export declare type IPath = IBaseElement & {
4
4
  value?: any;
5
- }
5
+ };
6
6
  declare const Path: React.FC<IPath>;
7
7
  export default Path;
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  import { IChart } from '../Chart/Chart';
3
- export interface IPieChart extends IChart {
4
- }
3
+ export declare type IPieChart = IChart & {
4
+ gap?: number;
5
+ innerOffset?: number;
6
+ };
5
7
  declare const PieChart: React.FC<IPieChart>;
6
8
  export default PieChart;
@@ -1,12 +1,11 @@
1
1
  import React from 'react';
2
- import { IBaseElement, IColor } from '../types';
3
- export interface IPlaceholder extends Omit<IBaseElement, 'version'> {
4
- color?: IColor;
2
+ import { IBaseElement } from '../types';
3
+ export declare type IPlaceholder = Omit<IBaseElement, 'version'> & {
5
4
  version?: 'rectangle' | 'rounded' | 'circle';
6
5
  width?: string | number;
7
6
  height?: string | number;
8
7
  animation?: 'wave' | 'pulse' | boolean;
9
8
  text?: boolean;
10
- }
9
+ };
11
10
  declare const Placeholder: React.FC<IPlaceholder>;
12
11
  export default Placeholder;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
- export interface IPortal extends IBaseElement {
3
+ export declare type IPortal = IBaseElement & {
4
4
  element?: Element | DocumentFragment;
5
- }
5
+ };
6
6
  declare const Portal: React.FC<IPortal>;
7
7
  export default Portal;