@elliemae/ds-dialog 2.2.0-alpha.4 → 3.0.0-next.2
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/cjs/DSDialog.js +101 -83
- package/cjs/DSDialogDatatestid.js +8 -36
- package/cjs/DSDialogInternalTypes.d.js +2 -27
- package/cjs/DSDialogTypes.js +2 -27
- package/cjs/defaultProps.js +11 -38
- package/cjs/index.js +70 -47
- package/cjs/propTypes.js +31 -45
- package/cjs/styles.js +119 -148
- package/cjs/utils.js +30 -50
- package/esm/DSDialog.js +80 -45
- package/esm/DSDialogDatatestid.js +4 -7
- package/esm/DSDialogInternalTypes.d.js +1 -2
- package/esm/DSDialogTypes.js +1 -2
- package/esm/defaultProps.js +6 -8
- package/esm/index.js +46 -28
- package/esm/propTypes.js +23 -16
- package/esm/styles.js +100 -120
- package/esm/utils.js +23 -21
- package/package.json +4 -7
- package/types/DSDialog.d.ts +2166 -3
- package/types/index.d.ts +148 -1
- package/types/propTypes.d.ts +2166 -3
- package/types/styles.d.ts +13 -12
- package/cjs/DSDialog.js.map +0 -7
- package/cjs/DSDialogDatatestid.js.map +0 -7
- package/cjs/DSDialogInternalTypes.d.js.map +0 -7
- package/cjs/DSDialogTypes.js.map +0 -7
- package/cjs/defaultProps.js.map +0 -7
- package/cjs/index.js.map +0 -7
- package/cjs/propTypes.js.map +0 -7
- package/cjs/styles.js.map +0 -7
- package/cjs/utils.js.map +0 -7
- package/esm/DSDialog.js.map +0 -7
- package/esm/DSDialogDatatestid.js.map +0 -7
- package/esm/DSDialogInternalTypes.d.js.map +0 -7
- package/esm/DSDialogTypes.js.map +0 -7
- package/esm/defaultProps.js.map +0 -7
- package/esm/index.js.map +0 -7
- package/esm/propTypes.js.map +0 -7
- package/esm/styles.js.map +0 -7
- package/esm/utils.js.map +0 -7
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,151 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { DSDialogBody, DSDialogHeader, DSDialogFooter, DSDialogSeparator, DSDialogTitle, DSDialogAddon, DSDialogDefaultLayout, DSDialogPrimaryMessage, DSDialogSecondaryMessage } from './styles';
|
|
4
|
+
declare const DSDialogBodyWithSchema: {
|
|
5
|
+
(props?: (({
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
[x: number]: any;
|
|
8
|
+
[x: symbol]: any;
|
|
9
|
+
} & {
|
|
10
|
+
theme?: import("@xstyled/system").Theme | undefined;
|
|
11
|
+
} & ({} | {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
})) & {
|
|
14
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
15
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
16
|
+
}) | undefined): JSX.Element;
|
|
17
|
+
propTypes: unknown;
|
|
18
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
19
|
+
};
|
|
20
|
+
declare const DSDialogHeaderWithSchema: {
|
|
21
|
+
(props?: (({
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
[x: number]: any;
|
|
24
|
+
[x: symbol]: any;
|
|
25
|
+
} & {
|
|
26
|
+
theme?: import("@xstyled/system").Theme | undefined;
|
|
27
|
+
} & ({} | {
|
|
28
|
+
children?: import("react").ReactNode;
|
|
29
|
+
})) & {
|
|
30
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
31
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
32
|
+
}) | undefined): JSX.Element;
|
|
33
|
+
propTypes: unknown;
|
|
34
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
35
|
+
};
|
|
36
|
+
declare const DSDialogFooterWithSchema: {
|
|
37
|
+
(props?: (({
|
|
38
|
+
[x: string]: any;
|
|
39
|
+
[x: number]: any;
|
|
40
|
+
[x: symbol]: any;
|
|
41
|
+
} & {
|
|
42
|
+
theme?: import("@xstyled/system").Theme | undefined;
|
|
43
|
+
} & ({} | {
|
|
44
|
+
children?: import("react").ReactNode;
|
|
45
|
+
})) & {
|
|
46
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
47
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
48
|
+
}) | undefined): JSX.Element;
|
|
49
|
+
propTypes: unknown;
|
|
50
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
51
|
+
};
|
|
52
|
+
declare const DSDialogSeparatorWithSchema: {
|
|
53
|
+
(props?: (({
|
|
54
|
+
[x: string]: any;
|
|
55
|
+
[x: number]: any;
|
|
56
|
+
[x: symbol]: any;
|
|
57
|
+
} & {
|
|
58
|
+
theme?: import("@xstyled/system").Theme | undefined;
|
|
59
|
+
} & ({} | {
|
|
60
|
+
children?: import("react").ReactNode;
|
|
61
|
+
})) & {
|
|
62
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
63
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
64
|
+
}) | undefined): JSX.Element;
|
|
65
|
+
propTypes: unknown;
|
|
66
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
67
|
+
};
|
|
68
|
+
declare const DSDialogTitleWithSchema: {
|
|
69
|
+
(props?: (({
|
|
70
|
+
[x: string]: any;
|
|
71
|
+
[x: number]: any;
|
|
72
|
+
[x: symbol]: any;
|
|
73
|
+
} & {
|
|
74
|
+
theme?: import("@xstyled/system").Theme | undefined;
|
|
75
|
+
} & ({} | {
|
|
76
|
+
children?: import("react").ReactNode;
|
|
77
|
+
})) & {
|
|
78
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
79
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
80
|
+
}) | undefined): JSX.Element;
|
|
81
|
+
propTypes: unknown;
|
|
82
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
83
|
+
};
|
|
84
|
+
declare const DSDialogAddonWithSchema: {
|
|
85
|
+
(props?: (({
|
|
86
|
+
[x: string]: any;
|
|
87
|
+
[x: number]: any;
|
|
88
|
+
[x: symbol]: any;
|
|
89
|
+
} & {
|
|
90
|
+
theme?: import("@xstyled/system").Theme | undefined;
|
|
91
|
+
} & ({} | {
|
|
92
|
+
children?: import("react").ReactNode;
|
|
93
|
+
})) & {
|
|
94
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
95
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
96
|
+
}) | undefined): JSX.Element;
|
|
97
|
+
propTypes: unknown;
|
|
98
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
99
|
+
};
|
|
100
|
+
declare const DSDialogDefaultLayoutWithSchema: {
|
|
101
|
+
(props?: (({
|
|
102
|
+
[x: string]: any;
|
|
103
|
+
[x: number]: any;
|
|
104
|
+
[x: symbol]: any;
|
|
105
|
+
} & {
|
|
106
|
+
theme?: import("@xstyled/system").Theme | undefined;
|
|
107
|
+
} & ({} | {
|
|
108
|
+
children?: import("react").ReactNode;
|
|
109
|
+
})) & {
|
|
110
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
111
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
112
|
+
}) | undefined): JSX.Element;
|
|
113
|
+
propTypes: unknown;
|
|
114
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
115
|
+
};
|
|
116
|
+
declare const DSDialogPrimaryMessageWithSchema: {
|
|
117
|
+
(props?: (({
|
|
118
|
+
[x: string]: any;
|
|
119
|
+
[x: number]: any;
|
|
120
|
+
[x: symbol]: any;
|
|
121
|
+
} & {
|
|
122
|
+
theme?: import("@xstyled/system").Theme | undefined;
|
|
123
|
+
} & ({} | {
|
|
124
|
+
children?: import("react").ReactNode;
|
|
125
|
+
})) & {
|
|
126
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
127
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
128
|
+
}) | undefined): JSX.Element;
|
|
129
|
+
propTypes: unknown;
|
|
130
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
131
|
+
};
|
|
132
|
+
declare const DSDialogSecondaryMessageWithSchema: {
|
|
133
|
+
(props?: (({
|
|
134
|
+
[x: string]: any;
|
|
135
|
+
[x: number]: any;
|
|
136
|
+
[x: symbol]: any;
|
|
137
|
+
} & {
|
|
138
|
+
theme?: import("@xstyled/system").Theme | undefined;
|
|
139
|
+
} & ({} | {
|
|
140
|
+
children?: import("react").ReactNode;
|
|
141
|
+
})) & {
|
|
142
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
143
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
144
|
+
}) | undefined): JSX.Element;
|
|
145
|
+
propTypes: unknown;
|
|
146
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
147
|
+
};
|
|
1
148
|
export * from './DSDialog';
|
|
2
149
|
export * from './DSDialogDatatestid';
|
|
3
150
|
export { DSDialogSizes } from './utils';
|
|
4
|
-
export { DSDialogBody, DSDialogHeader, DSDialogFooter, DSDialogSeparator, DSDialogTitle, DSDialogAddon, DSDialogDefaultLayout, DSDialogPrimaryMessage, DSDialogSecondaryMessage,
|
|
151
|
+
export { DSDialogBody, DSDialogHeader, DSDialogFooter, DSDialogSeparator, DSDialogTitle, DSDialogAddon, DSDialogDefaultLayout, DSDialogPrimaryMessage, DSDialogSecondaryMessage, DSDialogBodyWithSchema, DSDialogHeaderWithSchema, DSDialogFooterWithSchema, DSDialogSeparatorWithSchema, DSDialogTitleWithSchema, DSDialogAddonWithSchema, DSDialogDefaultLayoutWithSchema, DSDialogPrimaryMessageWithSchema, DSDialogSecondaryMessageWithSchema, };
|