@clasing/ui 0.0.45 → 0.0.47

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
@@ -1,4 +1,5 @@
1
1
  import { ClassProp } from 'class-variance-authority/types';
2
+ import { default as default_2 } from 'react';
2
3
  import { JSX as JSX_2 } from 'react/jsx-runtime';
3
4
  import * as TablerIcons from '@tabler/icons-react';
4
5
  import { VariantProps } from 'class-variance-authority';
@@ -80,6 +81,14 @@ declare interface IIconComponentProps {
80
81
  className?: string;
81
82
  }
82
83
 
84
+ declare interface IPopoverProps {
85
+ children: default_2.ReactNode;
86
+ trigger: JSX.Element;
87
+ open?: boolean;
88
+ placement?: PopoverPlacement;
89
+ closeOnAction?: boolean;
90
+ }
91
+
83
92
  declare interface IProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof progressBarStyles> {
84
93
  progress: number;
85
94
  }
@@ -93,6 +102,10 @@ declare interface ITextProps extends React.HTMLAttributes<HTMLSpanElement>, Vari
93
102
  className?: string;
94
103
  }
95
104
 
105
+ export declare const Popover: ({ children, trigger, open, placement, closeOnAction, }: IPopoverProps) => JSX_2.Element;
106
+
107
+ declare type PopoverPlacement = 'top' | 'bottom' | 'left' | 'right' | 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
108
+
96
109
  export declare const ProgressBar: ({ progress, className, intent, size, rounded, ...props }: IProgressBarProps) => JSX_2.Element;
97
110
 
98
111
  declare const progressBarStyles: (props?: ({