@@ -39,26 +39,18 @@ declare module "@platformatic/ui-components" {
39
39
position ?: string ;
40
40
}
41
41
42
- export interface IconsType {
43
- CircleStopIcon : ComponentType < any > ;
44
- RunningIcon : ComponentType < any > ;
45
- [ key : string ] : string | ComponentType < any > ;
46
- }
47
-
48
42
export const PlatformaticIcon : ComponentType < PlatformaticIconProps > ;
49
43
export const CopyAndPaste : ComponentType < CopyAndPasteProps > ;
50
- export const Icons : IconsType ;
51
- }
52
44
53
- declare module "@platformatic/ui-components/src/components/icons" {
54
45
interface IconProps {
55
46
size ?: string ;
56
47
color ?: string ;
57
48
addImportantToColor ?: boolean ;
58
49
className ?: string ;
59
50
}
60
51
61
- const Icons : {
52
+ export const Icons : {
53
+ AppIcon : ComponentType < IconProps > ;
62
54
AlertIcon : ComponentType < IconProps > ;
63
55
ArrowUpIcon : ComponentType < IconProps > ;
64
56
ArrowDownIcon : ComponentType < IconProps > ;
@@ -67,36 +59,6 @@ declare module "@platformatic/ui-components/src/components/icons" {
67
59
[ key : string ] : ComponentType < IconProps > ;
68
60
} ;
69
61
70
- export default Icons ;
71
- }
72
-
73
- declare module "@platformatic/ui-components/src/components/constants" {
74
- export const WHITE : string ;
75
- export const SMALL : string ;
76
- export const POSITION_END : string ;
77
- export const RICH_BLACK : string ;
78
- export const BLACK_RUSSIAN : string ;
79
- export const TRANSPARENT : string ;
80
- export const MARGIN_0 : string ;
81
- export const OPACITY_15 : string ;
82
- export const OPACITY_30 : string ;
83
- export const OPACITY_100 : string ;
84
- export const WARNING_YELLOW : string ;
85
- export const ANTI_FLASH_WHITE : string ;
86
- export const DULLS_BACKGROUND_COLOR : string ;
87
- export const ERROR_RED : string ;
88
- export const LARGE : string ;
89
- export const MEDIUM : string ;
90
- export const MAIN_GREEN : string ;
91
- export const BOX_SHADOW : string ;
92
- export const UNDERLINE : string ;
93
- export const MAIN_DARK_BLUE : string ;
94
- export const DIRECTION_RIGHT : string ;
95
- export const POSITION_CENTER : string ;
96
- export const TINY : string ;
97
- }
98
-
99
- declare module "@platformatic/ui-components/src/components/forms" {
100
62
interface ToggleSwitchProps {
101
63
label ?: string ;
102
64
labelClassName ?: string ;
@@ -147,13 +109,11 @@ declare module "@platformatic/ui-components/src/components/forms" {
147
109
disabled ?: boolean ;
148
110
}
149
111
150
- const Forms : {
112
+ export const Forms : {
151
113
ToggleSwitch : ComponentType < ToggleSwitchProps > ;
152
114
Input : ComponentType < InputProps > ;
153
115
Select : ComponentType < SelectProps > ;
154
116
Checkbox : ComponentType < CheckboxProps > ;
155
117
RadioButton : ComponentType < RadioButtonProps > ;
156
118
} ;
157
-
158
- export default Forms ;
159
119
}
0 commit comments