@@ -39,26 +39,18 @@ declare module "@platformatic/ui-components" {
3939 position ?: string ;
4040 }
4141
42- export interface IconsType {
43- CircleStopIcon : ComponentType < any > ;
44- RunningIcon : ComponentType < any > ;
45- [ key : string ] : string | ComponentType < any > ;
46- }
47-
4842 export const PlatformaticIcon : ComponentType < PlatformaticIconProps > ;
4943 export const CopyAndPaste : ComponentType < CopyAndPasteProps > ;
50- export const Icons : IconsType ;
51- }
5244
53- declare module "@platformatic/ui-components/src/components/icons" {
5445 interface IconProps {
5546 size ?: string ;
5647 color ?: string ;
5748 addImportantToColor ?: boolean ;
5849 className ?: string ;
5950 }
6051
61- const Icons : {
52+ export const Icons : {
53+ AppIcon : ComponentType < IconProps > ;
6254 AlertIcon : ComponentType < IconProps > ;
6355 ArrowUpIcon : ComponentType < IconProps > ;
6456 ArrowDownIcon : ComponentType < IconProps > ;
@@ -67,36 +59,6 @@ declare module "@platformatic/ui-components/src/components/icons" {
6759 [ key : string ] : ComponentType < IconProps > ;
6860 } ;
6961
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" {
10062 interface ToggleSwitchProps {
10163 label ?: string ;
10264 labelClassName ?: string ;
@@ -147,13 +109,11 @@ declare module "@platformatic/ui-components/src/components/forms" {
147109 disabled ?: boolean ;
148110 }
149111
150- const Forms : {
112+ export const Forms : {
151113 ToggleSwitch : ComponentType < ToggleSwitchProps > ;
152114 Input : ComponentType < InputProps > ;
153115 Select : ComponentType < SelectProps > ;
154116 Checkbox : ComponentType < CheckboxProps > ;
155117 RadioButton : ComponentType < RadioButtonProps > ;
156118 } ;
157-
158- export default Forms ;
159119}
0 commit comments