@elliemae/ds-controlled-form 2.0.0-rc.7 → 2.0.0-rc.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-controlled-form",
3
- "version": "2.0.0-rc.7",
3
+ "version": "2.0.0-rc.8",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Controlled Form Controllers",
6
6
  "module": "./esm/index.js",
@@ -452,13 +452,13 @@
452
452
  "build": "node ../../scripts/build/build.js"
453
453
  },
454
454
  "dependencies": {
455
- "@elliemae/ds-basic": "2.0.0-rc.7",
456
- "@elliemae/ds-button": "2.0.0-rc.7",
457
- "@elliemae/ds-form-layout-blocks": "2.0.0-rc.7",
458
- "@elliemae/ds-grid": "2.0.0-rc.7",
459
- "@elliemae/ds-icons": "2.0.0-rc.7",
460
- "@elliemae/ds-props-helpers": "2.0.0-rc.7",
461
- "@elliemae/ds-system": "2.0.0-rc.7",
455
+ "@elliemae/ds-basic": "2.0.0-rc.8",
456
+ "@elliemae/ds-button": "2.0.0-rc.8",
457
+ "@elliemae/ds-form-layout-blocks": "2.0.0-rc.8",
458
+ "@elliemae/ds-grid": "2.0.0-rc.8",
459
+ "@elliemae/ds-icons": "2.0.0-rc.8",
460
+ "@elliemae/ds-props-helpers": "2.0.0-rc.8",
461
+ "@elliemae/ds-system": "2.0.0-rc.8",
462
462
  "@elliemae/pui-theme": "2.2.3",
463
463
  "prop-types": "~15.7.2",
464
464
  "react-desc": "~4.1.3",
@@ -1,21 +1,71 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import type { DSControlledCheckboxPropsT } from './index.d';
3
4
  declare const DSControlledCheckbox: {
4
5
  (props: DSControlledCheckboxPropsT): JSX.Element;
5
6
  propTypes: {
6
7
  checked: any;
7
- value: any;
8
+ value: {
9
+ defaultValue<T = unknown>(arg: T): {
10
+ deprecated: import("react-desc").PropTypesDescValidator;
11
+ };
12
+ isRequired: import("react-desc").PropTypesDescValidator;
13
+ };
8
14
  name: any;
9
- label: any;
15
+ label: {
16
+ defaultValue<T = unknown>(arg: T): {
17
+ deprecated: import("react-desc").PropTypesDescValidator;
18
+ };
19
+ isRequired: import("react-desc").PropTypesDescValidator;
20
+ };
10
21
  id: any;
11
- readOnly: any;
12
- hasError: any;
13
- disabled: any;
14
- ariaControls: any;
15
- ariaLabel: any;
16
- innerRef: any;
17
- autoFocus: any;
22
+ readOnly: {
23
+ defaultValue<T = unknown>(arg: T): {
24
+ deprecated: import("react-desc").PropTypesDescValidator;
25
+ };
26
+ isRequired: import("react-desc").PropTypesDescValidator;
27
+ };
28
+ hasError: {
29
+ defaultValue<T = unknown>(arg: T): {
30
+ deprecated: import("react-desc").PropTypesDescValidator;
31
+ };
32
+ isRequired: import("react-desc").PropTypesDescValidator;
33
+ };
34
+ disabled: {
35
+ defaultValue<T = unknown>(arg: T): {
36
+ deprecated: import("react-desc").PropTypesDescValidator;
37
+ };
38
+ isRequired: import("react-desc").PropTypesDescValidator;
39
+ };
40
+ ariaControls: {
41
+ defaultValue<T = unknown>(arg: T): {
42
+ deprecated: import("react-desc").PropTypesDescValidator;
43
+ };
44
+ isRequired: import("react-desc").PropTypesDescValidator;
45
+ };
46
+ ariaLabel: {
47
+ defaultValue<T = unknown>(arg: T): {
48
+ deprecated: import("react-desc").PropTypesDescValidator;
49
+ };
50
+ isRequired: import("react-desc").PropTypesDescValidator;
51
+ };
52
+ innerRef: {
53
+ defaultValue<T = unknown>(arg: T): {
54
+ deprecated: import("react-desc").PropTypesDescValidator;
55
+ };
56
+ isRequired: import("react-desc").PropTypesDescValidator;
57
+ };
58
+ autoFocus: {
59
+ defaultValue<T = unknown>(arg: T): {
60
+ deprecated: import("react-desc").PropTypesDescValidator;
61
+ };
62
+ isRequired: import("react-desc").PropTypesDescValidator;
63
+ };
18
64
  };
19
65
  };
20
- declare const DSControlledCheckboxWithSchema: any;
66
+ declare const DSControlledCheckboxWithSchema: {
67
+ (props?: DSControlledCheckboxPropsT | undefined): JSX.Element;
68
+ propTypes: unknown;
69
+ toTypescript: () => import("react-desc").TypescriptSchema;
70
+ };
21
71
  export { DSControlledCheckbox, DSControlledCheckboxWithSchema };
@@ -1,14 +1,60 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const propTypes: {
2
3
  checked: any;
3
- value: any;
4
+ value: {
5
+ defaultValue<T = unknown>(arg: T): {
6
+ deprecated: import("react-desc").PropTypesDescValidator;
7
+ };
8
+ isRequired: import("react-desc").PropTypesDescValidator;
9
+ };
4
10
  name: any;
5
- label: any;
11
+ label: {
12
+ defaultValue<T = unknown>(arg: T): {
13
+ deprecated: import("react-desc").PropTypesDescValidator;
14
+ };
15
+ isRequired: import("react-desc").PropTypesDescValidator;
16
+ };
6
17
  id: any;
7
- readOnly: any;
8
- hasError: any;
9
- disabled: any;
10
- ariaControls: any;
11
- ariaLabel: any;
12
- innerRef: any;
13
- autoFocus: any;
18
+ readOnly: {
19
+ defaultValue<T = unknown>(arg: T): {
20
+ deprecated: import("react-desc").PropTypesDescValidator;
21
+ };
22
+ isRequired: import("react-desc").PropTypesDescValidator;
23
+ };
24
+ hasError: {
25
+ defaultValue<T = unknown>(arg: T): {
26
+ deprecated: import("react-desc").PropTypesDescValidator;
27
+ };
28
+ isRequired: import("react-desc").PropTypesDescValidator;
29
+ };
30
+ disabled: {
31
+ defaultValue<T = unknown>(arg: T): {
32
+ deprecated: import("react-desc").PropTypesDescValidator;
33
+ };
34
+ isRequired: import("react-desc").PropTypesDescValidator;
35
+ };
36
+ ariaControls: {
37
+ defaultValue<T = unknown>(arg: T): {
38
+ deprecated: import("react-desc").PropTypesDescValidator;
39
+ };
40
+ isRequired: import("react-desc").PropTypesDescValidator;
41
+ };
42
+ ariaLabel: {
43
+ defaultValue<T = unknown>(arg: T): {
44
+ deprecated: import("react-desc").PropTypesDescValidator;
45
+ };
46
+ isRequired: import("react-desc").PropTypesDescValidator;
47
+ };
48
+ innerRef: {
49
+ defaultValue<T = unknown>(arg: T): {
50
+ deprecated: import("react-desc").PropTypesDescValidator;
51
+ };
52
+ isRequired: import("react-desc").PropTypesDescValidator;
53
+ };
54
+ autoFocus: {
55
+ defaultValue<T = unknown>(arg: T): {
56
+ deprecated: import("react-desc").PropTypesDescValidator;
57
+ };
58
+ isRequired: import("react-desc").PropTypesDescValidator;
59
+ };
14
60
  };
@@ -1,10 +1,20 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import type { DateRangePickerPropsT } from './index.d';
3
4
  declare const DSControlledDateRangePicker: {
4
5
  (props: DateRangePickerPropsT): JSX.Element;
5
6
  propTypes: {
6
- type: any;
7
+ type: {
8
+ defaultValue<T = unknown>(arg: T): {
9
+ deprecated: import("react-desc").PropTypesDescValidator;
10
+ };
11
+ isRequired: import("react-desc").PropTypesDescValidator;
12
+ };
7
13
  };
8
14
  };
9
- declare const DSControlledDateRangePickerWithSchema: any;
15
+ declare const DSControlledDateRangePickerWithSchema: {
16
+ (props?: DateRangePickerPropsT | undefined): JSX.Element;
17
+ propTypes: unknown;
18
+ toTypescript: () => import("react-desc").TypescriptSchema;
19
+ };
10
20
  export { DSControlledDateRangePickerWithSchema, DSControlledDateRangePicker };
@@ -1,3 +1,9 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const propTypes: {
2
- type: any;
3
+ type: {
4
+ defaultValue<T = unknown>(arg: T): {
5
+ deprecated: import("react-desc").PropTypesDescValidator;
6
+ };
7
+ isRequired: import("react-desc").PropTypesDescValidator;
8
+ };
3
9
  };
@@ -1,30 +1,89 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import type { DateTimePickerPropsT } from './index.d';
3
4
  declare const DSControlledDateTimePicker: {
4
5
  (props: DateTimePickerPropsT): JSX.Element;
5
6
  propTypes: {
6
- type: any;
7
- disabled: any;
8
- isClearable: any;
9
- dateTime: any;
10
- date: any;
11
- time: any;
12
- onDateChange: any;
13
- onTimeChange: any;
14
- onDateTimeChange: any;
15
- onMonthChange: any;
16
- onDayChange: any;
17
- onYearChange: any;
18
- onHourChange: any;
19
- onMinuteChange: any;
20
- onMeridiemChange: any;
21
- getIsDisabledDay: any;
22
- getIsOutOfRangeDay: any;
23
- getIsDisabledTime: any;
24
- emptyPickerStartingMonth: any;
25
- onCalendarOpenFocusedDay: any;
26
- minutesInterval: any;
7
+ type: {
8
+ deprecated: import("react-desc").PropTypesDescValidator;
9
+ };
10
+ disabled: {
11
+ deprecated: import("react-desc").PropTypesDescValidator;
12
+ };
13
+ isClearable: {
14
+ deprecated: import("react-desc").PropTypesDescValidator;
15
+ };
16
+ dateTime: {
17
+ defaultValue<T = unknown>(arg: T): {
18
+ deprecated: import("react-desc").PropTypesDescValidator;
19
+ };
20
+ isRequired: import("react-desc").PropTypesDescValidator;
21
+ };
22
+ date: {
23
+ defaultValue<T = unknown>(arg: T): {
24
+ deprecated: import("react-desc").PropTypesDescValidator;
25
+ };
26
+ isRequired: import("react-desc").PropTypesDescValidator;
27
+ };
28
+ time: {
29
+ defaultValue<T = unknown>(arg: T): {
30
+ deprecated: import("react-desc").PropTypesDescValidator;
31
+ };
32
+ isRequired: import("react-desc").PropTypesDescValidator;
33
+ };
34
+ onDateChange: {
35
+ deprecated: import("react-desc").PropTypesDescValidator;
36
+ };
37
+ onTimeChange: {
38
+ deprecated: import("react-desc").PropTypesDescValidator;
39
+ };
40
+ onDateTimeChange: {
41
+ deprecated: import("react-desc").PropTypesDescValidator;
42
+ };
43
+ onMonthChange: {
44
+ deprecated: import("react-desc").PropTypesDescValidator;
45
+ };
46
+ onDayChange: {
47
+ deprecated: import("react-desc").PropTypesDescValidator;
48
+ };
49
+ onYearChange: {
50
+ deprecated: import("react-desc").PropTypesDescValidator;
51
+ };
52
+ onHourChange: {
53
+ deprecated: import("react-desc").PropTypesDescValidator;
54
+ };
55
+ onMinuteChange: {
56
+ deprecated: import("react-desc").PropTypesDescValidator;
57
+ };
58
+ onMeridiemChange: {
59
+ deprecated: import("react-desc").PropTypesDescValidator;
60
+ };
61
+ getIsDisabledDay: {
62
+ deprecated: import("react-desc").PropTypesDescValidator;
63
+ };
64
+ getIsOutOfRangeDay: {
65
+ deprecated: import("react-desc").PropTypesDescValidator;
66
+ };
67
+ getIsDisabledTime: {
68
+ deprecated: import("react-desc").PropTypesDescValidator;
69
+ };
70
+ emptyPickerStartingMonth: {
71
+ defaultValue<T = unknown>(arg: T): {
72
+ deprecated: import("react-desc").PropTypesDescValidator;
73
+ };
74
+ isRequired: import("react-desc").PropTypesDescValidator;
75
+ };
76
+ onCalendarOpenFocusedDay: {
77
+ deprecated: import("react-desc").PropTypesDescValidator;
78
+ };
79
+ minutesInterval: {
80
+ deprecated: import("react-desc").PropTypesDescValidator;
81
+ };
27
82
  };
28
83
  };
29
- declare const DSControlledDateTimePickerWithSchema: any;
84
+ declare const DSControlledDateTimePickerWithSchema: {
85
+ (props?: DateTimePickerPropsT | undefined): JSX.Element;
86
+ propTypes: unknown;
87
+ toTypescript: () => import("react-desc").TypescriptSchema;
88
+ };
30
89
  export { DSControlledDateTimePickerWithSchema, DSControlledDateTimePicker };
@@ -1,76 +1,13 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledIconTriggerButton: import("styled-components").StyledComponent<{
3
- (props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
4
- propTypes: {
5
- id: any;
6
- buttonType: any;
7
- size: any;
8
- disabled: any;
9
- onClick: any;
10
- onKeyDown: any;
11
- onBlur: any;
12
- onFocus: any;
13
- className: any;
14
- tabIndex: any;
15
- innerRef: any;
16
- 'aria-label': any;
17
- 'aria-pressed': any;
18
- 'data-testid': any;
19
- role: any;
20
- children: any;
21
- 'data-testemulatestate': any;
22
- };
23
- }, import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const StyledIconTriggerButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
24
3
  export declare const StyledShadowWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
25
4
  isControllerOnly: boolean;
26
5
  }, never>;
27
6
  export declare const StyledCalendarWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
28
7
  export declare const StyledHeader: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {}, never>;
29
- export declare const StyledHeaderButton: import("styled-components").StyledComponent<{
30
- (props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
31
- propTypes: {
32
- id: any;
33
- buttonType: any;
34
- size: any;
35
- disabled: any;
36
- onClick: any;
37
- onKeyDown: any;
38
- onBlur: any;
39
- onFocus: any;
40
- className: any;
41
- tabIndex: any;
42
- innerRef: any;
43
- 'aria-label': any;
44
- 'aria-pressed': any;
45
- 'data-testid': any;
46
- role: any;
47
- children: any;
48
- 'data-testemulatestate': any;
49
- };
50
- }, import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const StyledHeaderButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
51
9
  export declare const StyledBody: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {}, never>;
52
- export declare const StyledDayBtn: import("styled-components").StyledComponent<{
53
- (props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
54
- propTypes: {
55
- id: any;
56
- buttonType: any;
57
- size: any;
58
- disabled: any;
59
- onClick: any;
60
- onKeyDown: any;
61
- onBlur: any;
62
- onFocus: any;
63
- className: any;
64
- tabIndex: any;
65
- innerRef: any;
66
- 'aria-label': any;
67
- 'aria-pressed': any;
68
- 'data-testid': any;
69
- role: any;
70
- children: any;
71
- 'data-testemulatestate': any;
72
- };
73
- }, import("styled-components").DefaultTheme, {}, never>;
10
+ export declare const StyledDayBtn: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
74
11
  export declare const StyledWeekDaysListWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
75
12
  export declare const StyledWeekDaysHeaderItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
76
13
  export declare const CalendarFooterMessage: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
@@ -1,26 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledIconTriggerButton: import("styled-components").StyledComponent<{
3
- (props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
4
- propTypes: {
5
- id: any;
6
- buttonType: any;
7
- size: any;
8
- disabled: any;
9
- onClick: any;
10
- onKeyDown: any;
11
- onBlur: any;
12
- onFocus: any;
13
- className: any;
14
- tabIndex: any;
15
- innerRef: any;
16
- 'aria-label': any;
17
- 'aria-pressed': any;
18
- 'data-testid': any;
19
- role: any;
20
- children: any;
21
- 'data-testemulatestate': any;
22
- };
23
- }, import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const StyledIconTriggerButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
24
3
  export declare const StyledCalendarWithTimeWheelWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
25
4
  isControllerOnly: boolean;
26
5
  }, never>;
@@ -1,26 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledIconTriggerButton: import("styled-components").StyledComponent<{
3
- (props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
4
- propTypes: {
5
- id: any;
6
- buttonType: any;
7
- size: any;
8
- disabled: any;
9
- onClick: any;
10
- onKeyDown: any;
11
- onBlur: any;
12
- onFocus: any;
13
- className: any;
14
- tabIndex: any;
15
- innerRef: any;
16
- 'aria-label': any;
17
- 'aria-pressed': any;
18
- 'data-testid': any;
19
- role: any;
20
- children: any;
21
- 'data-testemulatestate': any;
22
- };
23
- }, import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const StyledIconTriggerButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
24
3
  export declare const StyledWheelList: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
25
4
  interface StyledWheelListItemPropsT {
26
5
  isCurrentListItem?: boolean;
@@ -33,50 +12,8 @@ export declare const StyledTimePickerContainer: import("styled-components").Styl
33
12
  export declare const StyledTimePickerHead: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
34
13
  export declare const StyledTimePickerWheelsLegend: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
35
14
  export declare const StyledTimePickerWheelWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
36
- export declare const StyledTimeBtn: import("styled-components").StyledComponent<{
37
- (props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
38
- propTypes: {
39
- id: any;
40
- buttonType: any;
41
- size: any;
42
- disabled: any;
43
- onClick: any;
44
- onKeyDown: any;
45
- onBlur: any;
46
- onFocus: any;
47
- className: any;
48
- tabIndex: any;
49
- innerRef: any;
50
- 'aria-label': any;
51
- 'aria-pressed': any;
52
- 'data-testid': any;
53
- role: any;
54
- children: any;
55
- 'data-testemulatestate': any;
56
- };
57
- }, import("styled-components").DefaultTheme, {}, never>;
15
+ export declare const StyledTimeBtn: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
58
16
  export declare const StyledWheelListItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledWheelListItemPropsT, never>;
59
- export declare const StyledWheelChangeTimeBtn: import("styled-components").StyledComponent<{
60
- (props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
61
- propTypes: {
62
- id: any;
63
- buttonType: any;
64
- size: any;
65
- disabled: any;
66
- onClick: any;
67
- onKeyDown: any;
68
- onBlur: any;
69
- onFocus: any;
70
- className: any;
71
- tabIndex: any;
72
- innerRef: any;
73
- 'aria-label': any;
74
- 'aria-pressed': any;
75
- 'data-testid': any;
76
- role: any;
77
- children: any;
78
- 'data-testemulatestate': any;
79
- };
80
- }, import("styled-components").DefaultTheme, {}, never>;
17
+ export declare const StyledWheelChangeTimeBtn: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
81
18
  export declare const TimeWheelFooterMessage: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
82
19
  export {};
@@ -10,25 +10,4 @@ export declare const StyledPickersIconsWrapperGrid: import("styled-components").
10
10
  isControllerOnly: boolean;
11
11
  }, never>;
12
12
  export declare const StyledFocusWithIn: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
13
- export declare const StyledClearButton: import("styled-components").StyledComponent<{
14
- (props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
15
- propTypes: {
16
- id: any;
17
- buttonType: any;
18
- size: any;
19
- disabled: any;
20
- onClick: any;
21
- onKeyDown: any;
22
- onBlur: any;
23
- onFocus: any;
24
- className: any;
25
- tabIndex: any;
26
- innerRef: any;
27
- 'aria-label': any;
28
- 'aria-pressed': any;
29
- 'data-testid': any;
30
- role: any;
31
- children: any;
32
- 'data-testemulatestate': any;
33
- };
34
- }, import("styled-components").DefaultTheme, {}, never>;
13
+ export declare const StyledClearButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
@@ -1,23 +1,78 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const propTypes: {
2
- type: any;
3
- disabled: any;
4
- isClearable: any;
5
- dateTime: any;
6
- date: any;
7
- time: any;
8
- onDateChange: any;
9
- onTimeChange: any;
10
- onDateTimeChange: any;
11
- onMonthChange: any;
12
- onDayChange: any;
13
- onYearChange: any;
14
- onHourChange: any;
15
- onMinuteChange: any;
16
- onMeridiemChange: any;
17
- getIsDisabledDay: any;
18
- getIsOutOfRangeDay: any;
19
- getIsDisabledTime: any;
20
- emptyPickerStartingMonth: any;
21
- onCalendarOpenFocusedDay: any;
22
- minutesInterval: any;
3
+ type: {
4
+ deprecated: import("react-desc").PropTypesDescValidator;
5
+ };
6
+ disabled: {
7
+ deprecated: import("react-desc").PropTypesDescValidator;
8
+ };
9
+ isClearable: {
10
+ deprecated: import("react-desc").PropTypesDescValidator;
11
+ };
12
+ dateTime: {
13
+ defaultValue<T = unknown>(arg: T): {
14
+ deprecated: import("react-desc").PropTypesDescValidator;
15
+ };
16
+ isRequired: import("react-desc").PropTypesDescValidator;
17
+ };
18
+ date: {
19
+ defaultValue<T = unknown>(arg: T): {
20
+ deprecated: import("react-desc").PropTypesDescValidator;
21
+ };
22
+ isRequired: import("react-desc").PropTypesDescValidator;
23
+ };
24
+ time: {
25
+ defaultValue<T = unknown>(arg: T): {
26
+ deprecated: import("react-desc").PropTypesDescValidator;
27
+ };
28
+ isRequired: import("react-desc").PropTypesDescValidator;
29
+ };
30
+ onDateChange: {
31
+ deprecated: import("react-desc").PropTypesDescValidator;
32
+ };
33
+ onTimeChange: {
34
+ deprecated: import("react-desc").PropTypesDescValidator;
35
+ };
36
+ onDateTimeChange: {
37
+ deprecated: import("react-desc").PropTypesDescValidator;
38
+ };
39
+ onMonthChange: {
40
+ deprecated: import("react-desc").PropTypesDescValidator;
41
+ };
42
+ onDayChange: {
43
+ deprecated: import("react-desc").PropTypesDescValidator;
44
+ };
45
+ onYearChange: {
46
+ deprecated: import("react-desc").PropTypesDescValidator;
47
+ };
48
+ onHourChange: {
49
+ deprecated: import("react-desc").PropTypesDescValidator;
50
+ };
51
+ onMinuteChange: {
52
+ deprecated: import("react-desc").PropTypesDescValidator;
53
+ };
54
+ onMeridiemChange: {
55
+ deprecated: import("react-desc").PropTypesDescValidator;
56
+ };
57
+ getIsDisabledDay: {
58
+ deprecated: import("react-desc").PropTypesDescValidator;
59
+ };
60
+ getIsOutOfRangeDay: {
61
+ deprecated: import("react-desc").PropTypesDescValidator;
62
+ };
63
+ getIsDisabledTime: {
64
+ deprecated: import("react-desc").PropTypesDescValidator;
65
+ };
66
+ emptyPickerStartingMonth: {
67
+ defaultValue<T = unknown>(arg: T): {
68
+ deprecated: import("react-desc").PropTypesDescValidator;
69
+ };
70
+ isRequired: import("react-desc").PropTypesDescValidator;
71
+ };
72
+ onCalendarOpenFocusedDay: {
73
+ deprecated: import("react-desc").PropTypesDescValidator;
74
+ };
75
+ minutesInterval: {
76
+ deprecated: import("react-desc").PropTypesDescValidator;
77
+ };
23
78
  };
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import type { DSControlledTogglePropsT } from './index.d';
3
4
  declare const DSControlledToggle: {
@@ -15,19 +16,83 @@ declare const DSControlledToggle: {
15
16
  disabled: boolean;
16
17
  };
17
18
  propTypes: {
18
- labelOn: any;
19
- labelOff: any;
20
- value: any;
21
- name: any;
22
- checked: any;
23
- onchange: any;
24
- size: any;
25
- readOnly: any;
26
- active: any;
27
- disabled: any;
28
- containerProps: any;
29
- id: any;
19
+ labelOn: {
20
+ defaultValue<T = unknown>(arg: T): {
21
+ deprecated: import("react-desc").PropTypesDescValidator;
22
+ };
23
+ isRequired: import("react-desc").PropTypesDescValidator;
24
+ };
25
+ labelOff: {
26
+ defaultValue<T = unknown>(arg: T): {
27
+ deprecated: import("react-desc").PropTypesDescValidator;
28
+ };
29
+ isRequired: import("react-desc").PropTypesDescValidator;
30
+ };
31
+ value: {
32
+ defaultValue<T = unknown>(arg: T): {
33
+ deprecated: import("react-desc").PropTypesDescValidator;
34
+ };
35
+ isRequired: import("react-desc").PropTypesDescValidator;
36
+ };
37
+ name: {
38
+ defaultValue<T = unknown>(arg: T): {
39
+ deprecated: import("react-desc").PropTypesDescValidator;
40
+ };
41
+ isRequired: import("react-desc").PropTypesDescValidator;
42
+ };
43
+ checked: {
44
+ defaultValue<T = unknown>(arg: T): {
45
+ deprecated: import("react-desc").PropTypesDescValidator;
46
+ };
47
+ isRequired: import("react-desc").PropTypesDescValidator;
48
+ };
49
+ onchange: {
50
+ defaultValue<T = unknown>(arg: T): {
51
+ deprecated: import("react-desc").PropTypesDescValidator;
52
+ };
53
+ isRequired: import("react-desc").PropTypesDescValidator;
54
+ };
55
+ size: {
56
+ defaultValue<T = unknown>(arg: T): {
57
+ deprecated: import("react-desc").PropTypesDescValidator;
58
+ };
59
+ isRequired: import("react-desc").PropTypesDescValidator;
60
+ };
61
+ readOnly: {
62
+ defaultValue<T = unknown>(arg: T): {
63
+ deprecated: import("react-desc").PropTypesDescValidator;
64
+ };
65
+ isRequired: import("react-desc").PropTypesDescValidator;
66
+ };
67
+ active: {
68
+ defaultValue<T = unknown>(arg: T): {
69
+ deprecated: import("react-desc").PropTypesDescValidator;
70
+ };
71
+ isRequired: import("react-desc").PropTypesDescValidator;
72
+ };
73
+ disabled: {
74
+ defaultValue<T = unknown>(arg: T): {
75
+ deprecated: import("react-desc").PropTypesDescValidator;
76
+ };
77
+ isRequired: import("react-desc").PropTypesDescValidator;
78
+ };
79
+ containerProps: {
80
+ defaultValue<T = unknown>(arg: T): {
81
+ deprecated: import("react-desc").PropTypesDescValidator;
82
+ };
83
+ isRequired: import("react-desc").PropTypesDescValidator;
84
+ };
85
+ id: {
86
+ defaultValue<T = unknown>(arg: T): {
87
+ deprecated: import("react-desc").PropTypesDescValidator;
88
+ };
89
+ isRequired: import("react-desc").PropTypesDescValidator;
90
+ };
30
91
  };
31
92
  };
32
- declare const DSControlledToggleWithSchema: any;
93
+ declare const DSControlledToggleWithSchema: {
94
+ (props?: DSControlledTogglePropsT | undefined): JSX.Element;
95
+ propTypes: unknown;
96
+ toTypescript: () => import("react-desc").TypescriptSchema;
97
+ };
33
98
  export { DSControlledToggle, DSControlledToggleWithSchema };
@@ -1,14 +1,75 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const propTypes: {
2
- labelOn: any;
3
- labelOff: any;
4
- value: any;
5
- name: any;
6
- checked: any;
7
- onchange: any;
8
- size: any;
9
- readOnly: any;
10
- active: any;
11
- disabled: any;
12
- containerProps: any;
13
- id: any;
3
+ labelOn: {
4
+ defaultValue<T = unknown>(arg: T): {
5
+ deprecated: import("react-desc").PropTypesDescValidator;
6
+ };
7
+ isRequired: import("react-desc").PropTypesDescValidator;
8
+ };
9
+ labelOff: {
10
+ defaultValue<T = unknown>(arg: T): {
11
+ deprecated: import("react-desc").PropTypesDescValidator;
12
+ };
13
+ isRequired: import("react-desc").PropTypesDescValidator;
14
+ };
15
+ value: {
16
+ defaultValue<T = unknown>(arg: T): {
17
+ deprecated: import("react-desc").PropTypesDescValidator;
18
+ };
19
+ isRequired: import("react-desc").PropTypesDescValidator;
20
+ };
21
+ name: {
22
+ defaultValue<T = unknown>(arg: T): {
23
+ deprecated: import("react-desc").PropTypesDescValidator;
24
+ };
25
+ isRequired: import("react-desc").PropTypesDescValidator;
26
+ };
27
+ checked: {
28
+ defaultValue<T = unknown>(arg: T): {
29
+ deprecated: import("react-desc").PropTypesDescValidator;
30
+ };
31
+ isRequired: import("react-desc").PropTypesDescValidator;
32
+ };
33
+ onchange: {
34
+ defaultValue<T = unknown>(arg: T): {
35
+ deprecated: import("react-desc").PropTypesDescValidator;
36
+ };
37
+ isRequired: import("react-desc").PropTypesDescValidator;
38
+ };
39
+ size: {
40
+ defaultValue<T = unknown>(arg: T): {
41
+ deprecated: import("react-desc").PropTypesDescValidator;
42
+ };
43
+ isRequired: import("react-desc").PropTypesDescValidator;
44
+ };
45
+ readOnly: {
46
+ defaultValue<T = unknown>(arg: T): {
47
+ deprecated: import("react-desc").PropTypesDescValidator;
48
+ };
49
+ isRequired: import("react-desc").PropTypesDescValidator;
50
+ };
51
+ active: {
52
+ defaultValue<T = unknown>(arg: T): {
53
+ deprecated: import("react-desc").PropTypesDescValidator;
54
+ };
55
+ isRequired: import("react-desc").PropTypesDescValidator;
56
+ };
57
+ disabled: {
58
+ defaultValue<T = unknown>(arg: T): {
59
+ deprecated: import("react-desc").PropTypesDescValidator;
60
+ };
61
+ isRequired: import("react-desc").PropTypesDescValidator;
62
+ };
63
+ containerProps: {
64
+ defaultValue<T = unknown>(arg: T): {
65
+ deprecated: import("react-desc").PropTypesDescValidator;
66
+ };
67
+ isRequired: import("react-desc").PropTypesDescValidator;
68
+ };
69
+ id: {
70
+ defaultValue<T = unknown>(arg: T): {
71
+ deprecated: import("react-desc").PropTypesDescValidator;
72
+ };
73
+ isRequired: import("react-desc").PropTypesDescValidator;
74
+ };
14
75
  };