@onesy/ui-react 1.0.52 → 1.0.54

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.
@@ -4,9 +4,10 @@ import { ILine } from '../Line/Line';
4
4
  import { TCalendarUnit } from '../Calendar/Calendar';
5
5
  import { TCalendarMonthCalendar, TCalendarMonthValue } from '../CalendarMonth/CalendarMonth';
6
6
  import { IValueBreakpoints, IElement, IElementReference, IPropsAny } from '../types';
7
+ import { ITextField } from '../TextField/TextField';
7
8
  export declare const SEPARATOR_SYMBOL = "\u2013";
8
9
  export declare const SEPARATOR: string;
9
- export declare type IDatePicker = Omit<ILine, 'onChange'> & {
10
+ export declare type IDatePicker = Omit<ILine, 'onChange'> & ITextField & {
10
11
  version?: 'auto' | 'mobile' | 'desktop';
11
12
  value?: TCalendarMonthValue;
12
13
  valueDefault?: TCalendarMonthValue;
@@ -5,8 +5,9 @@ import { TCalendarMonthValue } from '../CalendarMonth/CalendarMonth';
5
5
  import { TCalendarUnit } from '../Calendar/Calendar';
6
6
  import { TClockUnit } from '../Clock/Clock';
7
7
  import { IValueBreakpoints, IElementReference, IPropsAny } from '../types';
8
+ import { ITextField } from '../TextField/TextField';
8
9
  export declare type TDateTimePicker = OnesyDate;
9
- export declare type IDateTimePicker = Omit<IAdvancedTextField, 'version' | 'onChange'> & {
10
+ export declare type IDateTimePicker = Omit<IAdvancedTextField, 'version' | 'onChange'> & ITextField & {
10
11
  version?: 'auto' | 'mobile' | 'desktop';
11
12
  value?: TCalendarMonthValue;
12
13
  valueDefault?: TCalendarMonthValue;
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 = ILine & {
4
+ export declare type IForm = Omit<ILine, 'onSubmit'> & {
5
5
  accordion?: boolean;
6
6
  divider?: boolean;
7
7
  name?: string | IElement;
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license UiReact v1.0.52
1
+ /** @license UiReact v1.0.54
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onesy/ui-react",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "description": "UI for React",
5
5
  "repository": "https://github.com/onesy-me/onesy.git",
6
6
  "author": "Lazar <lazareric2@gmail.com>",