@elliemae/ds-separator 2.0.0-rc.6 → 2.0.0

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-separator",
3
- "version": "2.0.0-rc.6",
3
+ "version": "2.0.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Separator",
6
6
  "module": "./esm/index.js",
@@ -36,7 +36,7 @@
36
36
  "build": "node ../../scripts/build/build.js"
37
37
  },
38
38
  "dependencies": {
39
- "@elliemae/ds-classnames": "2.0.0-rc.6",
39
+ "@elliemae/ds-classnames": "2.0.0",
40
40
  "react-desc": "~4.1.3"
41
41
  },
42
42
  "peerDependencies": {
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  declare const DSSeparator: {
3
4
  ({ containerProps, dashed, margin, orientation, type, position, className, style, }: {
@@ -20,33 +21,86 @@ declare const DSSeparator: {
20
21
  };
21
22
  propTypes: {
22
23
  /** class for separator */
23
- className: any;
24
+ className: {
25
+ defaultValue<T = unknown>(arg: T): {
26
+ deprecated: import("react-desc").PropTypesDescValidator;
27
+ };
28
+ isRequired: import("react-desc").PropTypesDescValidator;
29
+ };
24
30
  /** style object for separator */
25
- style: any;
31
+ style: {
32
+ defaultValue<T = unknown>(arg: T): {
33
+ deprecated: import("react-desc").PropTypesDescValidator;
34
+ };
35
+ isRequired: import("react-desc").PropTypesDescValidator;
36
+ };
26
37
  /** Injected props to wrapper element of component */
27
- containerProps: any;
38
+ containerProps: {
39
+ defaultValue<T = unknown>(arg: T): {
40
+ deprecated: import("react-desc").PropTypesDescValidator;
41
+ };
42
+ isRequired: import("react-desc").PropTypesDescValidator;
43
+ };
28
44
  /**
29
45
  * If the separator has to be dashed or solid
30
46
  */
31
- dashed: any;
47
+ dashed: {
48
+ defaultValue<T = unknown>(arg: T): {
49
+ deprecated: import("react-desc").PropTypesDescValidator;
50
+ };
51
+ isRequired: import("react-desc").PropTypesDescValidator;
52
+ };
32
53
  /**
33
54
  * Amount of margin to be added to the separator
34
55
  */
35
- margin: any;
56
+ margin: {
57
+ defaultValue<T = unknown>(arg: T): {
58
+ deprecated: import("react-desc").PropTypesDescValidator;
59
+ };
60
+ isRequired: import("react-desc").PropTypesDescValidator;
61
+ };
36
62
  /**
37
63
  * Orientation 'horizontal' or 'vertical'
38
64
  */
39
- orientation: any;
65
+ orientation: {
66
+ defaultValue<T = unknown>(arg: T): {
67
+ deprecated: import("react-desc").PropTypesDescValidator;
68
+ };
69
+ isRequired: import("react-desc").PropTypesDescValidator;
70
+ };
40
71
  /**
41
72
  * ['category-level', 'group-level', 'non-form']
42
73
  */
43
- type: any;
74
+ type: {
75
+ defaultValue<T = unknown>(arg: T): {
76
+ deprecated: import("react-desc").PropTypesDescValidator;
77
+ };
78
+ isRequired: import("react-desc").PropTypesDescValidator;
79
+ };
44
80
  /**
45
81
  * ['initial', 'center', 'end']
46
82
  */
47
- position: any;
83
+ position: {
84
+ defaultValue<T = unknown>(arg: T): {
85
+ deprecated: import("react-desc").PropTypesDescValidator;
86
+ };
87
+ isRequired: import("react-desc").PropTypesDescValidator;
88
+ };
48
89
  };
49
90
  };
50
- declare const DSSeparatorWithSchema: any;
91
+ declare const DSSeparatorWithSchema: {
92
+ (props?: {
93
+ containerProps: any;
94
+ dashed: any;
95
+ margin: any;
96
+ orientation: any;
97
+ type: any;
98
+ position: any;
99
+ className: any;
100
+ style: any;
101
+ } | undefined): JSX.Element;
102
+ propTypes: unknown;
103
+ toTypescript: () => import("react-desc").TypescriptSchema;
104
+ };
51
105
  export { DSSeparator, DSSeparatorWithSchema };
52
106
  export default DSSeparator;