ui-mathilde-web 0.7.0 → 0.8.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.
@@ -4,6 +4,7 @@ import { ForwardRefExoticComponent } from 'react';
4
4
  import { IconType } from 'react-icons';
5
5
  import { JSX as JSX_2 } from 'react/jsx-runtime';
6
6
  import * as React_2 from 'react';
7
+ import { ReactNode } from 'react';
7
8
  import { RefAttributes } from 'react';
8
9
 
9
10
  export declare const Accordion: default_2.FC<AccordionProps>;
@@ -124,7 +125,7 @@ declare interface CardProps {
124
125
  export declare const Checkbox: default_2.FC<CheckboxProps>;
125
126
 
126
127
  declare interface CheckboxProps {
127
- label?: string;
128
+ label?: default_2.ReactNode;
128
129
  value: string;
129
130
  checked: boolean;
130
131
  onChange: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
@@ -413,6 +414,7 @@ declare interface SelectFormProps extends React.SelectHTMLAttributes<HTMLSelectE
413
414
  error?: string;
414
415
  id: string;
415
416
  classSelect?: string;
417
+ classDiv?: string;
416
418
  }
417
419
 
418
420
  export declare const SidebarPro: default_2.FC<SidebarProProps>;
@@ -581,6 +583,14 @@ declare interface ToggleProps {
581
583
  boldWhenActive?: boolean;
582
584
  }
583
585
 
586
+ export declare function TooltipComponent({ content, trigger, children }: TooltipProps): JSX_2.Element;
587
+
588
+ declare interface TooltipProps {
589
+ content: string;
590
+ trigger: 'hover' | 'click';
591
+ children?: ReactNode;
592
+ }
593
+
584
594
  declare interface ValidationListProps {
585
595
  validations: {
586
596
  hasMinLength: boolean;