ui-mathilde-web 0.7.1 → 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.
- package/dist/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +10 -1
- package/dist/ui-mathilde-web.js +512 -508
- package/dist/ui-mathilde-web.umd.cjs +31 -31
- package/package.json +1 -1
|
@@ -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?:
|
|
128
|
+
label?: default_2.ReactNode;
|
|
128
129
|
value: string;
|
|
129
130
|
checked: boolean;
|
|
130
131
|
onChange: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -582,6 +583,14 @@ declare interface ToggleProps {
|
|
|
582
583
|
boldWhenActive?: boolean;
|
|
583
584
|
}
|
|
584
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
|
+
|
|
585
594
|
declare interface ValidationListProps {
|
|
586
595
|
validations: {
|
|
587
596
|
hasMinLength: boolean;
|