@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
package/Select/Select.js CHANGED
@@ -499,9 +499,9 @@ const Select = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
499
499
  onMouseUp,
500
500
  onMouseDown,
501
501
  onClick: event => {
502
- var _item$props7, _item$props8, _item$props9, _item$props10, _item$props11;
502
+ var _item$props7, _item$props8, _item$props9, _item$props0, _item$props1;
503
503
  if (multiple && value.includes((_item$props7 = item.props) === null || _item$props7 === void 0 ? void 0 : _item$props7.value)) onUnselect((_item$props8 = item.props) === null || _item$props8 === void 0 ? void 0 : _item$props8.value);else onSelect((_item$props9 = item.props) === null || _item$props9 === void 0 ? void 0 : _item$props9.value);
504
- if ((0, _utils.is)('function', (_item$props10 = item.props) === null || _item$props10 === void 0 ? void 0 : _item$props10.onClick)) (_item$props11 = item.props) === null || _item$props11 === void 0 || _item$props11.onClick(event);
504
+ if ((0, _utils.is)('function', (_item$props0 = item.props) === null || _item$props0 === void 0 ? void 0 : _item$props0.onClick)) (_item$props1 = item.props) === null || _item$props1 === void 0 || _item$props1.onClick(event);
505
505
  if (!multiple) setOpen(false);
506
506
  }
507
507
  });
package/Share/Share.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- export declare type IShare = ILine & {
3
+ export type IShare = ILine & {
4
4
  version?: 'fixed' | 'absolute' | 'static' | 'menu-items';
5
5
  position?: 'start' | 'end' | 'top' | 'bottom';
6
6
  name?: string;
package/Slide/Slide.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ITransition } from '..';
3
- export declare type ISlide = ITransition & {
3
+ export type ISlide = ITransition & {
4
4
  root?: HTMLElement;
5
5
  min?: number;
6
6
  direction?: 'top' | 'left' | 'bottom' | 'right';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IElement, IPropsAny, ISizeAny } from '../types';
3
- export declare type TSliderValue = number | Array<number>;
4
- export declare type ISlider = Omit<IBaseElement, 'onChange'> & {
3
+ export type TSliderValue = number | Array<number>;
4
+ export type ISlider = Omit<IBaseElement, 'onChange'> & {
5
5
  value?: TSliderValue;
6
6
  valueDefault?: TSliderValue;
7
7
  onChange?: (value: TSliderValue) => any;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ITextField } from '../TextField/TextField';
3
3
  import { IPropsAny } from '../types';
4
- export declare type ISmartTextField = ITextField & {
4
+ export type ISmartTextField = ITextField & {
5
5
  placeholder?: any;
6
6
  edit?: boolean;
7
7
  mention?: boolean;
@@ -199,36 +199,36 @@ const SmartTextField = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
199
199
  return (theme === null || theme === void 0 || (_theme$elements9 = theme.elements) === null || _theme$elements9 === void 0 ? void 0 : _theme$elements9.Append) || _Append.default;
200
200
  }, [theme]);
201
201
  const Fade = _react.default.useMemo(() => {
202
- var _theme$elements10;
203
- return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.Fade) || _Fade.default;
202
+ var _theme$elements0;
203
+ return (theme === null || theme === void 0 || (_theme$elements0 = theme.elements) === null || _theme$elements0 === void 0 ? void 0 : _theme$elements0.Fade) || _Fade.default;
204
204
  }, [theme]);
205
205
  const Tooltip = _react.default.useMemo(() => {
206
- var _theme$elements11;
207
- return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.Tooltip) || _Tooltip.default;
206
+ var _theme$elements1;
207
+ return (theme === null || theme === void 0 || (_theme$elements1 = theme.elements) === null || _theme$elements1 === void 0 ? void 0 : _theme$elements1.Tooltip) || _Tooltip.default;
208
208
  }, [theme]);
209
209
  const ToggleButton = _react.default.useMemo(() => {
210
- var _theme$elements12;
211
- return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.ToggleButton) || _ToggleButton.default;
210
+ var _theme$elements10;
211
+ return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.ToggleButton) || _ToggleButton.default;
212
212
  }, [theme]);
213
213
  const ClickListener = _react.default.useMemo(() => {
214
- var _theme$elements13;
215
- return (theme === null || theme === void 0 || (_theme$elements13 = theme.elements) === null || _theme$elements13 === void 0 ? void 0 : _theme$elements13.ClickListener) || _ClickListener.default;
214
+ var _theme$elements11;
215
+ return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.ClickListener) || _ClickListener.default;
216
216
  }, [theme]);
217
217
  const ToggleButtons = _react.default.useMemo(() => {
218
- var _theme$elements14;
219
- return (theme === null || theme === void 0 || (_theme$elements14 = theme.elements) === null || _theme$elements14 === void 0 ? void 0 : _theme$elements14.ToggleButtons) || _ToggleButtons.default;
218
+ var _theme$elements12;
219
+ return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.ToggleButtons) || _ToggleButtons.default;
220
220
  }, [theme]);
221
221
  const Menu = _react.default.useMemo(() => {
222
- var _theme$elements15;
223
- return (theme === null || theme === void 0 || (_theme$elements15 = theme.elements) === null || _theme$elements15 === void 0 ? void 0 : _theme$elements15.Menu) || _Menu.default;
222
+ var _theme$elements13;
223
+ return (theme === null || theme === void 0 || (_theme$elements13 = theme.elements) === null || _theme$elements13 === void 0 ? void 0 : _theme$elements13.Menu) || _Menu.default;
224
224
  }, [theme]);
225
225
  const Divider = _react.default.useMemo(() => {
226
- var _theme$elements16;
227
- return (theme === null || theme === void 0 || (_theme$elements16 = theme.elements) === null || _theme$elements16 === void 0 ? void 0 : _theme$elements16.Divider) || _Divider.default;
226
+ var _theme$elements14;
227
+ return (theme === null || theme === void 0 || (_theme$elements14 = theme.elements) === null || _theme$elements14 === void 0 ? void 0 : _theme$elements14.Divider) || _Divider.default;
228
228
  }, [theme]);
229
229
  const ColorTextField = _react.default.useMemo(() => {
230
- var _theme$elements17;
231
- return (theme === null || theme === void 0 || (_theme$elements17 = theme.elements) === null || _theme$elements17 === void 0 ? void 0 : _theme$elements17.ColorTextField) || _ColorTextField.default;
230
+ var _theme$elements15;
231
+ return (theme === null || theme === void 0 || (_theme$elements15 = theme.elements) === null || _theme$elements15 === void 0 ? void 0 : _theme$elements15.ColorTextField) || _ColorTextField.default;
232
232
  }, [theme]);
233
233
  const {
234
234
  tonal = true,
@@ -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 ISnackbar = ISurface & {
4
+ export type ISnackbar = ISurface & {
5
5
  open?: boolean;
6
6
  primary?: IElement;
7
7
  end?: IElement;
@@ -1,5 +1,5 @@
1
1
  import { ISnackbar } from '../Snackbar/Snackbar';
2
- export declare type ISnackbarsContext = {
2
+ export type ISnackbarsContext = {
3
3
  add: (value: ISnackbar) => void;
4
4
  remove: (id: string) => void;
5
5
  };
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { ISnackbar } from '../Snackbar/Snackbar';
3
3
  import { IBaseElement, IPropsAny } from '../types';
4
- export declare type ISnackbarsValue = {
4
+ export type ISnackbarsValue = {
5
5
  add: (value: ISnackbar) => void;
6
6
  remove: (value: 'first' | 'last' | string) => void;
7
7
  };
8
- export declare type ISnackbars = IBaseElement & {
8
+ export type ISnackbars = IBaseElement & {
9
9
  max?: number;
10
10
  position?: 'top' | 'bottom';
11
11
  alignment?: 'start' | 'left' | 'center' | 'right' | 'end';
package/Space/Space.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement } from '../types';
3
- export declare type ISpace = IBaseElement & {
3
+ export type ISpace = IBaseElement & {
4
4
  unitDefault?: 'm' | 'px';
5
5
  minSize?: number;
6
6
  maxSize?: number;
package/Space/Space.js CHANGED
@@ -356,56 +356,56 @@ const Space = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
356
356
  return (theme === null || theme === void 0 || (_theme$elements9 = theme.elements) === null || _theme$elements9 === void 0 ? void 0 : _theme$elements9.Label) || _Label.default;
357
357
  }, [theme]);
358
358
  const List = _react.default.useMemo(() => {
359
- var _theme$elements10;
360
- return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.List) || _List.default;
359
+ var _theme$elements0;
360
+ return (theme === null || theme === void 0 || (_theme$elements0 = theme.elements) === null || _theme$elements0 === void 0 ? void 0 : _theme$elements0.List) || _List.default;
361
361
  }, [theme]);
362
362
  const ListItem = _react.default.useMemo(() => {
363
- var _theme$elements11;
364
- return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.ListItem) || _ListItem.default;
363
+ var _theme$elements1;
364
+ return (theme === null || theme === void 0 || (_theme$elements1 = theme.elements) === null || _theme$elements1 === void 0 ? void 0 : _theme$elements1.ListItem) || _ListItem.default;
365
365
  }, [theme]);
366
366
  const NavigationDrawer = _react.default.useMemo(() => {
367
- var _theme$elements12;
368
- return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.NavigationDrawer) || _NavigationDrawer.default;
367
+ var _theme$elements10;
368
+ return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.NavigationDrawer) || _NavigationDrawer.default;
369
369
  }, [theme]);
370
370
  const NumericTextField = _react.default.useMemo(() => {
371
- var _theme$elements13;
372
- return (theme === null || theme === void 0 || (_theme$elements13 = theme.elements) === null || _theme$elements13 === void 0 ? void 0 : _theme$elements13.NumericTextField) || _NumericTextField.default;
371
+ var _theme$elements11;
372
+ return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.NumericTextField) || _NumericTextField.default;
373
373
  }, [theme]);
374
374
  const Select = _react.default.useMemo(() => {
375
- var _theme$elements14;
376
- return (theme === null || theme === void 0 || (_theme$elements14 = theme.elements) === null || _theme$elements14 === void 0 ? void 0 : _theme$elements14.Select) || _Select.default;
375
+ var _theme$elements12;
376
+ return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.Select) || _Select.default;
377
377
  }, [theme]);
378
378
  const Slider = _react.default.useMemo(() => {
379
- var _theme$elements15;
380
- return (theme === null || theme === void 0 || (_theme$elements15 = theme.elements) === null || _theme$elements15 === void 0 ? void 0 : _theme$elements15.Slider) || _Slider.default;
379
+ var _theme$elements13;
380
+ return (theme === null || theme === void 0 || (_theme$elements13 = theme.elements) === null || _theme$elements13 === void 0 ? void 0 : _theme$elements13.Slider) || _Slider.default;
381
381
  }, [theme]);
382
382
  const SmartTextField = _react.default.useMemo(() => {
383
- var _theme$elements16;
384
- return (theme === null || theme === void 0 || (_theme$elements16 = theme.elements) === null || _theme$elements16 === void 0 ? void 0 : _theme$elements16.SmartTextField) || _SmartTextField.default;
383
+ var _theme$elements14;
384
+ return (theme === null || theme === void 0 || (_theme$elements14 = theme.elements) === null || _theme$elements14 === void 0 ? void 0 : _theme$elements14.SmartTextField) || _SmartTextField.default;
385
385
  }, [theme]);
386
386
  const Switch = _react.default.useMemo(() => {
387
- var _theme$elements17;
388
- return (theme === null || theme === void 0 || (_theme$elements17 = theme.elements) === null || _theme$elements17 === void 0 ? void 0 : _theme$elements17.Switch) || _Switch.default;
387
+ var _theme$elements15;
388
+ return (theme === null || theme === void 0 || (_theme$elements15 = theme.elements) === null || _theme$elements15 === void 0 ? void 0 : _theme$elements15.Switch) || _Switch.default;
389
389
  }, [theme]);
390
390
  const TextField = _react.default.useMemo(() => {
391
- var _theme$elements18;
392
- return (theme === null || theme === void 0 || (_theme$elements18 = theme.elements) === null || _theme$elements18 === void 0 ? void 0 : _theme$elements18.TextField) || _TextField.default;
391
+ var _theme$elements16;
392
+ return (theme === null || theme === void 0 || (_theme$elements16 = theme.elements) === null || _theme$elements16 === void 0 ? void 0 : _theme$elements16.TextField) || _TextField.default;
393
393
  }, [theme]);
394
394
  const Tooltip = _react.default.useMemo(() => {
395
- var _theme$elements19;
396
- return (theme === null || theme === void 0 || (_theme$elements19 = theme.elements) === null || _theme$elements19 === void 0 ? void 0 : _theme$elements19.Tooltip) || _Tooltip.default;
395
+ var _theme$elements17;
396
+ return (theme === null || theme === void 0 || (_theme$elements17 = theme.elements) === null || _theme$elements17 === void 0 ? void 0 : _theme$elements17.Tooltip) || _Tooltip.default;
397
397
  }, [theme]);
398
398
  const Type = _react.default.useMemo(() => {
399
- var _theme$elements20;
400
- return (theme === null || theme === void 0 || (_theme$elements20 = theme.elements) === null || _theme$elements20 === void 0 ? void 0 : _theme$elements20.Type) || _Type.default;
399
+ var _theme$elements18;
400
+ return (theme === null || theme === void 0 || (_theme$elements18 = theme.elements) === null || _theme$elements18 === void 0 ? void 0 : _theme$elements18.Type) || _Type.default;
401
401
  }, [theme]);
402
402
  const Surface = _react.default.useMemo(() => {
403
- var _theme$elements21;
404
- return (theme === null || theme === void 0 || (_theme$elements21 = theme.elements) === null || _theme$elements21 === void 0 ? void 0 : _theme$elements21.Surface) || _Surface.default;
403
+ var _theme$elements19;
404
+ return (theme === null || theme === void 0 || (_theme$elements19 = theme.elements) === null || _theme$elements19 === void 0 ? void 0 : _theme$elements19.Surface) || _Surface.default;
405
405
  }, [theme]);
406
406
  const HTMLCanvas = _react.default.useMemo(() => {
407
- var _theme$elements22;
408
- return (theme === null || theme === void 0 || (_theme$elements22 = theme.elements) === null || _theme$elements22 === void 0 ? void 0 : _theme$elements22.HTMLCanvas) || _HTMLCanvas.default;
407
+ var _theme$elements20;
408
+ return (theme === null || theme === void 0 || (_theme$elements20 = theme.elements) === null || _theme$elements20 === void 0 ? void 0 : _theme$elements20.HTMLCanvas) || _HTMLCanvas.default;
409
409
  }, [theme]);
410
410
  const {
411
411
  size = 'regular',
package/Space/index.js CHANGED
@@ -22,5 +22,4 @@ Object.keys(_Space).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 { IElementReference, IPropsAny } from '../types';
4
- export declare type ISpeechToText = Omit<ILine, 'onChange'> & {
4
+ export type ISpeechToText = Omit<ILine, 'onChange'> & {
5
5
  SpeechRecognition?: any;
6
6
  continuous?: boolean;
7
7
  grammars?: any;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IVersion, IElement, IElementReference, IPropsAny } from '../types';
4
- export declare type ISpeedDial = Omit<ILine, 'direction'> & {
4
+ export type ISpeedDial = Omit<ILine, 'direction'> & {
5
5
  version?: IVersion;
6
6
  open?: boolean;
7
7
  openDefault?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IIconButton } from '../IconButton/IconButton';
3
3
  import { IElement, IElementReference, IPropsAny } from '../types';
4
- export declare type ISpeedDialItem = IIconButton & {
4
+ export type ISpeedDialItem = IIconButton & {
5
5
  open?: boolean;
6
6
  name?: IElement;
7
7
  label?: IElement;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IStyle } from '../types';
3
- export declare type ISpyScroll = IBaseElement & {
3
+ export type ISpyScroll = IBaseElement & {
4
4
  ids?: Array<string>;
5
5
  offset?: number;
6
6
  offsetStart?: number;
package/Step/Step.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 IStep = ILine & {
4
+ export type IStep = ILine & {
5
5
  version?: IVersion;
6
6
  iconColor?: IColor;
7
7
  iconColorActive?: IColor;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IColor, IVersion, IPropsAny } from '../types';
4
- export declare type IStepper = ILine & {
4
+ export type IStepper = ILine & {
5
5
  version?: IVersion;
6
6
  iconColor?: IColor;
7
7
  iconColorActive?: IColor;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IVersion, IElevation, IPropsAny } from '../types';
3
- export declare type ISurface = IBaseElement & {
3
+ export type ISurface = IBaseElement & {
4
4
  version?: IVersion;
5
5
  elevation?: IElevation;
6
6
  backgroundOpacity?: number;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IRef, IElement } from '../types';
3
- export declare type ISwitch = Omit<IBaseElement, 'onChange'> & {
3
+ export type ISwitch = Omit<IBaseElement, 'onChange'> & {
4
4
  inputRef?: IRef;
5
5
  version?: any;
6
6
  valueDefault?: boolean;
package/Tab/Tab.d.ts CHANGED
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { ITooltip } from '../Tooltip/Tooltip';
4
4
  import { IElement, IPropsAny } from '../types';
5
- export declare type ITab = Omit<ISurface, 'version' | 'onChange'> & {
5
+ export type ITab = Omit<ISurface, 'version' | 'onChange'> & {
6
6
  version?: 'primary' | 'secondary';
7
7
  size?: 'small' | 'regular' | 'large';
8
8
  value?: any;
package/Table/Table.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { IElement, IPropsAny, IElementReference } from '../types';
4
- export declare type ITable = ISurface & {
4
+ export type ITable = ISurface & {
5
5
  header?: IElement;
6
6
  footer?: IElement;
7
7
  WrapperComponentProps?: IPropsAny;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- export declare type ITableBody = ISurface & {
3
+ export type ITableBody = ISurface & {
4
4
  loading?: boolean;
5
5
  };
6
6
  declare const TableBody: React.FC<ITableBody>;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { TLineAlign, TLineJustify } from '../Line/Line';
3
3
  import { IBaseElement, IPropsAny } from '../types';
4
- export declare type ITableCellSort = 'asc' | 'desc';
5
- export declare type ITableCell = IBaseElement & {
4
+ export type ITableCellSort = 'asc' | 'desc';
5
+ export type ITableCell = IBaseElement & {
6
6
  sort?: boolean;
7
7
  sortedByDefault?: ITableCellSort;
8
8
  sortedBy?: ITableCellSort;
@@ -67,7 +67,9 @@ const useStyle = (0, _styleReact.style)(theme => ({
67
67
  },
68
68
  sticky: {
69
69
  position: 'sticky',
70
- zIndex: '14',
70
+ zIndex: '14'
71
+ },
72
+ sticky_left: {
71
73
  '&::after': {
72
74
  content: "''",
73
75
  position: 'absolute',
@@ -79,11 +81,28 @@ const useStyle = (0, _styleReact.style)(theme => ({
79
81
  pointerEvents: 'none'
80
82
  }
81
83
  },
82
- stickyActive: {
84
+ sticky_right: {
85
+ '&::after': {
86
+ content: "''",
87
+ position: 'absolute',
88
+ top: '0',
89
+ left: '-24px',
90
+ bottom: '0',
91
+ width: '24px',
92
+ transition: theme.methods.transitions.make('box-shadow'),
93
+ pointerEvents: 'none'
94
+ }
95
+ },
96
+ stickyActive_left: {
83
97
  '&::after': {
84
98
  boxShadow: `inset 11px 0 7px -7px ${theme.palette.light ? 'rgba(0, 0, 0, 0.04)' : 'rgba(255, 255, 255, 0.14)'}`
85
99
  }
86
100
  },
101
+ stickyActive_right: {
102
+ '&::after': {
103
+ boxShadow: `inset -11px 0 7px -7px ${theme.palette.light ? 'rgba(0, 0, 0, 0.04)' : 'rgba(255, 255, 255, 0.14)'}`
104
+ }
105
+ },
87
106
  sort: {
88
107
  cursor: 'pointer',
89
108
  borderRadius: 2,
@@ -195,7 +214,7 @@ const TableCell = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
195
214
  _react.default.useEffect(() => {
196
215
  if (sticky) {
197
216
  if (root) {
198
- const parentOverflow = (0, _utils2.getOverflowParent)(root);
217
+ const parentOverflow = (0, _utils2.getOverflowParent)(root, false);
199
218
  const offsetPrevious = stickyPosition === 'left' ? root.offsetLeft : window.innerWidth - root.getBoundingClientRect().right;
200
219
  const method = () => {
201
220
  const offsetNew = stickyPosition === 'left' ? root.offsetLeft : window.innerWidth - root.getBoundingClientRect().right;
@@ -233,7 +252,7 @@ const TableCell = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
233
252
  setRoot(item);
234
253
  },
235
254
  role: "cell",
236
- className: (0, _styleReact.classNames)([(0, _utils2.staticClassName)('TableCell', theme) && [`onesy-TableCell-root`, `onesy-TableCell-size-${size}`, sticky && `onesy-TableCell-sticky`, stickyPosition && `onesy-TableCell-sticky-position-${stickyPosition}`, stickyActive && `onesy-TableHead-sticky-active`], className, classes.root, position === 'head' ? classes.head : classes.body, noWeight && classes.noWeight, sticky && classes.sticky, stickyActive && classes.stickyActive]),
255
+ className: (0, _styleReact.classNames)([(0, _utils2.staticClassName)('TableCell', theme) && [`onesy-TableCell-root`, `onesy-TableCell-size-${size}`, sticky && `onesy-TableCell-sticky`, stickyPosition && `onesy-TableCell-sticky-position-${stickyPosition}`, stickyActive && `onesy-TableHead-sticky-active`], className, classes.root, position === 'head' ? classes.head : classes.body, noWeight && classes.noWeight, sticky && [classes.sticky, classes[`sticky_${stickyPosition}`]], stickyActive && classes[`stickyActive_${stickyPosition}`]]),
237
256
  style: _objectSpread(_objectSpread({}, style), stylesOther)
238
257
  }, other), /*#__PURE__*/_react.default.createElement(Line, {
239
258
  gap: 0,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- export declare type ITableFooter = ISurface & {};
3
+ export type ITableFooter = ISurface & {};
4
4
  declare const TableFooter: React.FC<ITableFooter>;
5
5
  export default TableFooter;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- export declare type ITableHead = ISurface & {
3
+ export type ITableHead = ISurface & {
4
4
  sticky?: boolean;
5
5
  stickyOffset?: number;
6
6
  loading?: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- export declare type ITableHeader = ISurface & {};
3
+ export type ITableHeader = ISurface & {};
4
4
  declare const TableHeader: React.FC<ITableHeader>;
5
5
  export default TableHeader;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IElementReference, IVersion } from '../types';
4
- export declare type ITableRow = Omit<ILine, 'onChange'> & {
4
+ export type ITableRow = Omit<ILine, 'onChange'> & {
5
5
  version?: IVersion;
6
6
  elevation?: boolean;
7
7
  page?: number;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
- export declare type ITableRow = ISurface & {
3
+ export type ITableRow = ISurface & {
4
4
  hover?: boolean;
5
5
  selected?: boolean;
6
6
  position?: 'head' | 'body';
package/Tabs/Tabs.d.ts CHANGED
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { TLineAlign, TLineJustify } from '../Line/Line';
4
4
  import { IElementReference, IPropsAny } from '../types';
5
- export declare type ITabs = Omit<ISurface, 'version' | 'onChange'> & {
5
+ export type ITabs = Omit<ISurface, 'version' | 'onChange'> & {
6
6
  version?: 'primary' | 'secondary';
7
7
  value?: any;
8
8
  valueDefault?: any;
package/Text/Text.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IBaseElement, IPropsAny } from '../types';
3
- export declare type IText = IBaseElement & {
3
+ export type IText = IBaseElement & {
4
4
  value?: any;
5
5
  columns?: number;
6
6
  responsive?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import OnesySubscription from '@onesy/subscription';
3
3
  import { IBaseElement, IVersion, IRef, IElement, IValueBreakpoints, IPropsAny, IElementReference } from '../types';
4
- export declare type ITextField = Omit<IBaseElement, 'onChange'> & {
4
+ export type ITextField = Omit<IBaseElement, 'onChange'> & {
5
5
  version?: IVersion;
6
6
  rootRef?: IRef;
7
7
  valueDefault?: string | number;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IElementReference, IPropsAny } from '../types';
4
- export declare type ITextToSpeech = ILine & {
4
+ export type ITextToSpeech = ILine & {
5
5
  read?: string;
6
6
  speechSynthesisUtterance?: any;
7
7
  language?: string;
@@ -3,9 +3,9 @@ import { OnesyDate } from '@onesy/date';
3
3
  import { TClockUnit } from '../Clock/Clock';
4
4
  import { IAdvancedTextField } from '../AdvancedTextField/AdvancedTextField';
5
5
  import { IValueBreakpoints, IElementReference, IPropsAny } from '../types';
6
- export declare type TTimePickerValue = OnesyDate | [OnesyDate, OnesyDate];
7
- export declare type TTimePickerSelecting = TClockUnit | [TClockUnit, TClockUnit];
8
- export declare type ITimePicker = Omit<IAdvancedTextField, 'version' | 'onChange'> & {
6
+ export type TTimePickerValue = OnesyDate | [OnesyDate, OnesyDate];
7
+ export type TTimePickerSelecting = TClockUnit | [TClockUnit, TClockUnit];
8
+ export type ITimePicker = Omit<IAdvancedTextField, 'version' | 'onChange'> & {
9
9
  version?: 'auto' | 'mobile' | 'desktop';
10
10
  value?: TTimePickerValue;
11
11
  valueDefault?: TTimePickerValue;
@@ -258,28 +258,28 @@ const TimePicker = /*#__PURE__*/_react.default.forwardRef((props__, ref) => {
258
258
  return (theme === null || theme === void 0 || (_theme$elements9 = theme.elements) === null || _theme$elements9 === void 0 ? void 0 : _theme$elements9.ToggleButton) || _ToggleButton.default;
259
259
  }, [theme]);
260
260
  const ToggleButtons = _react.default.useMemo(() => {
261
- var _theme$elements10;
262
- return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.ToggleButtons) || _ToggleButtons.default;
261
+ var _theme$elements0;
262
+ return (theme === null || theme === void 0 || (_theme$elements0 = theme.elements) === null || _theme$elements0 === void 0 ? void 0 : _theme$elements0.ToggleButtons) || _ToggleButtons.default;
263
263
  }, [theme]);
264
264
  const Button = _react.default.useMemo(() => {
265
- var _theme$elements11;
266
- return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.Button) || _Button.default;
265
+ var _theme$elements1;
266
+ return (theme === null || theme === void 0 || (_theme$elements1 = theme.elements) === null || _theme$elements1 === void 0 ? void 0 : _theme$elements1.Button) || _Button.default;
267
267
  }, [theme]);
268
268
  const Slide = _react.default.useMemo(() => {
269
- var _theme$elements12;
270
- return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.Slide) || _Slide.default;
269
+ var _theme$elements10;
270
+ return (theme === null || theme === void 0 || (_theme$elements10 = theme.elements) === null || _theme$elements10 === void 0 ? void 0 : _theme$elements10.Slide) || _Slide.default;
271
271
  }, [theme]);
272
272
  const Clock = _react.default.useMemo(() => {
273
- var _theme$elements13;
274
- return (theme === null || theme === void 0 || (_theme$elements13 = theme.elements) === null || _theme$elements13 === void 0 ? void 0 : _theme$elements13.Clock) || _Clock.default;
273
+ var _theme$elements11;
274
+ return (theme === null || theme === void 0 || (_theme$elements11 = theme.elements) === null || _theme$elements11 === void 0 ? void 0 : _theme$elements11.Clock) || _Clock.default;
275
275
  }, [theme]);
276
276
  const Tab = _react.default.useMemo(() => {
277
- var _theme$elements14;
278
- return (theme === null || theme === void 0 || (_theme$elements14 = theme.elements) === null || _theme$elements14 === void 0 ? void 0 : _theme$elements14.Tab) || _Tab.default;
277
+ var _theme$elements12;
278
+ return (theme === null || theme === void 0 || (_theme$elements12 = theme.elements) === null || _theme$elements12 === void 0 ? void 0 : _theme$elements12.Tab) || _Tab.default;
279
279
  }, [theme]);
280
280
  const Tabs = _react.default.useMemo(() => {
281
- var _theme$elements15;
282
- return (theme === null || theme === void 0 || (_theme$elements15 = theme.elements) === null || _theme$elements15 === void 0 ? void 0 : _theme$elements15.Tabs) || _Tabs.default;
281
+ var _theme$elements13;
282
+ return (theme === null || theme === void 0 || (_theme$elements13 = theme.elements) === null || _theme$elements13 === void 0 ? void 0 : _theme$elements13.Tabs) || _Tabs.default;
283
283
  }, [theme]);
284
284
  const {
285
285
  tonal = true,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ITimePicker } from '../TimePicker/TimePicker';
3
- export declare type ITimeRangePicker = ITimePicker & {};
3
+ export type ITimeRangePicker = ITimePicker & {};
4
4
  declare const TimeRangePicker: React.FC<ITimeRangePicker>;
5
5
  export default TimeRangePicker;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
- export declare type ITimeline = ILine & {
3
+ export type ITimeline = ILine & {
4
4
  orientation?: 'vertical' | 'horizontal';
5
5
  };
6
6
  declare const Timeline: React.FC<ITimeline>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ILine } from '../Line/Line';
3
3
  import { IElement, IPropsAny, IElementReference } from '../types';
4
- export declare type ITimelineItem = ILine & {
4
+ export type ITimelineItem = ILine & {
5
5
  orientation?: 'vertical' | 'horizontal';
6
6
  start?: IElement;
7
7
  end?: IElement;
package/Timer/Timer.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISurface } from '../Surface/Surface';
3
3
  import { IElementReference, IPropsAny } from '../types';
4
- export declare type ITimer = ISurface & {
4
+ export type ITimer = ISurface & {
5
5
  renderValue?: (value: string) => any;
6
6
  icon?: boolean;
7
7
  onStart?: (event: React.MouseEvent<any>) => any;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IChip } from '../Chip/Chip';
3
- export declare type IToggleButton = IChip & {};
3
+ export type IToggleButton = IChip & {};
4
4
  declare const ToggleButton: React.FC<IToggleButton>;
5
5
  export default ToggleButton;