@elliemae/ds-ribbon 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/DSRibbon.d.ts +91 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-ribbon",
3
- "version": "2.0.0-rc.6",
3
+ "version": "2.0.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Ribbon",
6
6
  "module": "./esm/index.js",
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  declare function RibbonCard({ containerProps, icon, label, value, additionalValue, additionalLabel, info, error, warning, success, center, solid, }: {
3
4
  containerProps?: {} | undefined;
@@ -16,29 +17,89 @@ declare function RibbonCard({ containerProps, icon, label, value, additionalValu
16
17
  declare namespace RibbonCard {
17
18
  var propTypes: {
18
19
  /** props to inject to wrapper */
19
- containerProps: any;
20
+ containerProps: {
21
+ defaultValue<T = unknown>(arg: T): {
22
+ deprecated: import("react-desc").PropTypesDescValidator;
23
+ };
24
+ isRequired: import("react-desc").PropTypesDescValidator;
25
+ };
20
26
  /** icon for ribbon card */
21
- icon: any;
27
+ icon: {
28
+ defaultValue<T = unknown>(arg: T): {
29
+ deprecated: import("react-desc").PropTypesDescValidator;
30
+ };
31
+ isRequired: import("react-desc").PropTypesDescValidator;
32
+ };
22
33
  /** label for ribbon card */
23
- label: any;
34
+ label: {
35
+ defaultValue<T = unknown>(arg: T): {
36
+ deprecated: import("react-desc").PropTypesDescValidator;
37
+ };
38
+ isRequired: import("react-desc").PropTypesDescValidator;
39
+ };
24
40
  /** value for ribbon */
25
- value: any;
41
+ value: {
42
+ defaultValue<T = unknown>(arg: T): {
43
+ deprecated: import("react-desc").PropTypesDescValidator;
44
+ };
45
+ isRequired: import("react-desc").PropTypesDescValidator;
46
+ };
26
47
  /** additional value */
27
- additionalValue: any;
48
+ additionalValue: {
49
+ defaultValue<T = unknown>(arg: T): {
50
+ deprecated: import("react-desc").PropTypesDescValidator;
51
+ };
52
+ isRequired: import("react-desc").PropTypesDescValidator;
53
+ };
28
54
  /** additional label */
29
- additionalLabel: any;
55
+ additionalLabel: {
56
+ defaultValue<T = unknown>(arg: T): {
57
+ deprecated: import("react-desc").PropTypesDescValidator;
58
+ };
59
+ isRequired: import("react-desc").PropTypesDescValidator;
60
+ };
30
61
  /** for main label */
31
- info: any;
62
+ info: {
63
+ defaultValue<T = unknown>(arg: T): {
64
+ deprecated: import("react-desc").PropTypesDescValidator;
65
+ };
66
+ isRequired: import("react-desc").PropTypesDescValidator;
67
+ };
32
68
  /** error state toggle */
33
- error: any;
69
+ error: {
70
+ defaultValue<T = unknown>(arg: T): {
71
+ deprecated: import("react-desc").PropTypesDescValidator;
72
+ };
73
+ isRequired: import("react-desc").PropTypesDescValidator;
74
+ };
34
75
  /** warning state toggle */
35
- warning: any;
76
+ warning: {
77
+ defaultValue<T = unknown>(arg: T): {
78
+ deprecated: import("react-desc").PropTypesDescValidator;
79
+ };
80
+ isRequired: import("react-desc").PropTypesDescValidator;
81
+ };
36
82
  /** success state toggle */
37
- success: any;
83
+ success: {
84
+ defaultValue<T = unknown>(arg: T): {
85
+ deprecated: import("react-desc").PropTypesDescValidator;
86
+ };
87
+ isRequired: import("react-desc").PropTypesDescValidator;
88
+ };
38
89
  /** align center */
39
- center: any;
90
+ center: {
91
+ defaultValue<T = unknown>(arg: T): {
92
+ deprecated: import("react-desc").PropTypesDescValidator;
93
+ };
94
+ isRequired: import("react-desc").PropTypesDescValidator;
95
+ };
40
96
  /** solid style */
41
- solid: any;
97
+ solid: {
98
+ defaultValue<T = unknown>(arg: T): {
99
+ deprecated: import("react-desc").PropTypesDescValidator;
100
+ };
101
+ isRequired: import("react-desc").PropTypesDescValidator;
102
+ };
42
103
  };
43
104
  }
44
105
  declare const DSRibbon: {
@@ -47,6 +108,23 @@ declare const DSRibbon: {
47
108
  RibbonCol: any;
48
109
  RibbonCard: typeof RibbonCard;
49
110
  };
50
- declare const DSRibbonCardWithSchema: any;
111
+ declare const DSRibbonCardWithSchema: {
112
+ (props?: {
113
+ containerProps?: {} | undefined;
114
+ icon?: null | undefined;
115
+ label?: string | undefined;
116
+ value?: string | undefined;
117
+ additionalValue?: string | undefined;
118
+ additionalLabel?: string | undefined;
119
+ info?: boolean | undefined;
120
+ error?: boolean | undefined;
121
+ warning?: boolean | undefined;
122
+ success?: boolean | undefined;
123
+ center?: boolean | undefined;
124
+ solid?: boolean | undefined;
125
+ } | undefined): JSX.Element;
126
+ propTypes: unknown;
127
+ toTypescript: () => import("react-desc").TypescriptSchema;
128
+ };
51
129
  export default DSRibbon;
52
130
  export { DSRibbonCardWithSchema };