@onesy/ui-react 1.0.78 → 1.0.80

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 (220) hide show
  1. package/Accordion/Accordion.d.ts +2 -2
  2. package/AdvancedTextField/AdvancedTextField.d.ts +1 -1
  3. package/Append/Append.d.ts +3 -3
  4. package/AreaChart/AreaChart.d.ts +1 -1
  5. package/AreaChartItem/AreaChartItem.d.ts +1 -1
  6. package/AudioPlayer/AudioPlayer.d.ts +1 -1
  7. package/AudioRecorder/AudioRecorder.d.ts +1 -1
  8. package/AutoComplete/AutoComplete.d.ts +3 -3
  9. package/AutoCompleteCountry/AutoCompleteCountry.d.ts +1 -1
  10. package/AutoCompleteCurrency/AutoCompleteCurrency.d.ts +1 -1
  11. package/AutoCompleteGooglePlaces/AutoCompleteGooglePlaces.d.ts +1 -1
  12. package/Avatar/Avatar.d.ts +1 -1
  13. package/AvatarGroup/AvatarGroup.d.ts +1 -1
  14. package/Backdrop/Backdrop.d.ts +1 -1
  15. package/Badge/Badge.d.ts +1 -1
  16. package/Banner/Banner.d.ts +1 -1
  17. package/BottomAppBar/BottomAppBar.d.ts +1 -1
  18. package/BottomSheet/BottomSheet.d.ts +1 -1
  19. package/Box/Box.d.ts +1 -1
  20. package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  21. package/BubbleChart/BubbleChart.d.ts +1 -1
  22. package/BubbleChartItem/BubbleChartItem.d.ts +1 -1
  23. package/Button/Button.d.ts +1 -1
  24. package/Buttons/Buttons.d.ts +1 -1
  25. package/Calendar/Calendar.d.ts +3 -3
  26. package/CalendarAvailability/CalendarAvailability.d.ts +2 -2
  27. package/CalendarAvailability/CalendarAvailability.js +5 -12
  28. package/CalendarMenu/CalendarMenu.d.ts +1 -1
  29. package/CalendarMonth/CalendarMonth.d.ts +5 -5
  30. package/CalendarViews/CalendarViews.d.ts +2 -2
  31. package/CalendarWeek/CalendarWeek.d.ts +1 -1
  32. package/CalendarWeek/CalendarWeek.js +3 -3
  33. package/Card/Card.d.ts +1 -1
  34. package/CardButton/CardButton.d.ts +1 -1
  35. package/CardFooter/CardFooter.d.ts +1 -1
  36. package/CardHeader/CardHeader.d.ts +1 -1
  37. package/CardImage/CardImage.d.ts +1 -1
  38. package/CardMain/CardMain.d.ts +1 -1
  39. package/Carousel/Carousel.d.ts +4 -4
  40. package/Chart/Chart.d.ts +4 -4
  41. package/Checkbox/Checkbox.d.ts +1 -1
  42. package/Chip/Chip.d.ts +1 -1
  43. package/Chips/Chips.d.ts +1 -1
  44. package/ClickListener/ClickListener.d.ts +1 -1
  45. package/Clock/Clock.d.ts +5 -5
  46. package/ColorTextField/ColorTextField.d.ts +1 -1
  47. package/ColumnChart/ColumnChart.d.ts +1 -1
  48. package/ColumnChartItem/ColumnChartItem.d.ts +1 -1
  49. package/Confirm/Confirm.d.ts +4 -4
  50. package/Container/Container.d.ts +1 -1
  51. package/CookieBanner/CookieBanner.d.ts +1 -1
  52. package/Countdown/Countdown.d.ts +1 -1
  53. package/DatePicker/DatePicker.d.ts +1 -1
  54. package/DateRangePicker/DateRangePicker.d.ts +1 -1
  55. package/DateTimePicker/DateTimePicker.d.ts +2 -2
  56. package/DateTimeRangePicker/DateTimeRangePicker.d.ts +1 -1
  57. package/Divider/Divider.d.ts +1 -1
  58. package/DonutChart/DonutChart.d.ts +1 -1
  59. package/DragAndDropList/DragAndDropList.d.ts +1 -1
  60. package/Drawing/Drawing.d.ts +2 -2
  61. package/DropZone/DropZone.d.ts +1 -1
  62. package/Emojis/Emojis.d.ts +3 -3
  63. package/Expand/Expand.d.ts +1 -1
  64. package/Fab/Fab.d.ts +1 -1
  65. package/Fade/Fade.d.ts +1 -1
  66. package/FileChoose/FileChoose.d.ts +2 -2
  67. package/Focus/Focus.d.ts +1 -1
  68. package/Form/Form.d.ts +1 -1
  69. package/FormRow/FormRow.d.ts +1 -1
  70. package/Forms/Forms.d.ts +1 -1
  71. package/Frame/Frame.d.ts +1 -1
  72. package/Grid/Grid.d.ts +2 -2
  73. package/Grow/Grow.d.ts +1 -1
  74. package/HTMLCanvas/HTMLCanvas.d.ts +2 -2
  75. package/IFrame/IFrame.d.ts +1 -1
  76. package/Icon/Icon.d.ts +1 -1
  77. package/IconButton/IconButton.d.ts +1 -1
  78. package/Image/Image.d.ts +1 -1
  79. package/ImageCrop/ImageCrop.d.ts +2 -2
  80. package/ImageEdit/ImageEdit.d.ts +2 -2
  81. package/ImageGallery/ImageGallery.d.ts +1 -1
  82. package/ImageList/ImageList.d.ts +1 -1
  83. package/ImageListItem/ImageListItem.d.ts +1 -1
  84. package/ImageListItemBox/ImageListItemBox.d.ts +1 -1
  85. package/Info/Info.d.ts +1 -1
  86. package/Interaction/Interaction.d.ts +2 -2
  87. package/Keyframes/Keyframes.d.ts +3 -3
  88. package/Label/Label.d.ts +1 -1
  89. package/Labels/Labels.d.ts +1 -1
  90. package/Line/Line.d.ts +6 -6
  91. package/LineChart/LineChart.d.ts +1 -1
  92. package/LineChartItem/LineChartItem.d.ts +1 -1
  93. package/LinearMeter/LinearMeter.d.ts +1 -1
  94. package/LinearProgress/LinearProgress.d.ts +1 -1
  95. package/Link/Link.d.ts +1 -1
  96. package/Links/Links.d.ts +2 -2
  97. package/List/List.d.ts +1 -1
  98. package/ListItem/ListItem.d.ts +1 -1
  99. package/ListSubheader/ListSubheader.d.ts +1 -1
  100. package/MainProgress/MainProgress.d.ts +3 -3
  101. package/Markdown/Markdown.d.ts +1 -1
  102. package/Masonry/Masonry.d.ts +1 -1
  103. package/Medias/Medias.d.ts +3 -3
  104. package/Menu/Menu.d.ts +1 -1
  105. package/MenuDesktop/MenuDesktop.d.ts +3 -3
  106. package/MenuItem/MenuItem.d.ts +1 -1
  107. package/Meta/Meta.d.ts +1 -1
  108. package/Modal/Modal.d.ts +1 -1
  109. package/ModalFooter/ModalFooter.d.ts +1 -1
  110. package/ModalHeader/ModalHeader.d.ts +1 -1
  111. package/ModalIcon/ModalIcon.d.ts +1 -1
  112. package/ModalMain/ModalMain.d.ts +1 -1
  113. package/ModalText/ModalText.d.ts +1 -1
  114. package/ModalTitle/ModalTitle.d.ts +1 -1
  115. package/MoreOptions/MoreOptions.d.ts +1 -1
  116. package/Move/Move.d.ts +1 -1
  117. package/NavigationBar/NavigationBar.d.ts +2 -2
  118. package/NavigationDrawer/NavigationDrawer.d.ts +1 -1
  119. package/NavigationItem/NavigationItem.d.ts +2 -2
  120. package/NavigationRail/NavigationRail.d.ts +1 -1
  121. package/NotFound/NotFound.d.ts +1 -1
  122. package/NumericTextField/NumericTextField.d.ts +1 -1
  123. package/Page/Page.d.ts +2 -2
  124. package/PageTransition/PageTransition.d.ts +1 -1
  125. package/Pagination/Pagination.d.ts +1 -1
  126. package/PaginationItem/PaginationItem.d.ts +1 -1
  127. package/Parallax/Parallax.d.ts +2 -2
  128. package/Path/Path.d.ts +1 -1
  129. package/PieChart/PieChart.d.ts +1 -1
  130. package/Placeholder/Placeholder.d.ts +1 -1
  131. package/Portal/Portal.d.ts +1 -1
  132. package/Properties/Properties.d.ts +2 -2
  133. package/Property/Property.d.ts +1 -1
  134. package/Radio/Radio.d.ts +1 -1
  135. package/Radios/Radios.d.ts +1 -1
  136. package/Rating/Rating.d.ts +1 -1
  137. package/Reset/Reset.d.ts +1 -1
  138. package/Reveal/Reveal.d.ts +1 -1
  139. package/RichTextEditor/RichTextEditor.d.ts +1 -1
  140. package/RoundMeter/RoundMeter.d.ts +1 -1
  141. package/RoundProgress/RoundProgress.d.ts +1 -1
  142. package/ScatterChart/ScatterChart.d.ts +1 -1
  143. package/ScatterChartItem/ScatterChartItem.d.ts +1 -1
  144. package/ScreenCapture/ScreenCapture.d.ts +2 -2
  145. package/Section/Section.d.ts +2 -2
  146. package/SectionAction/SectionAction.d.ts +1 -1
  147. package/SectionBoxes/SectionBoxes.d.ts +2 -2
  148. package/SectionCards/SectionCards.d.ts +2 -2
  149. package/SectionCarousel/SectionCarousel.d.ts +2 -2
  150. package/SectionContact/SectionContact.d.ts +1 -1
  151. package/SectionImageGallery/SectionImageGallery.d.ts +1 -1
  152. package/SectionLogos/SectionLogos.d.ts +1 -1
  153. package/SectionMedia/SectionMedia.d.ts +1 -1
  154. package/SectionReviews/SectionReviews.d.ts +2 -2
  155. package/SectionTextMedia/SectionTextMedia.d.ts +1 -1
  156. package/SectionTimeline/SectionTimeline.d.ts +2 -2
  157. package/SectionWatch/SectionWatch.d.ts +1 -1
  158. package/Select/Select.d.ts +1 -1
  159. package/Share/Share.d.ts +1 -1
  160. package/Slide/Slide.d.ts +1 -1
  161. package/Slider/Slider.d.ts +2 -2
  162. package/SmartTextField/SmartTextField.d.ts +1 -1
  163. package/Snackbar/Snackbar.d.ts +1 -1
  164. package/Snackbars/Context.d.ts +1 -1
  165. package/Snackbars/Snackbars.d.ts +2 -2
  166. package/Space/Space.d.ts +1 -1
  167. package/SpeechToText/SpeechToText.d.ts +1 -1
  168. package/SpeedDial/SpeedDial.d.ts +1 -1
  169. package/SpeedDialItem/SpeedDialItem.d.ts +1 -1
  170. package/SpyScroll/SpyScroll.d.ts +1 -1
  171. package/Step/Step.d.ts +1 -1
  172. package/Stepper/Stepper.d.ts +1 -1
  173. package/Surface/Surface.d.ts +1 -1
  174. package/Switch/Switch.d.ts +1 -1
  175. package/Tab/Tab.d.ts +1 -1
  176. package/Table/Table.d.ts +1 -1
  177. package/TableBody/TableBody.d.ts +1 -1
  178. package/TableCell/TableCell.d.ts +2 -2
  179. package/TableFooter/TableFooter.d.ts +1 -1
  180. package/TableHead/TableHead.d.ts +1 -1
  181. package/TableHeader/TableHeader.d.ts +1 -1
  182. package/TablePagination/TablePagination.d.ts +1 -1
  183. package/TableRow/TableRow.d.ts +1 -1
  184. package/Tabs/Tabs.d.ts +1 -1
  185. package/Text/Text.d.ts +1 -1
  186. package/TextField/TextField.d.ts +1 -1
  187. package/TextToSpeech/TextToSpeech.d.ts +1 -1
  188. package/TimePicker/TimePicker.d.ts +3 -3
  189. package/TimeRangePicker/TimeRangePicker.d.ts +1 -1
  190. package/Timeline/Timeline.d.ts +1 -1
  191. package/TimelineItem/TimelineItem.d.ts +1 -1
  192. package/Timer/Timer.d.ts +1 -1
  193. package/ToggleButton/ToggleButton.d.ts +1 -1
  194. package/ToggleButtons/ToggleButtons.d.ts +1 -1
  195. package/Tooltip/Tooltip.d.ts +1 -1
  196. package/TopAppBar/TopAppBar.d.ts +1 -1
  197. package/Transition/Transition.d.ts +3 -3
  198. package/Transitions/Transitions.d.ts +2 -2
  199. package/Tree/Tree.d.ts +1 -1
  200. package/Type/Type.d.ts +1 -1
  201. package/VideoPlayer/VideoPlayer.d.ts +1 -1
  202. package/ViewSplit/ViewSplit.d.ts +1 -1
  203. package/Watch/Watch.d.ts +1 -1
  204. package/Weather/Weather.d.ts +4 -4
  205. package/Whiteboard/Whiteboard.d.ts +5 -5
  206. package/Widgets/Widgets.d.ts +2 -2
  207. package/WindowSplit/WindowSplit.d.ts +1 -1
  208. package/Zoom/Zoom.d.ts +1 -1
  209. package/esm/CalendarAvailability/CalendarAvailability.js +5 -15
  210. package/esm/CalendarWeek/CalendarWeek.js +3 -3
  211. package/esm/index.js +1 -1
  212. package/package.json +2 -2
  213. package/types.d.ts +27 -27
  214. package/useForm/useForm.d.ts +2 -2
  215. package/useForm/validate.d.ts +12 -12
  216. package/useLocation/useLocation.d.ts +1 -1
  217. package/useMediaQuery/useMediaQuery.d.ts +1 -1
  218. package/useScroll/useScroll.d.ts +2 -2
  219. package/useSwipe/useSwipe.d.ts +2 -2
  220. package/useVisible/useVisible.d.ts +2 -2
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IValueBreakpoints } from '../types';
4
- export declare type IContainer = ILine & {
4
+ export type IContainer = ILine & {
5
5
  alignment?: 'start' | 'center' | 'end' | Partial<Record<IValueBreakpoints, 'start' | 'center' | 'end'>>;
6
6
  paddingVertical?: 'both' | 'start' | 'end' | 'none' | Partial<Record<IValueBreakpoints, 'both' | 'start' | 'end' | 'none'>>;
7
7
  paddingHorizontal?: 'both' | 'start' | 'end' | 'none' | Partial<Record<IValueBreakpoints, 'both' | 'start' | 'end' | 'none'>>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IPropsAny } from '../types';
3
3
  import { ISurface } from '../Surface/Surface';
4
- export declare type ICookieBanner = ISurface & {
4
+ export type ICookieBanner = ISurface & {
5
5
  name?: any;
6
6
  description?: any;
7
7
  startActions?: any;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { IElement, IElementReference, IPropsAny } from '../types';
4
- export declare type ICountdown = Omit<ISurface, 'version'> & {
4
+ export type ICountdown = Omit<ISurface, 'version'> & {
5
5
  version?: 'linear' | 'round';
6
6
  renderValue?: (value: string) => IElement;
7
7
  icon?: boolean;
@@ -7,7 +7,7 @@ import { IValueBreakpoints, IElement, IElementReference, IPropsAny } from '../ty
7
7
  import { ITextField } from '../TextField/TextField';
8
8
  export declare const SEPARATOR_SYMBOL = "\u2013";
9
9
  export declare const SEPARATOR: string;
10
- export declare type IDatePicker = Omit<ILine, 'onChange'> & ITextField & {
10
+ export type IDatePicker = Omit<ILine, 'onChange'> & ITextField & {
11
11
  version?: 'auto' | 'mobile' | 'desktop';
12
12
  value?: TCalendarMonthValue;
13
13
  valueDefault?: TCalendarMonthValue;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IDatePicker } from '../DatePicker/DatePicker';
3
- export declare type IDateRangePicker = IDatePicker & {};
3
+ export type IDateRangePicker = IDatePicker & {};
4
4
  declare const DateRangePicker: React.FC<IDateRangePicker>;
5
5
  export default DateRangePicker;
@@ -6,8 +6,8 @@ import { TCalendarUnit } from '../Calendar/Calendar';
6
6
  import { TClockUnit } from '../Clock/Clock';
7
7
  import { IValueBreakpoints, IElementReference, IPropsAny } from '../types';
8
8
  import { ITextField } from '../TextField/TextField';
9
- export declare type TDateTimePicker = OnesyDate;
10
- export declare type IDateTimePicker = Omit<IAdvancedTextField, 'version' | 'onChange'> & ITextField & {
9
+ export type TDateTimePicker = OnesyDate;
10
+ export type IDateTimePicker = Omit<IAdvancedTextField, 'version' | 'onChange'> & ITextField & {
11
11
  version?: 'auto' | 'mobile' | 'desktop';
12
12
  value?: TCalendarMonthValue;
13
13
  valueDefault?: TCalendarMonthValue;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IDateTimePicker } from '../DateTimePicker/DateTimePicker';
3
- export declare type IDateTimeRangePicker = IDateTimePicker & {};
3
+ export type IDateTimeRangePicker = IDateTimePicker & {};
4
4
  declare const DateTimeRangePicker: React.FC<IDateTimeRangePicker>;
5
5
  export default DateTimeRangePicker;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- export declare type IDivider = ISurface & {
3
+ export type IDivider = ISurface & {
4
4
  inset?: boolean;
5
5
  middle?: boolean;
6
6
  padding?: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IPieChart } from '../PieChart/PieChart';
3
- export declare type IDonutChart = IPieChart & {};
3
+ export type IDonutChart = IPieChart & {};
4
4
  declare const DonutChart: React.FC<IDonutChart>;
5
5
  export default DonutChart;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
- export declare type IDragAndDropList = Omit<IBaseElement, 'onChange'> & {
3
+ export type IDragAndDropList = Omit<IBaseElement, 'onChange'> & {
4
4
  onChange?: (indexPrevious: number, indexNew: number) => any;
5
5
  items?: any[];
6
6
  image?: boolean;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { IElement, IElementReference, IPropsAny, IRef } from '../types';
4
- export declare type TDrawingValue = Array<{
4
+ export type TDrawingValue = Array<{
5
5
  d?: string;
6
6
  stroke?: string;
7
7
  strokeWidth?: number;
8
8
  }>;
9
- export declare type IDrawing = Omit<ISurface, 'onChange' | 'onMouseDown'> & {
9
+ export type IDrawing = Omit<ISurface, 'onChange' | 'onMouseDown'> & {
10
10
  render?: (element: string, props: IPropsAny, value: TDrawingValue) => IElement;
11
11
  svgRef?: IRef;
12
12
  updates?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IFileChoose } from '../FileChoose/FileChoose';
3
3
  import { IElement, IVersion } from '../types';
4
- export declare type IDropZone = IFileChoose & {
4
+ export type IDropZone = IFileChoose & {
5
5
  version?: IVersion;
6
6
  start?: IElement;
7
7
  dropText?: any;
@@ -1,16 +1,16 @@
1
1
  import React from 'react';
2
2
  import { IMenu } from '../Menu/Menu';
3
- export declare type IEmojiCategory = {
3
+ export type IEmojiCategory = {
4
4
  name: string;
5
5
  groups: string[];
6
6
  icon: any;
7
7
  };
8
- export declare type IEmoji = {
8
+ export type IEmoji = {
9
9
  alias: string | string[];
10
10
  unicode: string;
11
11
  category: string;
12
12
  };
13
- export declare type IEmojis = Omit<IMenu, 'onSelect'> & {
13
+ export type IEmojis = Omit<IMenu, 'onSelect'> & {
14
14
  emojis?: IEmoji[];
15
15
  categories?: IEmojiCategory[];
16
16
  selected?: string[];
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ITransition } from '..';
3
3
  import { IPropsAny } from '../types';
4
- export declare type IExpand = Omit<ITransition, 'className'> & {
4
+ export type IExpand = Omit<ITransition, 'className'> & {
5
5
  value?: number;
6
6
  expandSize?: number;
7
7
  orientation?: 'veritcal' | 'horizontal';
package/Fab/Fab.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IButton } from '../Button/Button';
3
- export declare type IFab = IButton & {};
3
+ export type IFab = IButton & {};
4
4
  declare const Fab: React.FC<IFab>;
5
5
  export default Fab;
package/Fade/Fade.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ITransition } from '..';
3
- export declare type IFade = ITransition & {};
3
+ export type IFade = ITransition & {};
4
4
  declare const Fade: React.FC<IFade>;
5
5
  export default Fade;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IRef, IElementReference, IPropsAny } from '../types';
4
- export declare type TFileChooseValue = File | Array<File>;
5
- export declare type IFileChoose = Omit<ILine, 'onClick' | 'onChange'> & {
4
+ export type TFileChooseValue = File | Array<File>;
5
+ export type IFileChoose = Omit<ILine, 'onClick' | 'onChange'> & {
6
6
  inputRef?: IRef;
7
7
  max?: number;
8
8
  allowedTypes?: Array<string>;
package/Focus/Focus.d.ts CHANGED
@@ -2,6 +2,6 @@ import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
3
  export declare const matches: (value: Element) => any;
4
4
  export declare const queryMatchFocusable = "button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), details:not([disabled]), summary:not(:disabled)";
5
- export declare type IFocus = IBaseElement & {};
5
+ export type IFocus = IBaseElement & {};
6
6
  declare const Focus: React.FC<IFocus>;
7
7
  export default Focus;
package/Form/Form.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IElement } from '../types';
4
- export declare type IForm = Omit<ILine, 'onSubmit'> & {
4
+ export type IForm = Omit<ILine, 'onSubmit'> & {
5
5
  accordion?: boolean;
6
6
  divider?: boolean;
7
7
  name?: string | IElement;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IElement } from '../types';
4
- export declare type IFormRow = ILine & {
4
+ export type IFormRow = ILine & {
5
5
  name?: string | IElement;
6
6
  description?: string | IElement;
7
7
  start?: any;
package/Forms/Forms.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- export declare type IForms = ILine & {
3
+ export type IForms = ILine & {
4
4
  divider?: boolean;
5
5
  };
6
6
  declare const Forms: React.FC<IForms>;
package/Frame/Frame.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- export declare type IFrame = ILine & {
3
+ export type IFrame = ILine & {
4
4
  url?: string;
5
5
  src?: string;
6
6
  value?: any;
package/Grid/Grid.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IValueBreakpoints, IPropsAny } from '../types';
4
- export declare type IGridValues = Partial<Record<IValueBreakpoints, number>>;
5
- export declare type IGrid = ILine & {
4
+ export type IGridValues = Partial<Record<IValueBreakpoints, number>>;
5
+ export type IGrid = ILine & {
6
6
  auto?: boolean;
7
7
  columns?: number | IGridValues;
8
8
  parentGap?: any;
package/Grow/Grow.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ITransition } from '..';
3
- export declare type IGrow = ITransition & {};
3
+ export type IGrow = ITransition & {};
4
4
  declare const Grow: React.FC<IGrow>;
5
5
  export default Grow;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
- export declare type IHTMLCanvasOnChangeValue = {
3
+ export type IHTMLCanvasOnChangeValue = {
4
4
  zoom: number;
5
5
  top: number;
6
6
  left: number;
@@ -13,7 +13,7 @@ export declare type IHTMLCanvasOnChangeValue = {
13
13
  height: number;
14
14
  };
15
15
  };
16
- export declare type IHTMLCanvas = Omit<IBaseElement, 'onWheel' | 'onMouseDown' | 'onTouchStart' | 'onChange'> & {
16
+ export type IHTMLCanvas = Omit<IBaseElement, 'onWheel' | 'onMouseDown' | 'onTouchStart' | 'onChange'> & {
17
17
  minZoom?: number;
18
18
  maxZoom?: number;
19
19
  showGuidelinesDefault?: boolean;
@@ -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 declare type IIFrame = ILine & {
4
+ export type IIFrame = ILine & {
5
5
  id?: string;
6
6
  src?: string;
7
7
  WrapperProps?: IPropsAny;
package/Icon/Icon.d.ts CHANGED
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { TTone } from '@onesy/style-react';
3
3
  import { IBaseElement, ISizeExtendedAny } from '../types';
4
4
  export declare const rtl_icons: string[];
5
- export declare type IIcon = Omit<IBaseElement, 'size'> & {
5
+ export type IIcon = Omit<IBaseElement, 'size'> & {
6
6
  size?: ISizeExtendedAny;
7
7
  tone?: TTone;
8
8
  viewBox?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IButton } from '../Button/Button';
3
- export declare type IIconButton = IButton & {};
3
+ export type IIconButton = IButton & {};
4
4
  declare const IconButton: React.FC<IIconButton>;
5
5
  export default IconButton;
package/Image/Image.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IUseVisible } from '../useVisible/useVisible';
3
3
  import { IBaseElement, IPropsAny } from '../types';
4
- export declare type IImage = IBaseElement & {
4
+ export type IImage = IBaseElement & {
5
5
  src?: string;
6
6
  url?: string;
7
7
  urlSmall?: string;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IPropsAny } from '../types';
3
- export declare type TImageCrop = {
3
+ export type TImageCrop = {
4
4
  x?: number;
5
5
  y?: number;
6
6
  width?: number;
7
7
  height?: number;
8
8
  };
9
- export declare type IImageCrop = IBaseElement & {
9
+ export type IImageCrop = IBaseElement & {
10
10
  image?: string | HTMLCanvasElement;
11
11
  minWidth?: number;
12
12
  minHeight?: number;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { TMethod } from '@onesy/models';
3
3
  import { ILine } from '../Line/Line';
4
4
  import { IElementReference, IElement, IPropsAny } from '../types';
5
- export declare type TImageEditFilter = {
5
+ export type TImageEditFilter = {
6
6
  label?: string;
7
7
  Icon?: IElementReference;
8
8
  value?: string;
@@ -10,7 +10,7 @@ export declare type TImageEditFilter = {
10
10
  renderIconButton: (value: string, selected: boolean, onChangeFilter: TMethod) => IElement;
11
11
  renderSlider: (value: string, filterValuesCopy: any, onFilterSliderChange: TMethod) => IElement;
12
12
  };
13
- export declare type IImageEdit = Omit<ILine, 'onChange'> & {
13
+ export type IImageEdit = Omit<ILine, 'onChange'> & {
14
14
  image?: string | HTMLCanvasElement;
15
15
  name?: string;
16
16
  type?: string;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IElementReference, IMediaObject } from '../types';
4
- export declare type IImageGallery = ILine & {
4
+ export type IImageGallery = ILine & {
5
5
  version?: 'regular' | 'modal';
6
6
  open?: boolean;
7
7
  size?: 'small' | 'regular' | 'large';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IValueBreakpoints } from '../types';
3
- export declare type IImageList = IBaseElement & {
3
+ export type IImageList = IBaseElement & {
4
4
  version?: 'standard' | 'vowen' | 'masonry';
5
5
  gap?: number | Partial<Record<IValueBreakpoints, number>>;
6
6
  rowGap?: number | Partial<Record<IValueBreakpoints, number>>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IValueBreakpoints } from '../types';
4
- export declare type IImageListItem = ILine & {
4
+ export type IImageListItem = ILine & {
5
5
  rows?: number | Partial<Record<IValueBreakpoints, number>>;
6
6
  columns?: number | Partial<Record<IValueBreakpoints, number>>;
7
7
  version?: 'standard' | 'vowen' | 'masonry';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IListItem } from '../ListItem/ListItem';
3
- export declare type IImageListItemBox = IListItem & {
3
+ export type IImageListItemBox = IListItem & {
4
4
  position?: 'top' | 'bottom';
5
5
  backgroundOpacity?: number;
6
6
  };
package/Info/Info.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IMenu } from '../Menu/Menu';
3
- export declare type IInfo = IMenu & {
3
+ export type IInfo = IMenu & {
4
4
  name?: string;
5
5
  title?: string;
6
6
  render?: () => any;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import OnesySubscription from '@onesy/subscription/OnesySubscription';
3
3
  import { IBaseElement } from '../types';
4
- export declare type TMethodsVersion = 'add' | 'pulse' | 'remove';
5
- export declare type IInteraction = IBaseElement & {
4
+ export type TMethodsVersion = 'add' | 'pulse' | 'remove';
5
+ export type IInteraction = IBaseElement & {
6
6
  wave?: boolean;
7
7
  background?: boolean;
8
8
  border?: boolean;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { TTransitionsDurationProperties } from '@onesy/style-react';
3
3
  import { IBaseElement, IRef } from '../types';
4
- export declare type TKeyframesStatus = 'appended' | 'add' | 'adding' | 'added' | 'removed';
5
- export declare type IKeyframe = {
4
+ export type TKeyframesStatus = 'appended' | 'add' | 'adding' | 'added' | 'removed';
5
+ export type IKeyframe = {
6
6
  name: string;
7
7
  timeout: number;
8
8
  };
9
- export declare type IKeyframes = Omit<IBaseElement, 'className'> & {
9
+ export type IKeyframes = Omit<IBaseElement, 'className'> & {
10
10
  ref?: IRef;
11
11
  className?: boolean;
12
12
  prefix?: string;
package/Label/Label.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IColor, IVersion, IElement, IPropsAny } from '../types';
4
- export declare type ILabel = Omit<ILine, 'onChange'> & {
4
+ export type ILabel = Omit<ILine, 'onChange'> & {
5
5
  colorUnchecked?: IColor;
6
6
  version?: IVersion;
7
7
  position?: 'start' | 'top' | 'bottom' | 'end';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IColor, IVersion, IElement, IPropsAny } from '../types';
4
- export declare type ILabels = Omit<ILine, 'onChange'> & {
4
+ export type ILabels = Omit<ILine, 'onChange'> & {
5
5
  colorUnchecked?: IColor;
6
6
  version?: IVersion;
7
7
  name?: IElement;
package/Line/Line.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IPropsAny, IValueBreakpoints } from '../types';
3
- export declare type TLineAlign = 'inherit' | 'initial' | 'flex-start' | 'center' | 'flex-end' | 'baseline' | 'stretch' | 'unset';
4
- export declare type TLineJustify = 'inherit' | 'initial' | 'flex-start' | 'center' | 'flex-end' | 'space-around' | 'space-between' | 'space-evenly' | 'unset';
5
- export declare type TLineDirection = 'inherit' | 'row' | 'row-reverse' | 'column' | 'column-reverse';
6
- export declare type TLineWrap = 'inherit' | 'wrap' | 'nowrap' | 'wrap-reverse';
7
- export declare type TLineDisplay = 'inherit' | 'flex' | 'inline-flex';
8
- export declare type ILine = IBaseElement & {
3
+ export type TLineAlign = 'inherit' | 'initial' | 'flex-start' | 'center' | 'flex-end' | 'baseline' | 'stretch' | 'unset';
4
+ export type TLineJustify = 'inherit' | 'initial' | 'flex-start' | 'center' | 'flex-end' | 'space-around' | 'space-between' | 'space-evenly' | 'unset';
5
+ export type TLineDirection = 'inherit' | 'row' | 'row-reverse' | 'column' | 'column-reverse';
6
+ export type TLineWrap = 'inherit' | 'wrap' | 'nowrap' | 'wrap-reverse';
7
+ export type TLineDisplay = 'inherit' | 'flex' | 'inline-flex';
8
+ export type ILine = IBaseElement & {
9
9
  display?: TLineDisplay | Partial<Record<IValueBreakpoints, TLineDisplay>>;
10
10
  direction?: TLineDirection | Partial<Record<IValueBreakpoints, TLineDirection>>;
11
11
  align?: TLineAlign | Partial<Record<IValueBreakpoints, TLineAlign>>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IChart } from '../Chart/Chart';
3
- export declare type ILineChart = IChart & {
3
+ export type ILineChart = IChart & {
4
4
  smooth?: boolean;
5
5
  smoothRatio?: number;
6
6
  };
@@ -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 declare type ILineChartItem = IChart & {
4
+ export type ILineChartItem = IChart & {
5
5
  name?: string;
6
6
  refs?: {
7
7
  wrapper?: HTMLElement;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IStyle, IElement, IPropsAny } from '../types';
3
- export declare type ILinearMeter = IBaseElement & {
3
+ export type ILinearMeter = IBaseElement & {
4
4
  parts?: number;
5
5
  lineCap?: 'inherit' | 'round' | 'square' | 'butt';
6
6
  orientation?: 'vertical' | 'horizontal';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
- export declare type ILinearProress = IBaseElement & {
3
+ export type ILinearProress = IBaseElement & {
4
4
  value?: number | {
5
5
  progress?: number;
6
6
  buffer?: number;
package/Link/Link.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IType } from '../Type/Type';
3
- export declare type ILink = IType & {
3
+ export type ILink = IType & {
4
4
  underline?: true | 'hover';
5
5
  href?: string;
6
6
  target?: string;
package/Links/Links.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IMediaObject } from '../types';
3
- export declare type ILinksItem = {
3
+ export type ILinksItem = {
4
4
  version?: 'primary' | 'secondary' | 'default';
5
5
  name?: any;
6
6
  url?: string;
@@ -8,7 +8,7 @@ export declare type ILinksItem = {
8
8
  share?: boolean;
9
9
  props?: any;
10
10
  };
11
- export declare type ILinks = IBaseElement & {
11
+ export type ILinks = IBaseElement & {
12
12
  name?: any;
13
13
  short_description?: any;
14
14
  links?: ILinksItem[];
package/List/List.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { IElement } from '../types';
4
- export declare type IList = ISurface & {
4
+ export type IList = ISurface & {
5
5
  gap?: any;
6
6
  menu?: IElement;
7
7
  menuOpen?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { IColor, IElement, IElementReference, IPropsAny } from '../types';
4
- export declare type IListItem = ISurface & {
4
+ export type IListItem = ISurface & {
5
5
  colorSelected?: IColor;
6
6
  inset?: boolean;
7
7
  primary?: IElement;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IListItem } from '../ListItem/ListItem';
3
- export declare type IListSubheader = IListItem & {};
3
+ export type IListSubheader = IListItem & {};
4
4
  declare const ListSubheader: React.FC<IListSubheader>;
5
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 declare type IMainProgressStartArgument = {
4
+ export type IMainProgressStartArgument = {
5
5
  tonal?: boolean;
6
6
  color?: string;
7
7
  };
8
- export declare type IMainProgressValue = {
8
+ export type IMainProgressValue = {
9
9
  start: (value?: IMainProgressStartArgument) => void;
10
10
  increment: () => void;
11
11
  update: (value: number) => void;
12
12
  done: () => void;
13
13
  };
14
- export declare type IMainProgress = ILinearProress & {
14
+ export type IMainProgress = ILinearProress & {
15
15
  min?: number;
16
16
  max?: number;
17
17
  firstIncrement?: boolean;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
- export declare type IMarkdown = IBaseElement & {
3
+ export 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>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IValueBreakpoints } from '../types';
4
- export declare type IMasonry = Omit<ILine, 'gap'> & {
4
+ export 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;
@@ -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 declare type IMediasItem = {
4
+ export type IMediasItem = {
5
5
  value: IMediaObject;
6
6
  props?: any;
7
7
  };
8
- export declare type IMediasMediaVersion = 'embed' | 'image' | 'audio' | 'video' | 'other';
9
- export declare type IMedias = ILine & {
8
+ export type IMediasMediaVersion = 'embed' | 'image' | 'audio' | 'video' | 'other';
9
+ export type IMedias = ILine & {
10
10
  size?: 'small' | 'regular' | 'large';
11
11
  values?: IMediasItem | IMediasItem[];
12
12
  imageGallery?: boolean;
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 declare type IMenu = Omit<ITooltip, 'name' | 'label'> & {
10
+ export 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;