@onesy/ui-react 1.0.82 → 1.0.84

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 (219) hide show
  1. package/Accordion/Accordion.d.ts +2 -2
  2. package/AdvancedTextField/AdvancedTextField.d.ts +1 -1
  3. package/Append/Append.d.ts +3 -3
  4. package/AreaChart/AreaChart.d.ts +1 -1
  5. package/AreaChartItem/AreaChartItem.d.ts +1 -1
  6. package/AudioPlayer/AudioPlayer.d.ts +1 -1
  7. package/AudioRecorder/AudioRecorder.d.ts +1 -1
  8. package/AutoComplete/AutoComplete.d.ts +3 -3
  9. package/AutoCompleteCountry/AutoCompleteCountry.d.ts +1 -1
  10. package/AutoCompleteCurrency/AutoCompleteCurrency.d.ts +1 -1
  11. package/AutoCompleteGooglePlaces/AutoCompleteGooglePlaces.d.ts +1 -1
  12. package/Avatar/Avatar.d.ts +1 -1
  13. package/AvatarGroup/AvatarGroup.d.ts +1 -1
  14. package/Backdrop/Backdrop.d.ts +1 -1
  15. package/Badge/Badge.d.ts +1 -1
  16. package/Banner/Banner.d.ts +1 -1
  17. package/BottomAppBar/BottomAppBar.d.ts +1 -1
  18. package/BottomSheet/BottomSheet.d.ts +1 -1
  19. package/Box/Box.d.ts +1 -1
  20. package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  21. package/BubbleChart/BubbleChart.d.ts +1 -1
  22. package/BubbleChartItem/BubbleChartItem.d.ts +1 -1
  23. package/Button/Button.d.ts +1 -1
  24. package/Buttons/Buttons.d.ts +1 -1
  25. package/Calendar/Calendar.d.ts +3 -3
  26. package/CalendarAvailability/CalendarAvailability.d.ts +2 -2
  27. package/CalendarMenu/CalendarMenu.d.ts +1 -1
  28. package/CalendarMonth/CalendarMonth.d.ts +5 -5
  29. package/CalendarViews/CalendarViews.d.ts +3 -2
  30. package/CalendarViews/CalendarViews.js +2 -2
  31. package/CalendarWeek/CalendarWeek.d.ts +1 -1
  32. package/Card/Card.d.ts +1 -1
  33. package/CardButton/CardButton.d.ts +1 -1
  34. package/CardFooter/CardFooter.d.ts +1 -1
  35. package/CardHeader/CardHeader.d.ts +1 -1
  36. package/CardImage/CardImage.d.ts +1 -1
  37. package/CardMain/CardMain.d.ts +1 -1
  38. package/Carousel/Carousel.d.ts +4 -4
  39. package/Chart/Chart.d.ts +4 -4
  40. package/Checkbox/Checkbox.d.ts +1 -1
  41. package/Chip/Chip.d.ts +1 -1
  42. package/Chips/Chips.d.ts +1 -1
  43. package/ClickListener/ClickListener.d.ts +1 -1
  44. package/Clock/Clock.d.ts +5 -5
  45. package/ColorTextField/ColorTextField.d.ts +1 -1
  46. package/ColumnChart/ColumnChart.d.ts +1 -1
  47. package/ColumnChartItem/ColumnChartItem.d.ts +1 -1
  48. package/Confirm/Confirm.d.ts +4 -4
  49. package/Container/Container.d.ts +1 -1
  50. package/CookieBanner/CookieBanner.d.ts +1 -1
  51. package/Countdown/Countdown.d.ts +1 -1
  52. package/DatePicker/DatePicker.d.ts +1 -1
  53. package/DateRangePicker/DateRangePicker.d.ts +1 -1
  54. package/DateTimePicker/DateTimePicker.d.ts +2 -2
  55. package/DateTimeRangePicker/DateTimeRangePicker.d.ts +1 -1
  56. package/Divider/Divider.d.ts +1 -1
  57. package/DonutChart/DonutChart.d.ts +1 -1
  58. package/DragAndDropList/DragAndDropList.d.ts +1 -1
  59. package/Drawing/Drawing.d.ts +2 -2
  60. package/DropZone/DropZone.d.ts +1 -1
  61. package/Emojis/Emojis.d.ts +3 -3
  62. package/Expand/Expand.d.ts +1 -1
  63. package/Fab/Fab.d.ts +1 -1
  64. package/Fade/Fade.d.ts +1 -1
  65. package/FileChoose/FileChoose.d.ts +2 -2
  66. package/Focus/Focus.d.ts +1 -1
  67. package/Form/Form.d.ts +1 -1
  68. package/FormRow/FormRow.d.ts +1 -1
  69. package/Forms/Forms.d.ts +1 -1
  70. package/Frame/Frame.d.ts +1 -1
  71. package/Grid/Grid.d.ts +2 -2
  72. package/Grow/Grow.d.ts +1 -1
  73. package/HTMLCanvas/HTMLCanvas.d.ts +2 -2
  74. package/IFrame/IFrame.d.ts +1 -1
  75. package/Icon/Icon.d.ts +1 -1
  76. package/IconButton/IconButton.d.ts +1 -1
  77. package/Image/Image.d.ts +1 -1
  78. package/ImageCrop/ImageCrop.d.ts +2 -2
  79. package/ImageEdit/ImageEdit.d.ts +2 -2
  80. package/ImageGallery/ImageGallery.d.ts +1 -1
  81. package/ImageList/ImageList.d.ts +1 -1
  82. package/ImageListItem/ImageListItem.d.ts +1 -1
  83. package/ImageListItemBox/ImageListItemBox.d.ts +1 -1
  84. package/Info/Info.d.ts +1 -1
  85. package/Interaction/Interaction.d.ts +2 -2
  86. package/Keyframes/Keyframes.d.ts +3 -3
  87. package/LICENSE +1 -1
  88. package/Label/Label.d.ts +1 -1
  89. package/Labels/Labels.d.ts +1 -1
  90. package/Line/Line.d.ts +6 -6
  91. package/LineChart/LineChart.d.ts +1 -1
  92. package/LineChartItem/LineChartItem.d.ts +1 -1
  93. package/LinearMeter/LinearMeter.d.ts +1 -1
  94. package/LinearProgress/LinearProgress.d.ts +1 -1
  95. package/Link/Link.d.ts +1 -1
  96. package/Links/Links.d.ts +2 -2
  97. package/List/List.d.ts +1 -1
  98. package/ListItem/ListItem.d.ts +1 -1
  99. package/ListSubheader/ListSubheader.d.ts +1 -1
  100. package/MainProgress/MainProgress.d.ts +3 -3
  101. package/Markdown/Markdown.d.ts +1 -1
  102. package/Masonry/Masonry.d.ts +1 -1
  103. package/Medias/Medias.d.ts +3 -3
  104. package/Menu/Menu.d.ts +1 -1
  105. package/MenuDesktop/MenuDesktop.d.ts +3 -3
  106. package/MenuItem/MenuItem.d.ts +1 -1
  107. package/Meta/Meta.d.ts +1 -1
  108. package/Modal/Modal.d.ts +1 -1
  109. package/ModalFooter/ModalFooter.d.ts +1 -1
  110. package/ModalHeader/ModalHeader.d.ts +1 -1
  111. package/ModalIcon/ModalIcon.d.ts +1 -1
  112. package/ModalMain/ModalMain.d.ts +1 -1
  113. package/ModalText/ModalText.d.ts +1 -1
  114. package/ModalTitle/ModalTitle.d.ts +1 -1
  115. package/MoreOptions/MoreOptions.d.ts +1 -1
  116. package/Move/Move.d.ts +1 -1
  117. package/NavigationBar/NavigationBar.d.ts +2 -2
  118. package/NavigationDrawer/NavigationDrawer.d.ts +1 -1
  119. package/NavigationItem/NavigationItem.d.ts +2 -2
  120. package/NavigationRail/NavigationRail.d.ts +1 -1
  121. package/NotFound/NotFound.d.ts +1 -1
  122. package/NumericTextField/NumericTextField.d.ts +1 -1
  123. package/Page/Page.d.ts +2 -2
  124. package/PageTransition/PageTransition.d.ts +1 -1
  125. package/Pagination/Pagination.d.ts +1 -1
  126. package/PaginationItem/PaginationItem.d.ts +1 -1
  127. package/Parallax/Parallax.d.ts +2 -2
  128. package/Path/Path.d.ts +1 -1
  129. package/PieChart/PieChart.d.ts +1 -1
  130. package/Placeholder/Placeholder.d.ts +1 -1
  131. package/Portal/Portal.d.ts +1 -1
  132. package/Properties/Properties.d.ts +2 -2
  133. package/Property/Property.d.ts +1 -1
  134. package/Radio/Radio.d.ts +1 -1
  135. package/Radios/Radios.d.ts +1 -1
  136. package/Rating/Rating.d.ts +1 -1
  137. package/Reset/Reset.d.ts +1 -1
  138. package/Reveal/Reveal.d.ts +1 -1
  139. package/RichTextEditor/RichTextEditor.d.ts +1 -1
  140. package/RoundMeter/RoundMeter.d.ts +1 -1
  141. package/RoundProgress/RoundProgress.d.ts +1 -1
  142. package/ScatterChart/ScatterChart.d.ts +1 -1
  143. package/ScatterChartItem/ScatterChartItem.d.ts +1 -1
  144. package/ScreenCapture/ScreenCapture.d.ts +2 -2
  145. package/Section/Section.d.ts +2 -2
  146. package/SectionAction/SectionAction.d.ts +1 -1
  147. package/SectionBoxes/SectionBoxes.d.ts +2 -2
  148. package/SectionCards/SectionCards.d.ts +2 -2
  149. package/SectionCarousel/SectionCarousel.d.ts +2 -2
  150. package/SectionContact/SectionContact.d.ts +1 -1
  151. package/SectionImageGallery/SectionImageGallery.d.ts +1 -1
  152. package/SectionLogos/SectionLogos.d.ts +1 -1
  153. package/SectionMedia/SectionMedia.d.ts +1 -1
  154. package/SectionReviews/SectionReviews.d.ts +2 -2
  155. package/SectionTextMedia/SectionTextMedia.d.ts +1 -1
  156. package/SectionTimeline/SectionTimeline.d.ts +2 -2
  157. package/SectionWatch/SectionWatch.d.ts +1 -1
  158. package/Select/Select.d.ts +1 -1
  159. package/Share/Share.d.ts +1 -1
  160. package/Slide/Slide.d.ts +1 -1
  161. package/Slider/Slider.d.ts +2 -2
  162. package/SmartTextField/SmartTextField.d.ts +1 -1
  163. package/Snackbar/Snackbar.d.ts +1 -1
  164. package/Snackbars/Context.d.ts +1 -1
  165. package/Snackbars/Snackbars.d.ts +2 -2
  166. package/Space/Space.d.ts +1 -1
  167. package/SpeechToText/SpeechToText.d.ts +1 -1
  168. package/SpeedDial/SpeedDial.d.ts +1 -1
  169. package/SpeedDialItem/SpeedDialItem.d.ts +1 -1
  170. package/SpyScroll/SpyScroll.d.ts +1 -1
  171. package/Step/Step.d.ts +1 -1
  172. package/Stepper/Stepper.d.ts +1 -1
  173. package/Surface/Surface.d.ts +1 -1
  174. package/Switch/Switch.d.ts +1 -1
  175. package/Tab/Tab.d.ts +1 -1
  176. package/Table/Table.d.ts +1 -1
  177. package/TableBody/TableBody.d.ts +1 -1
  178. package/TableCell/TableCell.d.ts +2 -2
  179. package/TableFooter/TableFooter.d.ts +1 -1
  180. package/TableHead/TableHead.d.ts +1 -1
  181. package/TableHeader/TableHeader.d.ts +1 -1
  182. package/TablePagination/TablePagination.d.ts +1 -1
  183. package/TableRow/TableRow.d.ts +1 -1
  184. package/Tabs/Tabs.d.ts +1 -1
  185. package/Text/Text.d.ts +1 -1
  186. package/TextField/TextField.d.ts +1 -1
  187. package/TextToSpeech/TextToSpeech.d.ts +1 -1
  188. package/TimePicker/TimePicker.d.ts +3 -3
  189. package/TimeRangePicker/TimeRangePicker.d.ts +1 -1
  190. package/Timeline/Timeline.d.ts +1 -1
  191. package/TimelineItem/TimelineItem.d.ts +1 -1
  192. package/Timer/Timer.d.ts +1 -1
  193. package/ToggleButton/ToggleButton.d.ts +1 -1
  194. package/ToggleButtons/ToggleButtons.d.ts +1 -1
  195. package/Tooltip/Tooltip.d.ts +1 -1
  196. package/TopAppBar/TopAppBar.d.ts +1 -1
  197. package/Transition/Transition.d.ts +3 -3
  198. package/Transitions/Transitions.d.ts +2 -2
  199. package/Tree/Tree.d.ts +1 -1
  200. package/Type/Type.d.ts +1 -1
  201. package/VideoPlayer/VideoPlayer.d.ts +1 -1
  202. package/ViewSplit/ViewSplit.d.ts +1 -1
  203. package/Watch/Watch.d.ts +1 -1
  204. package/Weather/Weather.d.ts +4 -4
  205. package/Whiteboard/Whiteboard.d.ts +5 -5
  206. package/Widgets/Widgets.d.ts +2 -2
  207. package/WindowSplit/WindowSplit.d.ts +1 -1
  208. package/Zoom/Zoom.d.ts +1 -1
  209. package/esm/CalendarViews/CalendarViews.js +6 -5
  210. package/esm/index.js +1 -1
  211. package/package.json +1 -1
  212. package/types.d.ts +27 -27
  213. package/useForm/useForm.d.ts +2 -2
  214. package/useForm/validate.d.ts +12 -12
  215. package/useLocation/useLocation.d.ts +1 -1
  216. package/useMediaQuery/useMediaQuery.d.ts +1 -1
  217. package/useScroll/useScroll.d.ts +2 -2
  218. package/useSwipe/useSwipe.d.ts +2 -2
  219. package/useVisible/useVisible.d.ts +2 -2
@@ -1,31 +1,31 @@
1
1
  import { TIsType, IOptions as IIsOptions } from '@onesy/utils/is';
2
2
  import { TIsValidType, IOptions as IIsValidOptions } from '@onesy/utils/isValid';
3
- export type IValidateOptions = {
3
+ export declare type IValidateOptions = {
4
4
  message?: string;
5
5
  uriDecode?: boolean;
6
6
  parse?: boolean;
7
7
  l?: any;
8
8
  };
9
- export type IValidateModelValueIs = {
9
+ export declare type IValidateModelValueIs = {
10
10
  type?: TIsType;
11
11
  options?: IIsOptions;
12
12
  };
13
- export type IValidateModelValueIsValid = {
13
+ export declare type IValidateModelValueIsValid = {
14
14
  type?: TIsValidType;
15
15
  options?: IIsValidOptions;
16
16
  };
17
- export type IValidateModelValueMethodOptions = {
17
+ export declare type IValidateModelValueMethodOptions = {
18
18
  form: IForm;
19
19
  property: string;
20
20
  object: IValidateModelValue;
21
21
  options: IValidateOptions;
22
22
  };
23
- export type IValidateModelValueMethod = (value: any, options: IValidateModelValueMethodOptions) => Promise<any> | any;
24
- export type IValidateModelValueValidations = 'required' | 'is' | 'isValid' | 'of' | 'ofValid' | 'equal' | 'notEqual' | 'equalDeep' | 'notEqualDeep' | 'some' | 'in' | 'every' | 'properties' | 'notProperties' | 'min' | 'max' | 'length' | 'method';
25
- export type IValidateModelMessages = {
23
+ export declare type IValidateModelValueMethod = (value: any, options: IValidateModelValueMethodOptions) => Promise<any> | any;
24
+ export declare type IValidateModelValueValidations = 'required' | 'is' | 'isValid' | 'of' | 'ofValid' | 'equal' | 'notEqual' | 'equalDeep' | 'notEqualDeep' | 'some' | 'in' | 'every' | 'properties' | 'notProperties' | 'min' | 'max' | 'length' | 'method';
25
+ export declare type IValidateModelMessages = {
26
26
  [p in IValidateModelValueValidations]?: string;
27
27
  };
28
- export type IValidateModelValue = {
28
+ export declare type IValidateModelValue = {
29
29
  name: string;
30
30
  value?: any;
31
31
  message?: string;
@@ -53,14 +53,14 @@ export type IValidateModelValue = {
53
53
  capitalize?: boolean;
54
54
  propertyNameUpdate?: (value: any) => string;
55
55
  };
56
- export type IUseFormValues = Record<string, IValidateModelValue>;
57
- export type IForm = {
56
+ export declare type IUseFormValues = Record<string, IValidateModelValue>;
57
+ export declare type IForm = {
58
58
  value: any;
59
59
  values: IUseFormValues;
60
60
  valid: boolean;
61
61
  };
62
- export type IValidateValidation = (property: IValidateModelValue, form: IForm) => void | Error | Promise<void | Error>;
63
- export type IValidateVales = Record<string, IValidateModelValue>;
62
+ export declare type IValidateValidation = (property: IValidateModelValue, form: IForm) => void | Error | Promise<void | Error>;
63
+ export declare type IValidateVales = Record<string, IValidateModelValue>;
64
64
  export declare const onValidateError: (options: IValidateOptions, model: IValidateModelValue, message?: any) => never;
65
65
  declare const validate: (model: IValidateModelValue, property: string, form: IForm, options_?: IValidateOptions) => Promise<void>;
66
66
  export default validate;
@@ -1,4 +1,4 @@
1
- export type IUseLocation = {};
1
+ export declare type IUseLocation = {};
2
2
  declare const useLocation: {
3
3
  (props?: IUseLocation): Location;
4
4
  displayName: string;
@@ -1,4 +1,4 @@
1
- export type IOptionsUseMediaQuery = {
1
+ export declare type IOptionsUseMediaQuery = {
2
2
  element?: any;
3
3
  initial?: boolean;
4
4
  };
@@ -1,5 +1,5 @@
1
- export type TUseScrollDirection = 'up' | 'down';
2
- export type IUseScroll = {
1
+ export declare type TUseScrollDirection = 'up' | 'down';
2
+ export declare type IUseScroll = {
3
3
  offset?: number;
4
4
  direction?: TUseScrollDirection;
5
5
  target?: HTMLElement | Window;
@@ -1,4 +1,4 @@
1
- export type IOptionsUseSwipe = {
1
+ export declare type IOptionsUseSwipe = {
2
2
  open?: boolean;
3
3
  min?: number;
4
4
  direction?: 'top' | 'left' | 'right' | 'bottom';
@@ -6,7 +6,7 @@ export type IOptionsUseSwipe = {
6
6
  flick?: boolean;
7
7
  flickTreshold?: number;
8
8
  };
9
- export type IResponseUseSwipe = {
9
+ export declare type IResponseUseSwipe = {
10
10
  value?: number;
11
11
  valuePercentage?: number;
12
12
  position?: string;
@@ -1,8 +1,8 @@
1
- export type IUseVisibleResponse = IntersectionObserverEntry & {
1
+ export declare type IUseVisibleResponse = IntersectionObserverEntry & {
2
2
  visible?: boolean;
3
3
  percentage?: number;
4
4
  };
5
- export type IUseVisible = {
5
+ export declare type IUseVisible = {
6
6
  element: HTMLElement;
7
7
  visibleDefault?: boolean;
8
8
  options?: IntersectionObserverInit;