@clasing/ui 0.0.60 → 0.0.61-beta.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/dist/index.d.ts CHANGED
@@ -106,6 +106,27 @@ declare interface IIconComponentProps {
106
106
  className?: string;
107
107
  }
108
108
 
109
+ export declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
110
+
111
+ declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
112
+ label?: string;
113
+ helperText?: string;
114
+ error?: string;
115
+ touched?: boolean;
116
+ iconName?: {
117
+ name: TablerIconName;
118
+ stroke?: number;
119
+ } | TablerIconName;
120
+ }
121
+
122
+ declare interface IPopoverProps {
123
+ children: default_2.ReactNode;
124
+ trigger: JSX.Element;
125
+ open?: boolean;
126
+ placement?: PopoverPlacement;
127
+ closeOnAction?: boolean;
128
+ }
129
+
109
130
  declare interface IProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof progressBarStyles> {
110
131
  progress: number;
111
132
  }
@@ -119,6 +140,19 @@ declare interface ITextProps extends React.HTMLAttributes<HTMLSpanElement>, Vari
119
140
  className?: string;
120
141
  }
121
142
 
143
+ export declare const Modal: ({ className, children, isOpen, setIsOpen, }: ModalProps) => JSX_2.Element;
144
+
145
+ declare interface ModalProps {
146
+ className?: string;
147
+ children: React.ReactNode;
148
+ isOpen: boolean;
149
+ setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
150
+ }
151
+
152
+ export declare const Popover: ({ children, trigger, open, placement, closeOnAction, }: IPopoverProps) => JSX_2.Element;
153
+
154
+ declare type PopoverPlacement = 'top' | 'bottom' | 'left' | 'right' | 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
155
+
122
156
  export declare const ProgressBar: ({ progress, className, intent, size, rounded, ...props }: IProgressBarProps) => JSX_2.Element;
123
157
 
124
158
  declare const progressBarStyles: (props?: ({
@@ -135,7 +169,7 @@ declare const Text_2: ({ as, intent, className, weight, ...props }: ITextProps)
135
169
  export { Text_2 as Text }
136
170
 
137
171
  declare const textStyles: (props?: ({
138
- intent?: "display-sm" | "display-lg" | "title-xs" | "title-sm" | "title-md" | "title-lg" | "title-xl" | "label-xs" | "label-sm" | "label-md" | "label-lg" | "label-xl" | "label-2xl" | "label-3xl" | "paragraph-xs" | "paragraph-sm" | "paragraph-md" | "paragraph-lg" | "overline-sm" | "overline-lg" | null | undefined;
172
+ intent?: "label-md" | "display-sm" | "display-lg" | "title-xs" | "title-sm" | "title-md" | "title-lg" | "title-xl" | "label-xs" | "label-sm" | "label-lg" | "label-xl" | "label-2xl" | "label-3xl" | "paragraph-xs" | "paragraph-sm" | "paragraph-md" | "paragraph-lg" | "overline-sm" | "overline-lg" | null | undefined;
139
173
  weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
140
174
  } & ClassProp) | undefined) => string;
141
175