@onesy/ui-react 1.0.131 → 1.0.133

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 (303) 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/AutoComplete/AutoComplete.js +2 -2
  10. package/AutoCompleteCountry/AutoCompleteCountry.d.ts +1 -1
  11. package/AutoCompleteCurrency/AutoCompleteCurrency.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/Buttons/Buttons.js +8 -53
  26. package/Calendar/Calendar.d.ts +3 -3
  27. package/Calendar/Calendar.js +6 -6
  28. package/CalendarAvailability/CalendarAvailability.d.ts +2 -2
  29. package/CalendarAvailability/CalendarAvailability.js +8 -8
  30. package/CalendarMenu/CalendarMenu.d.ts +1 -1
  31. package/CalendarMenu/CalendarMenu.js +5 -5
  32. package/CalendarMonth/CalendarMonth.d.ts +5 -5
  33. package/CalendarViews/CalendarViews.d.ts +2 -2
  34. package/CalendarWeek/CalendarWeek.d.ts +1 -1
  35. package/Card/Card.d.ts +1 -1
  36. package/CardButton/CardButton.d.ts +1 -1
  37. package/CardFooter/CardFooter.d.ts +1 -1
  38. package/CardHeader/CardHeader.d.ts +1 -1
  39. package/CardImage/CardImage.d.ts +1 -1
  40. package/CardMain/CardMain.d.ts +1 -1
  41. package/Carousel/Carousel.d.ts +4 -4
  42. package/Carousel/Carousel.js +8 -8
  43. package/Chart/Chart.d.ts +4 -4
  44. package/Checkbox/Checkbox.d.ts +1 -1
  45. package/Chip/Chip.d.ts +1 -1
  46. package/Chips/Chips.d.ts +1 -1
  47. package/ClickListener/ClickListener.d.ts +1 -1
  48. package/Clock/Clock.d.ts +5 -5
  49. package/ColorTextField/ColorTextField.d.ts +1 -1
  50. package/ColumnChart/ColumnChart.d.ts +1 -1
  51. package/ColumnChartItem/ColumnChartItem.d.ts +1 -1
  52. package/Confirm/Confirm.d.ts +4 -4
  53. package/Container/Container.d.ts +1 -1
  54. package/CookieBanner/CookieBanner.d.ts +1 -1
  55. package/Countdown/Countdown.d.ts +1 -1
  56. package/DatePicker/DatePicker.d.ts +1 -1
  57. package/DatePicker/DatePicker.js +6 -6
  58. package/DateRangePicker/DateRangePicker.d.ts +1 -1
  59. package/DateTimePicker/DateTimePicker.d.ts +2 -2
  60. package/DateTimePicker/DateTimePicker.js +6 -6
  61. package/DateTimeRangePicker/DateTimeRangePicker.d.ts +1 -1
  62. package/Divider/Divider.d.ts +1 -1
  63. package/DonutChart/DonutChart.d.ts +1 -1
  64. package/DragAndDropList/DragAndDropList.d.ts +1 -1
  65. package/Drawing/Drawing.d.ts +2 -2
  66. package/Drawing/Drawing.js +12 -12
  67. package/DropZone/DropZone.d.ts +1 -1
  68. package/Emojis/Emojis.d.ts +3 -3
  69. package/Emojis/Emojis.js +2 -2
  70. package/Expand/Expand.d.ts +1 -1
  71. package/Fab/Fab.d.ts +1 -1
  72. package/Fade/Fade.d.ts +1 -1
  73. package/FileChoose/FileChoose.d.ts +2 -2
  74. package/Focus/Focus.d.ts +1 -1
  75. package/Form/Form.d.ts +1 -1
  76. package/FormRow/FormRow.d.ts +1 -1
  77. package/Forms/Forms.d.ts +1 -1
  78. package/Frame/Frame.d.ts +1 -1
  79. package/Grid/Grid.d.ts +2 -2
  80. package/Grow/Grow.d.ts +1 -1
  81. package/HTMLCanvas/HTMLCanvas.d.ts +2 -2
  82. package/HTMLCanvas/index.js +1 -2
  83. package/IFrame/IFrame.d.ts +1 -1
  84. package/Icon/Icon.d.ts +1 -1
  85. package/Icon/index.js +1 -2
  86. package/IconButton/IconButton.d.ts +1 -1
  87. package/Image/Image.d.ts +1 -1
  88. package/ImageCrop/ImageCrop.d.ts +2 -2
  89. package/ImageCrop/ImageCrop.js +17 -17
  90. package/ImageEdit/ImageEdit.d.ts +2 -2
  91. package/ImageEdit/ImageEdit.js +4 -4
  92. package/ImageGallery/ImageGallery.d.ts +1 -1
  93. package/ImageList/ImageList.d.ts +1 -1
  94. package/ImageListItem/ImageListItem.d.ts +1 -1
  95. package/ImageListItemBox/ImageListItemBox.d.ts +1 -1
  96. package/Info/Info.d.ts +1 -1
  97. package/Interaction/Interaction.d.ts +2 -2
  98. package/Keyframes/Keyframes.d.ts +3 -3
  99. package/Keyframes/index.js +1 -2
  100. package/Label/Label.d.ts +1 -1
  101. package/Labels/Labels.d.ts +1 -1
  102. package/Line/Line.d.ts +6 -6
  103. package/LineChart/LineChart.d.ts +1 -1
  104. package/LineChartItem/LineChartItem.d.ts +1 -1
  105. package/LinearMeter/LinearMeter.d.ts +1 -1
  106. package/LinearProgress/LinearProgress.d.ts +1 -1
  107. package/Link/Link.d.ts +1 -1
  108. package/Links/Links.d.ts +2 -2
  109. package/List/List.d.ts +1 -1
  110. package/ListItem/ListItem.d.ts +1 -1
  111. package/ListItem/ListItem.js +3 -3
  112. package/ListSubheader/ListSubheader.d.ts +1 -1
  113. package/MainProgress/MainProgress.d.ts +3 -3
  114. package/Markdown/Markdown.d.ts +1 -1
  115. package/Masonry/Masonry.d.ts +1 -1
  116. package/Medias/Medias.d.ts +3 -3
  117. package/Menu/Menu.d.ts +1 -1
  118. package/Menu/Menu.js +13 -13
  119. package/MenuDesktop/MenuDesktop.d.ts +3 -3
  120. package/MenuItem/MenuItem.d.ts +1 -1
  121. package/Meta/Meta.d.ts +1 -1
  122. package/Modal/Modal.d.ts +1 -1
  123. package/ModalFooter/ModalFooter.d.ts +1 -1
  124. package/ModalHeader/ModalHeader.d.ts +1 -1
  125. package/ModalIcon/ModalIcon.d.ts +1 -1
  126. package/ModalMain/ModalMain.d.ts +1 -1
  127. package/ModalText/ModalText.d.ts +1 -1
  128. package/ModalTitle/ModalTitle.d.ts +1 -1
  129. package/MoreOptions/MoreOptions.d.ts +1 -1
  130. package/Move/Move.d.ts +1 -1
  131. package/NavigationBar/NavigationBar.d.ts +2 -2
  132. package/NavigationDrawer/NavigationDrawer.d.ts +1 -1
  133. package/NavigationItem/NavigationItem.d.ts +2 -2
  134. package/NavigationRail/NavigationRail.d.ts +1 -1
  135. package/NotFound/NotFound.d.ts +1 -1
  136. package/NumericTextField/NumericTextField.d.ts +1 -1
  137. package/Page/Page.d.ts +2 -2
  138. package/PageTransition/PageTransition.d.ts +1 -1
  139. package/Pagination/Pagination.d.ts +1 -1
  140. package/PaginationItem/PaginationItem.d.ts +1 -1
  141. package/Parallax/Parallax.d.ts +2 -2
  142. package/Path/Path.d.ts +1 -1
  143. package/PieChart/PieChart.d.ts +1 -1
  144. package/Placeholder/Placeholder.d.ts +1 -1
  145. package/Portal/Portal.d.ts +1 -1
  146. package/Properties/Properties.d.ts +2 -2
  147. package/Property/Property.d.ts +1 -1
  148. package/Radio/Radio.d.ts +1 -1
  149. package/Radios/Radios.d.ts +1 -1
  150. package/Rating/Rating.d.ts +1 -1
  151. package/Reset/Reset.d.ts +1 -1
  152. package/Reveal/Reveal.d.ts +1 -1
  153. package/RichTextEditor/RichTextEditor.d.ts +1 -1
  154. package/RichTextEditor/RichTextEditor.js +20 -20
  155. package/RoundMeter/RoundMeter.d.ts +1 -1
  156. package/RoundProgress/RoundProgress.d.ts +1 -1
  157. package/ScatterChart/ScatterChart.d.ts +1 -1
  158. package/ScatterChartItem/ScatterChartItem.d.ts +1 -1
  159. package/ScreenCapture/ScreenCapture.d.ts +2 -2
  160. package/Section/Section.d.ts +2 -2
  161. package/SectionAction/SectionAction.d.ts +1 -1
  162. package/SectionBoxes/SectionBoxes.d.ts +2 -2
  163. package/SectionCards/SectionCards.d.ts +2 -2
  164. package/SectionCarousel/SectionCarousel.d.ts +2 -2
  165. package/SectionContact/SectionContact.d.ts +1 -1
  166. package/SectionImageGallery/SectionImageGallery.d.ts +1 -1
  167. package/SectionLogos/SectionLogos.d.ts +1 -1
  168. package/SectionMedia/SectionMedia.d.ts +1 -1
  169. package/SectionReviews/SectionReviews.d.ts +2 -2
  170. package/SectionTextMedia/SectionTextMedia.d.ts +1 -1
  171. package/SectionTimeline/SectionTimeline.d.ts +2 -2
  172. package/SectionWatch/SectionWatch.d.ts +1 -1
  173. package/Select/Select.d.ts +1 -1
  174. package/Select/Select.js +2 -2
  175. package/Share/Share.d.ts +1 -1
  176. package/Slide/Slide.d.ts +1 -1
  177. package/Slider/Slider.d.ts +2 -2
  178. package/SmartTextField/SmartTextField.d.ts +1 -1
  179. package/SmartTextField/SmartTextField.js +16 -16
  180. package/Snackbar/Snackbar.d.ts +1 -1
  181. package/Snackbars/Context.d.ts +1 -1
  182. package/Snackbars/Snackbars.d.ts +2 -2
  183. package/Space/Space.d.ts +1 -1
  184. package/Space/Space.js +26 -26
  185. package/Space/index.js +1 -2
  186. package/SpeechToText/SpeechToText.d.ts +1 -1
  187. package/SpeedDial/SpeedDial.d.ts +1 -1
  188. package/SpeedDialItem/SpeedDialItem.d.ts +1 -1
  189. package/SpyScroll/SpyScroll.d.ts +1 -1
  190. package/Step/Step.d.ts +1 -1
  191. package/Stepper/Stepper.d.ts +1 -1
  192. package/Surface/Surface.d.ts +1 -1
  193. package/Switch/Switch.d.ts +1 -1
  194. package/Tab/Tab.d.ts +1 -1
  195. package/Table/Table.d.ts +1 -1
  196. package/TableBody/TableBody.d.ts +1 -1
  197. package/TableCell/TableCell.d.ts +2 -2
  198. package/TableCell/TableCell.js +23 -4
  199. package/TableFooter/TableFooter.d.ts +1 -1
  200. package/TableHead/TableHead.d.ts +1 -1
  201. package/TableHeader/TableHeader.d.ts +1 -1
  202. package/TablePagination/TablePagination.d.ts +1 -1
  203. package/TableRow/TableRow.d.ts +1 -1
  204. package/Tabs/Tabs.d.ts +1 -1
  205. package/Text/Text.d.ts +1 -1
  206. package/TextField/TextField.d.ts +1 -1
  207. package/TextToSpeech/TextToSpeech.d.ts +1 -1
  208. package/TimePicker/TimePicker.d.ts +3 -3
  209. package/TimePicker/TimePicker.js +12 -12
  210. package/TimeRangePicker/TimeRangePicker.d.ts +1 -1
  211. package/Timeline/Timeline.d.ts +1 -1
  212. package/TimelineItem/TimelineItem.d.ts +1 -1
  213. package/Timer/Timer.d.ts +1 -1
  214. package/ToggleButton/ToggleButton.d.ts +1 -1
  215. package/ToggleButtons/ToggleButtons.d.ts +1 -1
  216. package/Tooltip/Tooltip.d.ts +1 -1
  217. package/TopAppBar/TopAppBar.d.ts +1 -1
  218. package/Transition/Transition.d.ts +3 -3
  219. package/Transition/index.js +1 -2
  220. package/Transitions/Transitions.d.ts +2 -2
  221. package/Transitions/Transitions.js +2 -2
  222. package/Tree/Tree.d.ts +1 -1
  223. package/Type/Type.d.ts +1 -1
  224. package/VideoPlayer/VideoPlayer.d.ts +1 -1
  225. package/VideoPlayer/VideoPlayer.js +4 -4
  226. package/ViewSplit/ViewSplit.d.ts +1 -1
  227. package/Watch/Watch.d.ts +1 -1
  228. package/Weather/Weather.d.ts +4 -4
  229. package/Whiteboard/Whiteboard.d.ts +5 -5
  230. package/Widgets/Widgets.d.ts +2 -2
  231. package/WindowSplit/WindowSplit.d.ts +1 -1
  232. package/Zoom/Zoom.d.ts +1 -1
  233. package/esm/Append/Append.js +6 -8
  234. package/esm/AutoComplete/AutoComplete.js +8 -20
  235. package/esm/Breadcrumbs/Breadcrumbs.js +1 -3
  236. package/esm/Buttons/Buttons.js +9 -55
  237. package/esm/Calendar/Calendar.js +74 -80
  238. package/esm/CalendarAvailability/CalendarAvailability.js +1 -2
  239. package/esm/CalendarMenu/CalendarMenu.js +2 -2
  240. package/esm/CalendarMonth/CalendarMonth.js +65 -68
  241. package/esm/CalendarWeek/CalendarWeek.js +3 -7
  242. package/esm/Carousel/Carousel.js +4 -12
  243. package/esm/Chart/Chart.js +19 -25
  244. package/esm/Clock/Clock.js +5 -8
  245. package/esm/Confirm/Confirm.js +1 -2
  246. package/esm/DatePicker/DatePicker.js +8 -13
  247. package/esm/DateTimePicker/DateTimePicker.js +6 -9
  248. package/esm/Drawing/Drawing.js +1 -6
  249. package/esm/Expand/Expand.js +1 -2
  250. package/esm/Fade/Fade.js +1 -2
  251. package/esm/Focus/Focus.js +1 -2
  252. package/esm/Grow/Grow.js +1 -2
  253. package/esm/HTMLCanvas/HTMLCanvas.js +2 -5
  254. package/esm/ImageCrop/ImageCrop.js +2 -5
  255. package/esm/ImageEdit/ImageEdit.js +5 -12
  256. package/esm/ImageGallery/ImageGallery.js +1 -2
  257. package/esm/Interaction/Interaction.js +1 -2
  258. package/esm/Keyframes/Keyframes.js +1 -2
  259. package/esm/LinearMeter/LinearMeter.js +77 -80
  260. package/esm/Markdown/Markdown.js +41 -144
  261. package/esm/MenuDesktop/MenuDesktop.js +5 -6
  262. package/esm/Rating/Rating.js +2 -4
  263. package/esm/RichTextEditor/RichTextEditor.js +36 -50
  264. package/esm/RoundMeter/RoundMeter.js +70 -73
  265. package/esm/ScreenCapture/ScreenCapture.js +2 -5
  266. package/esm/Select/Select.js +5 -9
  267. package/esm/Share/Share.js +4 -5
  268. package/esm/Slide/Slide.js +2 -4
  269. package/esm/Slider/Slider.js +3 -6
  270. package/esm/SmartTextField/SmartTextField.js +2 -4
  271. package/esm/Snackbar/Snackbar.js +1 -2
  272. package/esm/Snackbars/Snackbars.js +3 -3
  273. package/esm/Space/Space.js +3 -6
  274. package/esm/Switch/Switch.js +1 -2
  275. package/esm/TableCell/TableCell.js +23 -4
  276. package/esm/Tabs/Tabs.js +1 -2
  277. package/esm/TimePicker/TimePicker.js +27 -38
  278. package/esm/Timer/Timer.js +3 -4
  279. package/esm/Tooltip/Tooltip.js +1 -2
  280. package/esm/ViewSplit/ViewSplit.js +1 -2
  281. package/esm/Watch/Watch.js +4 -5
  282. package/esm/Weather/Weather.js +14 -17
  283. package/esm/Whiteboard/Whiteboard.js +1 -4
  284. package/esm/WindowSplit/WindowSplit.js +1 -2
  285. package/esm/Zoom/Zoom.js +1 -2
  286. package/esm/index.js +1 -1
  287. package/esm/useForm/useForm.js +1 -4
  288. package/esm/useLocation/useLocation.js +1 -2
  289. package/esm/useSwipe/useSwipe.js +1 -2
  290. package/esm/utils.js +10 -13
  291. package/index.js +2 -3
  292. package/package.json +3 -3
  293. package/types.d.ts +27 -27
  294. package/useForm/useForm.d.ts +2 -2
  295. package/useForm/validate.d.ts +12 -12
  296. package/useForm/validate.js +20 -20
  297. package/useLocation/useLocation.d.ts +1 -1
  298. package/useMediaQuery/useMediaQuery.d.ts +1 -1
  299. package/useScroll/useScroll.d.ts +2 -2
  300. package/useSwipe/useSwipe.d.ts +2 -2
  301. package/useVisible/useVisible.d.ts +2 -2
  302. package/utils.d.ts +1 -1
  303. package/utils.js +7 -2
@@ -3,16 +3,16 @@ import { TMethod } from '@onesy/utils';
3
3
  import OnesySubscription from '@onesy/subscription';
4
4
  import { ISurface } from '../Surface/Surface';
5
5
  import { IElement, IValueBreakpoints, IElementReference, IPropsAny } from '../types';
6
- export declare type ICarouselValue = {
6
+ export type ICarouselValue = {
7
7
  index?: number;
8
8
  x?: number;
9
9
  y?: number;
10
10
  };
11
- export declare type TCarouselItem = string | null | IElement | {
11
+ export type TCarouselItem = string | null | IElement | {
12
12
  element: IElement;
13
13
  };
14
- export declare type TCarouseOnUpdate = (to: string | number, values: TCarouselItem[]) => any;
15
- export declare type ICarousel = Omit<ISurface, 'version' | 'onChange'> & {
14
+ export type TCarouseOnUpdate = (to: string | number, values: TCarouselItem[]) => any;
15
+ export type ICarousel = Omit<ISurface, 'version' | 'onChange'> & {
16
16
  version?: 'regular' | 'transition' | Partial<Record<IValueBreakpoints, 'regular' | 'transition'>>;
17
17
  valueDefault?: ICarouselValue;
18
18
  value?: ICarouselValue;
@@ -675,18 +675,18 @@ const Carousel = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
675
675
  });
676
676
  }
677
677
  if (refs.orientation.current === 'vertical' && incY !== 0) {
678
- var _refs$value$current10, _refs$value$current11, _refs$value$current12;
678
+ var _refs$value$current0, _refs$value$current1, _refs$value$current10;
679
679
  const min = 0;
680
680
  let max = (height_ + gap * theme.space.unit) * (refs.itemsLength.current - 1);
681
681
  if (refs.itemSize.current === 'auto') {
682
682
  max = scrollHeight_ - scrollHeight_ / refs.itemsLength.current + gap * theme.space.unit * (refs.itemsLength.current - 1);
683
683
  }
684
- let y = (((_refs$value$current10 = refs.value.current) === null || _refs$value$current10 === void 0 ? void 0 : _refs$value$current10.y) || 0) - incY;
684
+ let y = (((_refs$value$current0 = refs.value.current) === null || _refs$value$current0 === void 0 ? void 0 : _refs$value$current0.y) || 0) - incY;
685
685
  if (refs.free.current || !refs.moveBeyondEdge.current) y = (0, _utils.clamp)(y, min, max);
686
686
 
687
687
  // Move beyond min, max
688
- if (y < min || y > max) y = (((_refs$value$current11 = refs.value.current) === null || _refs$value$current11 === void 0 ? void 0 : _refs$value$current11.y) || 0) - incY / 1.7;
689
- refs.velocity.current = y - (((_refs$value$current12 = refs.value.current) === null || _refs$value$current12 === void 0 ? void 0 : _refs$value$current12.y) || 0);
688
+ if (y < min || y > max) y = (((_refs$value$current1 = refs.value.current) === null || _refs$value$current1 === void 0 ? void 0 : _refs$value$current1.y) || 0) - incY / 1.7;
689
+ refs.velocity.current = y - (((_refs$value$current10 = refs.value.current) === null || _refs$value$current10 === void 0 ? void 0 : _refs$value$current10.y) || 0);
690
690
  onUpdatePosition({
691
691
  index: Math.floor(y / (max / (refs.itemsLength.current - 1))),
692
692
  y
@@ -723,8 +723,8 @@ const Carousel = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
723
723
  }
724
724
  };
725
725
  const method = () => {
726
- var _refs$value$current13;
727
- return onUpdate((_refs$value$current13 = refs.value.current) === null || _refs$value$current13 === void 0 ? void 0 : _refs$value$current13.index);
726
+ var _refs$value$current11;
727
+ return onUpdate((_refs$value$current11 = refs.value.current) === null || _refs$value$current11 === void 0 ? void 0 : _refs$value$current11.index);
728
728
  };
729
729
  const observer = new ResizeObserver(method);
730
730
  method();
@@ -753,8 +753,8 @@ const Carousel = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
753
753
  }, [value_]);
754
754
  _react.default.useEffect(() => {
755
755
  if (init) {
756
- var _refs$value$current14;
757
- if (index_ >= 0 && index_ <= refs.itemsLength.current && index_ !== ((_refs$value$current14 = refs.value.current) === null || _refs$value$current14 === void 0 ? void 0 : _refs$value$current14.index)) onUpdate(index_);
756
+ var _refs$value$current12;
757
+ if (index_ >= 0 && index_ <= refs.itemsLength.current && index_ !== ((_refs$value$current12 = refs.value.current) === null || _refs$value$current12 === void 0 ? void 0 : _refs$value$current12.index)) onUpdate(index_);
758
758
  }
759
759
  }, [index_]);
760
760
  _react.default.useEffect(() => {
package/Chart/Chart.d.ts CHANGED
@@ -2,15 +2,15 @@ import React from 'react';
2
2
  import { TColorValues } from '@onesy/style-react';
3
3
  import { ISurface } from '../Surface/Surface';
4
4
  import { IStyle, IElementAny, IElement, IValueBreakpoints, IPropsAny, IColor } from '../types';
5
- export declare type IChartValueValues = Array<any>;
6
- export declare type IItemValue = {
5
+ export type IChartValueValues = Array<any>;
6
+ export type IItemValue = {
7
7
  value: number;
8
8
  label: number;
9
9
  percentage: number;
10
10
  axis: 'x' | 'y';
11
11
  props?: any;
12
12
  };
13
- export declare type IChartValue = {
13
+ export type IChartValue = {
14
14
  color?: IColor;
15
15
  tone?: TColorValues;
16
16
  name?: string;
@@ -18,7 +18,7 @@ export declare type IChartValue = {
18
18
  percentage?: string | number;
19
19
  values: IChartValueValues | Array<IChartValueValues>;
20
20
  };
21
- export declare type IChart = ISurface & {
21
+ export type IChart = ISurface & {
22
22
  title?: IElementAny;
23
23
  subtitle?: IElementAny;
24
24
  values?: Array<IChartValue>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IIconButton } from '../IconButton/IconButton';
3
3
  import { IRef, IColor } from '../types';
4
- export declare type ICheckbox = Omit<IIconButton, 'onChange'> & {
4
+ export type ICheckbox = Omit<IIconButton, 'onChange'> & {
5
5
  inputRef?: IRef;
6
6
  colorIndeterminate?: IColor;
7
7
  colorUnchecked?: IColor;
package/Chip/Chip.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IButton } from '../Button/Button';
3
- export declare type IChip = IButton & {
3
+ export type IChip = IButton & {
4
4
  input?: boolean;
5
5
  filter?: boolean;
6
6
  noCheckIcon?: boolean;
package/Chips/Chips.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IElement, IPropsAny } from '../types';
4
- export declare type IChips = ILine & {
4
+ export type IChips = ILine & {
5
5
  total?: number;
6
6
  showAllDefault?: boolean;
7
7
  max?: number;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IHTMLElement } from '../types';
3
- export declare type IClickListener = IBaseElement & {
3
+ export type IClickListener = IBaseElement & {
4
4
  mouseEvent?: 'onClick' | 'onMove' | 'onMouseDown' | 'onMouseUp' | 'onMouseEnter' | 'onMouseLeave';
5
5
  touchEvent?: 'onTouchStart' | 'onTouchEnd' | 'onTouchMove';
6
6
  include?: Array<IHTMLElement>;
package/Clock/Clock.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { OnesyDate } from '@onesy/date';
3
3
  import { IRoundMeter } from '../RoundMeter/RoundMeter';
4
- export declare type TClockValue = OnesyDate;
5
- export declare type TClockFormat = '12' | '24';
6
- export declare type TClockUnit = 'hour' | 'minute' | 'second';
7
- export declare type TClockDayTime = 'am' | 'pm';
8
- export declare type IClock = Omit<IRoundMeter, 'onChange'> & {
4
+ export type TClockValue = OnesyDate;
5
+ export type TClockFormat = '12' | '24';
6
+ export type TClockUnit = 'hour' | 'minute' | 'second';
7
+ export type TClockDayTime = 'am' | 'pm';
8
+ export type IClock = Omit<IRoundMeter, 'onChange'> & {
9
9
  value?: TClockValue;
10
10
  valueDefault?: TClockValue;
11
11
  onChange?: (value: TClockValue) => any;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ITextField } from '../TextField/TextField';
3
- export declare type IColorTextField = ITextField & {
3
+ export type IColorTextField = ITextField & {
4
4
  name?: any;
5
5
  valueColor?: string;
6
6
  valueOpacity?: string | number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IChart } from '../Chart/Chart';
3
- export declare type IColumnChart = IChart & {};
3
+ export type IColumnChart = IChart & {};
4
4
  declare const ColumnChart: React.FC<IColumnChart>;
5
5
  export default ColumnChart;
@@ -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 IColumnChartItem = IChart & {
4
+ export type IColumnChartItem = IChart & {
5
5
  name?: string;
6
6
  refs?: {
7
7
  wrapper?: HTMLElement;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TMethod } from '@onesy/utils';
3
3
  import { IBaseElement } from '../types';
4
- export declare type IConfirmOpen = {
4
+ export type IConfirmOpen = {
5
5
  modal?: (promise: IConfirmPromiseArgument) => React.ReactElement;
6
6
  name?: string | boolean | React.ReactElement;
7
7
  description?: string | React.ReactElement;
@@ -18,15 +18,15 @@ export declare type IConfirmOpen = {
18
18
  ButtonPositiveProps?: any;
19
19
  [p: string]: any;
20
20
  };
21
- export declare type IConfirmPromiseArgument = {
21
+ export type IConfirmPromiseArgument = {
22
22
  resolve: TMethod;
23
23
  reject: TMethod;
24
24
  };
25
- export declare type IConfirmValue = {
25
+ export type IConfirmValue = {
26
26
  open: (value?: IConfirmOpen) => Promise<any>;
27
27
  close: (confirmed?: boolean) => void;
28
28
  };
29
- export declare type IConfirm = IBaseElement & {
29
+ export type IConfirm = IBaseElement & {
30
30
  throwError?: boolean;
31
31
  onOpen?: () => any;
32
32
  onClose?: () => any;
@@ -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;
@@ -166,16 +166,16 @@ const DatePicker = /*#__PURE__*/_react.default.forwardRef((props__, ref) => {
166
166
  return (theme === null || theme === void 0 || (_theme$elements9 = theme.elements) === null || _theme$elements9 === void 0 ? void 0 : _theme$elements9.Calendar) || _Calendar.default;
167
167
  }, [theme]);
168
168
  const Divider = _react.default.useMemo(() => {
169
- var _theme$elements10;
170
- return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.Divider) || _Divider.default;
169
+ var _theme$elements0;
170
+ return (theme === null || theme === void 0 || (_theme$elements0 = theme.elements) === null || _theme$elements0 === void 0 ? void 0 : _theme$elements0.Divider) || _Divider.default;
171
171
  }, [theme]);
172
172
  const Slide = _react.default.useMemo(() => {
173
- var _theme$elements11;
174
- return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.Slide) || _Slide.default;
173
+ var _theme$elements1;
174
+ return (theme === null || theme === void 0 || (_theme$elements1 = theme.elements) === null || _theme$elements1 === void 0 ? void 0 : _theme$elements1.Slide) || _Slide.default;
175
175
  }, [theme]);
176
176
  const ClickListener = _react.default.useMemo(() => {
177
- var _theme$elements12;
178
- return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.ClickListener) || _ClickListener.default;
177
+ var _theme$elements10;
178
+ return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.ClickListener) || _ClickListener.default;
179
179
  }, [theme]);
180
180
  const {
181
181
  tonal = true,
@@ -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;
@@ -100,16 +100,16 @@ const DateTimePicker = /*#__PURE__*/_react.default.forwardRef((props__, ref) =>
100
100
  return (theme === null || theme === void 0 || (_theme$elements9 = theme.elements) === null || _theme$elements9 === void 0 ? void 0 : _theme$elements9.Button) || _Button.default;
101
101
  }, [theme]);
102
102
  const DatePicker = _react.default.useMemo(() => {
103
- var _theme$elements10;
104
- return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.DatePicker) || _DatePicker.default;
103
+ var _theme$elements0;
104
+ return (theme === null || theme === void 0 || (_theme$elements0 = theme.elements) === null || _theme$elements0 === void 0 ? void 0 : _theme$elements0.DatePicker) || _DatePicker.default;
105
105
  }, [theme]);
106
106
  const TimePicker = _react.default.useMemo(() => {
107
- var _theme$elements11;
108
- return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.TimePicker) || _TimePicker.default;
107
+ var _theme$elements1;
108
+ return (theme === null || theme === void 0 || (_theme$elements1 = theme.elements) === null || _theme$elements1 === void 0 ? void 0 : _theme$elements1.TimePicker) || _TimePicker.default;
109
109
  }, [theme]);
110
110
  const ClickListener = _react.default.useMemo(() => {
111
- var _theme$elements12;
112
- return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.ClickListener) || _ClickListener.default;
111
+ var _theme$elements10;
112
+ return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.ClickListener) || _ClickListener.default;
113
113
  }, [theme]);
114
114
  const {
115
115
  tonal = true,
@@ -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;
@@ -166,28 +166,28 @@ const Drawing = /*#__PURE__*/_react.default.forwardRef((props__, ref) => {
166
166
  return (theme === null || theme === void 0 || (_theme$elements9 = theme.elements) === null || _theme$elements9 === void 0 ? void 0 : _theme$elements9.ToggleButton) || _ToggleButton.default;
167
167
  }, [theme]);
168
168
  const ToggleButtons = _react.default.useMemo(() => {
169
- var _theme$elements10;
170
- return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.ToggleButtons) || _ToggleButtons.default;
169
+ var _theme$elements0;
170
+ return (theme === null || theme === void 0 || (_theme$elements0 = theme.elements) === null || _theme$elements0 === void 0 ? void 0 : _theme$elements0.ToggleButtons) || _ToggleButtons.default;
171
171
  }, [theme]);
172
172
  const Divider = _react.default.useMemo(() => {
173
- var _theme$elements11;
174
- return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.Divider) || _Divider.default;
173
+ var _theme$elements1;
174
+ return (theme === null || theme === void 0 || (_theme$elements1 = theme.elements) === null || _theme$elements1 === void 0 ? void 0 : _theme$elements1.Divider) || _Divider.default;
175
175
  }, [theme]);
176
176
  const ColorTextField = _react.default.useMemo(() => {
177
- var _theme$elements12;
178
- return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.ColorTextField) || _ColorTextField.default;
177
+ var _theme$elements10;
178
+ return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.ColorTextField) || _ColorTextField.default;
179
179
  }, [theme]);
180
180
  const Append = _react.default.useMemo(() => {
181
- var _theme$elements13;
182
- return (theme === null || theme === void 0 || (_theme$elements13 = theme.elements) === null || _theme$elements13 === void 0 ? void 0 : _theme$elements13.Append) || _Append.default;
181
+ var _theme$elements11;
182
+ return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.Append) || _Append.default;
183
183
  }, [theme]);
184
184
  const Fade = _react.default.useMemo(() => {
185
- var _theme$elements14;
186
- return (theme === null || theme === void 0 || (_theme$elements14 = theme.elements) === null || _theme$elements14 === void 0 ? void 0 : _theme$elements14.Fade) || _Fade.default;
185
+ var _theme$elements12;
186
+ return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.Fade) || _Fade.default;
187
187
  }, [theme]);
188
188
  const ClickListener = _react.default.useMemo(() => {
189
- var _theme$elements15;
190
- return (theme === null || theme === void 0 || (_theme$elements15 = theme.elements) === null || _theme$elements15 === void 0 ? void 0 : _theme$elements15.ClickListener) || _ClickListener.default;
189
+ var _theme$elements13;
190
+ return (theme === null || theme === void 0 || (_theme$elements13 = theme.elements) === null || _theme$elements13 === void 0 ? void 0 : _theme$elements13.ClickListener) || _ClickListener.default;
191
191
  }, [theme]);
192
192
  const {
193
193
  tonal = true,
@@ -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[];
package/Emojis/Emojis.js CHANGED
@@ -193,8 +193,8 @@ const Emojis = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
193
193
  return (theme === null || theme === void 0 || (_theme$elements9 = theme.elements) === null || _theme$elements9 === void 0 ? void 0 : _theme$elements9.Type) || _Type.default;
194
194
  }, [theme]);
195
195
  const Surface = _react.default.useMemo(() => {
196
- var _theme$elements10;
197
- return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.Surface) || _Surface.default;
196
+ var _theme$elements0;
197
+ return (theme === null || theme === void 0 || (_theme$elements0 = theme.elements) === null || _theme$elements0 === void 0 ? void 0 : _theme$elements0.Surface) || _Surface.default;
198
198
  }, [theme]);
199
199
  const EMOJI_CATEGORIES = _react.default.useMemo(() => {
200
200
  return [{
@@ -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;
@@ -22,5 +22,4 @@ Object.keys(_HTMLCanvas).forEach(function (key) {
22
22
  }
23
23
  });
24
24
  });
25
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
26
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
25
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
@@ -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;