@versini/ui-types 1.1.0 → 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/dist/index.d.ts +4 -21
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,5 @@
|
|
|
1
1
|
import React$1 from 'react';
|
|
2
2
|
|
|
3
|
-
declare namespace SpacingTypes {
|
|
4
|
-
export type Types =
|
|
5
|
-
| undefined
|
|
6
|
-
| string
|
|
7
|
-
| number
|
|
8
|
-
| {
|
|
9
|
-
b?: number;
|
|
10
|
-
l?: number;
|
|
11
|
-
r?: number;
|
|
12
|
-
t?: number;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export type Props = {
|
|
16
|
-
spacing?: Types;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
3
|
type CommonButtonProps = {
|
|
21
4
|
/**
|
|
22
5
|
* CSS class(es) to add to the main component wrapper.
|
|
@@ -59,7 +42,7 @@ type CommonButtonProps = {
|
|
|
59
42
|
* The rounded style of the Button.
|
|
60
43
|
*/
|
|
61
44
|
radius?: "small" | "medium" | "large";
|
|
62
|
-
}
|
|
45
|
+
};
|
|
63
46
|
|
|
64
47
|
declare namespace ButtonTypes {
|
|
65
48
|
export type Props = {
|
|
@@ -204,7 +187,7 @@ declare namespace CardTypes {
|
|
|
204
187
|
* @default false
|
|
205
188
|
*/
|
|
206
189
|
noBorder?: boolean;
|
|
207
|
-
}
|
|
190
|
+
};
|
|
208
191
|
|
|
209
192
|
export type HeaderProps = {
|
|
210
193
|
className: string;
|
|
@@ -346,7 +329,7 @@ declare namespace SvgIconTypes {
|
|
|
346
329
|
* The viewBox to use. If not provided, the default viewBox will be used.
|
|
347
330
|
*/
|
|
348
331
|
viewBox?: string;
|
|
349
|
-
}
|
|
332
|
+
};
|
|
350
333
|
}
|
|
351
334
|
|
|
352
|
-
export { ButtonIconTypes, ButtonLinkTypes, ButtonSortTypes, ButtonTypes, CardTypes, LiveRegionTypes, ModalTypes,
|
|
335
|
+
export { ButtonIconTypes, ButtonLinkTypes, ButtonSortTypes, ButtonTypes, CardTypes, LiveRegionTypes, ModalTypes, SvgIconTypes };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"react": "^18.3.1 || ^19.0.0",
|
|
33
33
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "1ac4ef9fd8d68f6e247711f623af2f6bec72df23"
|
|
36
36
|
}
|