@onesy/ui-react 1.0.47 → 1.0.49

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 +5 -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 +4 -4
  99. package/Links/Links.d.ts +4 -4
  100. package/List/List.d.ts +4 -4
  101. package/ListItem/ListItem.d.ts +4 -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 +2 -2
  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,10 +1,8 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- import { IColor, IElement, IElementReference, IElevation, IPropsAny, ITonal } from '../types';
3
+ import { IElement, IElementReference, IElevation, IPropsAny } from '../types';
4
4
  declare type TPadding = 'start' | 'end' | 'both' | 'none';
5
- export interface IAccordion extends ISurface {
6
- tonal?: ITonal;
7
- color?: IColor;
5
+ export declare type IAccordion = ISurface & {
8
6
  elevation?: IElevation;
9
7
  primary?: IElement;
10
8
  secondary?: IElement;
@@ -23,7 +21,6 @@ export interface IAccordion extends ISurface {
23
21
  mainPaddingHorizontal?: TPadding;
24
22
  noExpand?: boolean;
25
23
  noTransition?: boolean;
26
- disabled?: boolean;
27
24
  ExpandProps?: IPropsAny;
28
25
  TransitionComponentProps?: IPropsAny;
29
26
  WrapperHeaderProps?: IPropsAny;
@@ -33,6 +30,6 @@ export interface IAccordion extends ISurface {
33
30
  EndProps?: IPropsAny;
34
31
  ExpandIcon?: IElementReference;
35
32
  TransitionComponent?: IElementReference;
36
- }
33
+ };
37
34
  declare const Accordion: React.FC<IAccordion>;
38
35
  export default Accordion;
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import { ITextField } from '../TextField/TextField';
3
3
  import { IPropsAny } from '../types';
4
- export interface IAdvancedTextField extends ITextField {
4
+ export declare type IAdvancedTextField = ITextField & {
5
5
  validate?: (value: string) => boolean;
6
6
  mask?: Array<any>;
7
7
  maskProactive?: boolean;
8
8
  thousand?: boolean;
9
9
  thousandSeparator?: ',' | '.';
10
10
  TextFieldProps?: IPropsAny;
11
- }
11
+ };
12
12
  declare const AdvancedTextField: React.FC<IAdvancedTextField>;
13
13
  export default AdvancedTextField;
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import { IChildren, IHTMLElement, IStyle } from '../types';
3
3
  export declare type TAppendPadding = Array<number>;
4
- export interface IAppendValue {
4
+ export declare type IAppendValue = {
5
5
  x?: number;
6
6
  y?: number;
7
7
  switch?: boolean;
8
8
  init?: boolean;
9
- }
10
- export interface IAppend {
9
+ };
10
+ export declare type IAppend = {
11
11
  open?: boolean;
12
12
  portal?: boolean;
13
13
  accelerated?: boolean;
@@ -35,6 +35,6 @@ export interface IAppend {
35
35
  }) => any;
36
36
  children?: IChildren;
37
37
  [property: string]: any;
38
- }
38
+ };
39
39
  declare const Append: React.FC<IAppend>;
40
40
  export default Append;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { IChart } from '../Chart/Chart';
3
- export interface IAreaChart extends IChart {
3
+ export declare type IAreaChart = IChart & {
4
4
  smooth?: boolean;
5
5
  smoothRatio?: number;
6
6
  linearGradient?: boolean;
7
- }
7
+ };
8
8
  declare const AreaChart: React.FC<IAreaChart>;
9
9
  export default AreaChart;
@@ -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 IAreaChartItem extends IChart {
4
+ export declare type IAreaChartItem = IChart & {
5
5
  name?: string;
6
6
  refs?: {
7
7
  wrapper?: HTMLElement;
@@ -17,6 +17,8 @@ export interface IAreaChartItem extends IChart {
17
17
  smooth?: boolean;
18
18
  smoothRatio?: number;
19
19
  linearGradient?: boolean;
20
- }
20
+ BackgroundProps?: any;
21
+ BorderProps?: any;
22
+ };
21
23
  declare const AreaChartItem: React.FC<IAreaChartItem>;
22
24
  export default AreaChartItem;
@@ -1,16 +1,13 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- import { IColor, IElementReference, IPropsAny, ISize, ITonal } from '../types';
4
- export interface IAudioPlayer extends ILine {
3
+ import { IElementReference, IPropsAny } from '../types';
4
+ export declare type IAudioPlayer = ILine & {
5
5
  name?: string;
6
6
  src?: string;
7
7
  mime?: string;
8
8
  meta?: any;
9
9
  versions?: any;
10
10
  duration?: number;
11
- tonal?: ITonal;
12
- color?: IColor;
13
- size?: ISize;
14
11
  start?: any;
15
12
  end?: any;
16
13
  startControls?: any;
@@ -19,13 +16,14 @@ export interface IAudioPlayer extends ILine {
19
16
  endButtons?: any;
20
17
  startEnd?: any;
21
18
  endEnd?: any;
19
+ startButtonsEnd?: any;
20
+ endButtonsEnd?: any;
22
21
  forward?: boolean;
23
22
  backward?: boolean;
24
23
  settings?: boolean;
25
24
  quality?: boolean;
26
25
  playbackSpeed?: boolean;
27
26
  startMediaSessionOnPlay?: boolean;
28
- disabled?: boolean;
29
27
  IconPlay?: IElementReference;
30
28
  IconPause?: IElementReference;
31
29
  IconForward?: IElementReference;
@@ -48,6 +46,6 @@ export interface IAudioPlayer extends ILine {
48
46
  SettingsButtonProps?: IPropsAny;
49
47
  SettingsMenuProps?: IPropsAny;
50
48
  QualityButtonProps?: IPropsAny;
51
- }
49
+ };
52
50
  declare const AudioPlayer: React.FC<IAudioPlayer>;
53
51
  export default AudioPlayer;
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- import { IElementReference, IPropsAny, ISize } from '../types';
4
- export interface IAudioRecorder extends ILine {
5
- size?: ISize;
3
+ import { IElementReference, IPropsAny } from '../types';
4
+ export declare type IAudioRecorder = ILine & {
6
5
  pause?: boolean;
7
6
  renderMain?: (props: {
8
7
  onStart: () => any;
@@ -10,7 +9,6 @@ export interface IAudioRecorder extends ILine {
10
9
  }) => any;
11
10
  renderTime?: (value: string) => any;
12
11
  loading?: any;
13
- disabled?: any;
14
12
  Icon?: IElementReference;
15
13
  IconConfirm?: IElementReference;
16
14
  IconStart?: IElementReference;
@@ -28,6 +26,6 @@ export interface IAudioRecorder extends ILine {
28
26
  TooltipProps?: IPropsAny;
29
27
  IconButtonProps?: IPropsAny;
30
28
  IconProps?: IPropsAny;
31
- }
29
+ };
32
30
  declare const AudioRecorder: React.FC<IAudioRecorder>;
33
31
  export default AudioRecorder;
@@ -7,7 +7,7 @@ export declare type TAutoCompleteOption = {
7
7
  version?: 'text' | 'subheader';
8
8
  noOptions?: boolean;
9
9
  };
10
- export interface IAutoComplete extends ITextField {
10
+ export declare type IAutoComplete = ITextField & {
11
11
  value?: any;
12
12
  valueDefault?: any;
13
13
  onChange?: (value: any) => any;
@@ -16,7 +16,6 @@ export interface IAutoComplete extends ITextField {
16
16
  onChangeInput?: (value: string) => any;
17
17
  multiple?: boolean;
18
18
  autoWidth?: boolean;
19
- readOnly?: boolean;
20
19
  getLabel?: (item: any, props?: any) => any;
21
20
  equal?: (value1: any, value2: any) => boolean;
22
21
  equalInput?: (input: string, value: any) => boolean;
@@ -47,7 +46,6 @@ export interface IAutoComplete extends ITextField {
47
46
  selectOnFocus?: boolean;
48
47
  clearOnBlur?: boolean;
49
48
  noInputValue?: boolean;
50
- disabled?: boolean;
51
49
  IconClear?: IElementReference;
52
50
  IconDropdown?: IElementReference;
53
51
  WrapperProps?: IPropsAny;
@@ -57,6 +55,6 @@ export interface IAutoComplete extends ITextField {
57
55
  IconButtonProps?: IPropsAny;
58
56
  InputProps?: IPropsAny;
59
57
  IconProps?: IPropsAny;
60
- }
58
+ };
61
59
  declare const AutoComplete: React.FC<IAutoComplete>;
62
60
  export default AutoComplete;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IAutoComplete } from '../AutoComplete/AutoComplete';
3
- export interface IAutoCompleteCountry extends IAutoComplete {
4
- }
3
+ export declare type IAutoCompleteCountry = IAutoComplete & {};
5
4
  declare const AutoCompleteCountry: React.FC<IAutoCompleteCountry>;
6
5
  export default AutoCompleteCountry;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IAutoComplete } from '../AutoComplete/AutoComplete';
3
- export interface IAutoCompleteCurrency extends IAutoComplete {
4
- }
3
+ export declare type IAutoCompleteCurrency = IAutoComplete & {};
5
4
  declare const AutoCompleteCurrency: React.FC<IAutoCompleteCurrency>;
6
5
  export default AutoCompleteCurrency;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IAutoComplete } from '../AutoComplete/AutoComplete';
3
- export interface IAutoCompleteGooglePlaces extends IAutoComplete {
4
- }
3
+ export declare type IAutoCompleteGooglePlaces = IAutoComplete & {
4
+ optionsGoogle?: any;
5
+ };
5
6
  declare const AutoCompleteGooglePlaces: React.FC<IAutoCompleteGooglePlaces>;
6
7
  export default AutoCompleteGooglePlaces;
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import { IButton } from '../Button/Button';
3
3
  import { IElevation, IPropsAny } from '../types';
4
- export interface IAvatar extends Omit<IButton, 'elevation'> {
4
+ export declare type IAvatar = Omit<IButton, 'elevation'> & {
5
5
  image?: string;
6
6
  alt?: string;
7
7
  square?: boolean;
8
8
  elevation?: IElevation;
9
9
  TypeProps?: IPropsAny;
10
10
  InteractionProps?: IPropsAny;
11
- }
11
+ };
12
12
  declare const Avatar: React.FC<IAvatar>;
13
13
  export default Avatar;
@@ -1,15 +1,11 @@
1
1
  import React from 'react';
2
2
  import { IAvatar } from '../Avatar/Avatar';
3
- import { IColor, IElement, IPropsAny, ISizeAny, ITonal } from '../types';
4
- export interface IAvatarGroup extends IAvatar {
5
- tonal?: ITonal;
6
- color?: IColor;
7
- size?: ISizeAny;
3
+ import { IElement, IPropsAny } from '../types';
4
+ export declare type IAvatarGroup = IAvatar & {
8
5
  total?: number;
9
6
  max?: number;
10
- disabled?: boolean;
11
7
  AdditionalAvatar?: IElement;
12
8
  AdditionalAvatarProps?: IPropsAny;
13
- }
9
+ };
14
10
  declare const AvatarGroup: React.FC<IAvatarGroup>;
15
11
  export default AvatarGroup;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { TMethod } from '@onesy/utils';
3
3
  import { ILine } from '../Line/Line';
4
4
  import { IElementReference, IPropsAny } from '../types';
5
- export interface IBackdrop extends ILine {
5
+ export declare type IBackdrop = ILine & {
6
6
  open?: boolean;
7
7
  invisible?: boolean;
8
8
  disableKeyboardClose?: boolean;
@@ -12,6 +12,6 @@ export interface IBackdrop extends ILine {
12
12
  BackgroundProps?: IPropsAny;
13
13
  ModalProps?: IPropsAny;
14
14
  onClose?: TMethod;
15
- }
15
+ };
16
16
  declare const Backdrop: React.FC<IBackdrop>;
17
17
  export default Backdrop;
package/Badge/Badge.d.ts CHANGED
@@ -1,14 +1,12 @@
1
1
  import React from 'react';
2
- import { IBaseElement, IColor, ITonal } from '../types';
3
- export interface IBadge extends IBaseElement {
4
- tonal?: ITonal;
5
- color?: IColor;
2
+ import { IBaseElement } from '../types';
3
+ export declare type IBadge = IBaseElement & {
6
4
  value?: number;
7
5
  max?: number;
8
6
  vertical?: 'top' | 'bottom';
9
7
  horizontal?: 'left' | 'right';
10
8
  indicator?: boolean;
11
9
  element?: any;
12
- }
10
+ };
13
11
  declare const Badge: React.FC<IBadge>;
14
12
  export default Badge;
@@ -1,11 +1,13 @@
1
1
  import React from 'react';
2
- import { IBaseElement, IElement, ISize } from '../types';
3
- export interface IBanner extends IBaseElement {
4
- size?: ISize;
2
+ import { IBaseElement, IElement } from '../types';
3
+ export declare type IBanner = IBaseElement & {
5
4
  maxWidth?: string | number;
6
5
  actions?: IElement;
7
6
  start?: any;
8
7
  end?: any;
9
- }
8
+ footer?: any;
9
+ line?: any;
10
+ RootProps?: any;
11
+ };
10
12
  declare const Banner: React.FC<IBanner>;
11
13
  export default Banner;
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- import { IElement, ISize } from '../types';
4
- export interface IBottomAppBar extends ISurface {
5
- size?: ISize;
3
+ import { IElement } from '../types';
4
+ export declare type IBottomAppBar = ISurface & {
6
5
  main?: IElement;
7
6
  fixed?: boolean;
8
7
  noTransition?: boolean;
9
- }
8
+ };
10
9
  declare const BottomAppBar: React.FC<IBottomAppBar>;
11
10
  export default BottomAppBar;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { INavigationDrawer } from '../NavigationDrawer/NavigationDrawer';
3
- export interface IBottomSheet extends INavigationDrawer {
4
- }
3
+ export declare type IBottomSheet = INavigationDrawer & {};
5
4
  declare const BottomSheet: React.FC<IBottomSheet>;
6
5
  export default BottomSheet;
package/Box/Box.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { TValue } from '@onesy/style';
3
3
  import { IBaseElement } from '../types';
4
- export interface IBox extends IBaseElement {
4
+ export declare type IBox = IBaseElement & {
5
5
  styles?: string | TValue;
6
- }
6
+ };
7
7
  declare const Box: React.FC<IBox>;
8
8
  export default Box;
@@ -1,10 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IElement } from '../types';
4
- export interface IBreadcrumbs extends ILine {
4
+ export declare type IBreadcrumbs = ILine & {
5
5
  separator?: IElement | string;
6
6
  max?: number;
7
7
  renderMore?: (onExpandMore: () => void) => IElement;
8
- }
8
+ IconMore?: any;
9
+ MoreProps?: any;
10
+ };
9
11
  declare const Breadcrumbs: React.FC<IBreadcrumbs>;
10
12
  export default Breadcrumbs;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IChart } from '../Chart/Chart';
3
- export interface IBubbleChart extends IChart {
4
- }
3
+ export declare type IBubbleChart = IChart & {};
5
4
  declare const BubbleChart: React.FC<IBubbleChart>;
6
5
  export default BubbleChart;
@@ -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 IBubbleChartItem extends IChart {
4
+ export declare type IBubbleChartItem = IChart & {
5
5
  name?: string;
6
6
  minSize?: number;
7
7
  maxSize?: number;
@@ -16,6 +16,6 @@ export interface IBubbleChartItem extends IChart {
16
16
  values?: IChartValueValues;
17
17
  updateDefs?: TMethod;
18
18
  updateLegend?: TMethod;
19
- }
19
+ };
20
20
  declare const BubbleChartItem: React.FC<IBubbleChartItem>;
21
21
  export default BubbleChartItem;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- import { IElement, IElementReference, IPropsAny, ISizeAny } from '../types';
4
- export interface IButton extends Omit<ISurface, 'elevation'> {
3
+ import { IElement, IElementReference, IPropsAny } from '../types';
4
+ export declare type IButton = Omit<ISurface, 'elevation'> & {
5
5
  name?: any;
6
- size?: ISizeAny;
6
+ type?: string;
7
7
  fullWidth?: boolean;
8
8
  fontSize?: string | number;
9
9
  selected?: boolean;
@@ -27,13 +27,13 @@ export interface IButton extends Omit<ISurface, 'elevation'> {
27
27
  noIconRootFontSize?: boolean;
28
28
  firstLevelChildren?: IElement;
29
29
  noFontSize?: boolean;
30
- disabled?: boolean;
30
+ href?: string;
31
31
  onFocus?: (event: React.FocusEvent<any>) => any;
32
32
  onBlur?: (event: React.FocusEvent<any>) => any;
33
33
  IconWrapperComponent?: IElementReference;
34
34
  InteractionProps?: IPropsAny;
35
35
  IconWrapperProps?: IPropsAny;
36
36
  LabelProps?: IPropsAny;
37
- }
37
+ };
38
38
  declare const Button: React.FC<IButton>;
39
39
  export default Button;
@@ -1,14 +1,11 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- import { IColor, ISize, ITonal, IValueBreakpoints, IVersion } from '../types';
3
+ import { IColor, IValueBreakpoints, IVersion } from '../types';
4
4
  export declare const IconMaterialDone: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
5
5
  export declare const IconDoneAnimated: (props: any) => import("react/jsx-runtime").JSX.Element;
6
- export interface IButtons extends ILine {
7
- tonal?: ITonal;
8
- color?: IColor;
6
+ export declare type IButtons = ILine & {
9
7
  version?: IVersion;
10
8
  colorSelected?: IColor;
11
- size?: ISize;
12
9
  value?: any;
13
10
  valueDefault?: any;
14
11
  onChange?: (value: any) => any;
@@ -20,7 +17,6 @@ export interface IButtons extends ILine {
20
17
  border?: boolean;
21
18
  chip?: boolean;
22
19
  fullWidth?: boolean;
23
- disabled?: boolean;
24
- }
20
+ };
25
21
  declare const Buttons: React.FC<IButtons>;
26
22
  export default Buttons;
@@ -2,16 +2,13 @@ import React from 'react';
2
2
  import { OnesyDate } from '@onesy/date';
3
3
  import { ICalenarDays, TCalendarMonthCalendar, TCalendarMonthValue } from '../CalendarMonth/CalendarMonth';
4
4
  import { ISurface } from '../Surface/Surface';
5
- import { IColor, IElementReference, IPropsAny, ISize, ITonal } from '../types';
5
+ import { IElementReference, IPropsAny } from '../types';
6
6
  export declare type TGetOnesyDates = (value: TCalendarMonthValue, calendar: TCalendarMonthCalendar, props: IPropsAny) => Array<{
7
7
  value: OnesyDate;
8
8
  }>;
9
9
  export declare type TCalendarUnit = 'day' | 'month' | 'year';
10
- export interface ICalendar extends Omit<ISurface, 'version'> {
11
- tonal?: ITonal;
12
- color?: IColor;
10
+ export declare type ICalendar = Omit<ISurface, 'version'> & {
13
11
  version?: 'regular' | 'year';
14
- size?: ISize;
15
12
  value?: TCalendarMonthValue;
16
13
  valueDefault?: TCalendarMonthValue;
17
14
  onChange?: (value: TCalendarMonthValue) => any;
@@ -30,8 +27,10 @@ export interface ICalendar extends Omit<ISurface, 'version'> {
30
27
  menu_month_previous_unit?: TCalendarUnit;
31
28
  menu_month_next_unit?: TCalendarUnit;
32
29
  valid?: (value: OnesyDate, version: TCalendarUnit) => boolean;
33
- geMonths?: TGetOnesyDates;
34
- geYears?: TGetOnesyDates;
30
+ getMonths?: TGetOnesyDates;
31
+ getYears?: TGetOnesyDates;
32
+ renderDay?: (value: OnesyDate, props: any, day: any, outside: boolean) => React.ReactNode;
33
+ renderDayName?: (order: number) => any;
35
34
  belowCalendars?: any;
36
35
  IconPrevious?: IElementReference;
37
36
  IconNext?: IElementReference;
@@ -39,6 +38,7 @@ export interface ICalendar extends Omit<ISurface, 'version'> {
39
38
  CalendarMonthProps?: any;
40
39
  CalendarDayProps?: ICalenarDays;
41
40
  OptionButtonProps?: any;
42
- }
41
+ PaginationItemsProps?: any;
42
+ };
43
43
  declare const Calendar: React.FC<ICalendar>;
44
44
  export default Calendar;
@@ -3,15 +3,15 @@ import { OnesyDate } from '@onesy/date';
3
3
  import { ILine } from '../Line/Line';
4
4
  import { IElement } from '../types';
5
5
  import { ICalendarViewsView } from '../CalendarViews/CalendarViews';
6
- export interface ICalendarEvent {
6
+ export declare type ICalendarEvent = {
7
7
  id?: string;
8
8
  description?: string;
9
9
  from?: number;
10
10
  to?: number;
11
11
  status?: string;
12
12
  color?: string;
13
- }
14
- export interface ICalendarAvailability extends ILine {
13
+ };
14
+ export declare type ICalendarAvailability = ILine & {
15
15
  name?: string | IElement;
16
16
  date?: OnesyDate;
17
17
  dateDefault?: OnesyDate;
@@ -35,12 +35,13 @@ export interface ICalendarAvailability extends ILine {
35
35
  IconPrevious?: any;
36
36
  IconNext?: any;
37
37
  IconDescription?: any;
38
+ IconEdit?: any;
38
39
  IconRemove?: any;
39
40
  IconClose?: any;
40
41
  WeekProps?: any;
41
42
  DayProps?: any;
42
43
  IconProps?: any;
43
44
  IconButtonProps?: any;
44
- }
45
+ };
45
46
  declare const CalendarAvailability: React.FC<ICalendarAvailability>;
46
47
  export default CalendarAvailability;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IMenu } from '../Menu/Menu';
3
- export interface ICalendarMenu extends IMenu {
3
+ export declare type ICalendarMenu = IMenu & {
4
4
  value?: any;
5
5
  onChange?: (...args: any) => any;
6
6
  dateProperty?: string;
@@ -13,6 +13,6 @@ export interface ICalendarMenu extends IMenu {
13
13
  startBottom?: any;
14
14
  endBottom?: any;
15
15
  noRemove?: boolean;
16
- }
16
+ };
17
17
  declare const CalendarMenu: React.FC<ICalendarMenu>;
18
18
  export default CalendarMenu;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { OnesyDate } from '@onesy/date';
3
3
  import { ILine } from '../Line/Line';
4
- import { IColor, IPropsAny, ISize, ITonal } from '../types';
4
+ import { IPropsAny } from '../types';
5
5
  import { ICalendarViewsView } from '../CalendarViews/CalendarViews';
6
6
  export declare type TCalendarMonthValue = OnesyDate | [OnesyDate, OnesyDate];
7
7
  export declare type TCalendarMonthCalendar = OnesyDate;
8
- export interface ICalendarMonthValuesValue {
8
+ export declare type ICalendarMonthValuesValue = {
9
9
  day: string;
10
10
  month: string;
11
11
  year: string;
@@ -15,12 +15,9 @@ export interface ICalendarMonthValuesValue {
15
15
  date: OnesyDate;
16
16
  previous: OnesyDate;
17
17
  move: 'previous' | 'next';
18
- }
18
+ };
19
19
  export declare type TCalendarMonthValues = [ICalendarMonthValuesValue, ICalendarMonthValuesValue];
20
- export interface ICalenarDays extends ILine {
21
- tonal?: ITonal;
22
- color?: IColor;
23
- size?: ISize;
20
+ export declare type ICalenarDays = ILine & {
24
21
  value?: TCalendarMonthValue;
25
22
  valueDefault?: TCalendarMonthValue;
26
23
  onChange?: (value: TCalendarMonthValue) => any;
@@ -46,6 +43,6 @@ export interface ICalenarDays extends ILine {
46
43
  PaginationItemProps?: IPropsAny;
47
44
  TransitionProps?: IPropsAny;
48
45
  TransitionsProps?: IPropsAny;
49
- }
46
+ };
50
47
  declare const CalendarMonth: React.FC<ICalenarDays>;
51
48
  export default CalendarMonth;
@@ -3,7 +3,7 @@ import { OnesyDate } from '@onesy/date';
3
3
  import { ICalendar } from '../Calendar/Calendar';
4
4
  import { ICalendarEvent } from '../CalendarAvailability/CalendarAvailability';
5
5
  export declare type ICalendarViewsView = 'day' | 'week' | 'month';
6
- export interface ICalendarViews extends ICalendar {
6
+ export declare type ICalendarViews = ICalendar & {
7
7
  viewDefault?: ICalendarViewsView;
8
8
  dateDefault?: OnesyDate;
9
9
  times?: any;
@@ -25,6 +25,6 @@ export interface ICalendarViews extends ICalendar {
25
25
  WeekProps?: any;
26
26
  DayProps?: any;
27
27
  CalendarMonthProps?: any;
28
- }
28
+ };
29
29
  declare const CalendarViews: React.FC<ICalendarViews>;
30
30
  export default CalendarViews;
@@ -3,7 +3,7 @@ import { OnesyDate } from '@onesy/date';
3
3
  import { ILine } from '../Line/Line';
4
4
  import { ICalendarEvent } from '../CalendarAvailability/CalendarAvailability';
5
5
  import { ICalendarViewsView } from '../CalendarViews/CalendarViews';
6
- export interface ICalendarWeek extends ILine {
6
+ export declare type ICalendarWeek = ILine & {
7
7
  date?: OnesyDate;
8
8
  times?: any;
9
9
  events?: ICalendarEvent[];
@@ -13,6 +13,6 @@ export interface ICalendarWeek extends ILine {
13
13
  statuses?: any;
14
14
  displayTime?: any;
15
15
  day?: boolean;
16
- }
16
+ };
17
17
  declare const CalendarWeek: React.FC<ICalendarWeek>;
18
18
  export default CalendarWeek;
package/Card/Card.d.ts CHANGED
@@ -1,15 +1,14 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { IPropsAny } from '../types';
4
- export interface ICard extends ISurface {
4
+ export declare type ICard = ISurface & {
5
5
  focus?: boolean;
6
6
  selected?: boolean;
7
7
  button?: boolean;
8
8
  href?: boolean;
9
- disabled?: boolean;
10
9
  onFocus?: (event: React.FocusEvent<any>) => any;
11
10
  onBlur?: (event: React.FocusEvent<any>) => any;
12
11
  InteractionProps?: IPropsAny;
13
- }
12
+ };
14
13
  declare const Card: React.FC<ICard>;
15
14
  export default Card;