@protonradio/proton-ui 0.4.1 → 0.4.3
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/proton-ui.es.d.ts +3 -8
- package/dist/proton-ui.es.js +1472 -1488
- package/dist/proton-ui.es.js.map +1 -1
- package/dist/proton-ui.umd.js +9 -9
- package/dist/proton-ui.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/proton-ui.es.d.ts
CHANGED
|
@@ -339,19 +339,14 @@ export { TableHeader }
|
|
|
339
339
|
|
|
340
340
|
declare type TableProps = AriaTableProps & TableStateProps<object>;
|
|
341
341
|
|
|
342
|
-
export declare const TextEmphasis: {
|
|
343
|
-
({ to, children, ...props }: TextEmphasisProps): JSX_2.Element;
|
|
344
|
-
Tooltip: ({ to, children, tooltipProps, ...props }: TextEmphasisTooltipProps) => JSX_2.Element;
|
|
345
|
-
};
|
|
342
|
+
export declare const TextEmphasis: ({ to, children, tooltipProps, "data-testid": testId, }: TextEmphasisProps) => JSX_2.Element;
|
|
346
343
|
|
|
347
344
|
declare interface TextEmphasisProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
348
345
|
to?: string;
|
|
349
346
|
onClick?: () => void;
|
|
350
|
-
children:
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
declare interface TextEmphasisTooltipProps extends TextEmphasisProps {
|
|
347
|
+
children: ReactNode;
|
|
354
348
|
tooltipProps?: Omit<TooltipTriggerProps, "children">;
|
|
349
|
+
"data-testid"?: string;
|
|
355
350
|
}
|
|
356
351
|
|
|
357
352
|
export declare type Theme = (typeof THEMES)[keyof typeof THEMES];
|