@nulogy/components 14.4.0 → 14.4.1
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/main.js +124 -161
- package/dist/main.module.js +129 -166
- package/dist/src/AppTag/stories/AppTag.usecases.story.d.ts +4 -0
- package/dist/src/Icon/Icon.d.ts +1 -1
- package/dist/src/TruncatedText/TruncatedText.d.ts +1 -1
- package/dist/src/TruncatedText/TruncatedText.story.d.ts +4 -0
- package/dist/src/TruncatedText/components/MaybeTooltip.d.ts +1 -1
- package/dist/src/TruncatedText/components/TooltipComponents.d.ts +4 -1
- package/dist/src/TruncatedText/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/src/Icon/Icon.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { PositionProps, SpaceProps } from "styled-system";
|
|
3
3
|
import { IconName } from "@nulogy/icons";
|
|
4
|
-
interface IconProps extends SpaceProps {
|
|
4
|
+
export interface IconProps extends SpaceProps {
|
|
5
5
|
icon: IconName | "loading";
|
|
6
6
|
className?: string;
|
|
7
7
|
size?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TruncatedTextProps } from "./types";
|
|
3
|
-
declare const TruncatedText: ({ indicator, element, maxCharacters, fullWidth, showTooltip, "data-testid": dataTestId, children, ...
|
|
3
|
+
declare const TruncatedText: ({ indicator, element, maxCharacters, fullWidth, showTooltip, "data-testid": dataTestId, children, ...rest }: TruncatedTextProps) => React.JSX.Element;
|
|
4
4
|
export default TruncatedText;
|
|
@@ -10,5 +10,5 @@ export type MaybeTooltipProps = PropsWithChildren<{
|
|
|
10
10
|
maxWidth?: MaxWidthProps["maxWidth"];
|
|
11
11
|
supportMobileTap?: boolean;
|
|
12
12
|
}>;
|
|
13
|
-
declare
|
|
13
|
+
declare function MaybeTooltip({ tooltip, children, placement, defaultOpen, showDelay, maxWidth, showTooltip, supportMobileTap, className, }: MaybeTooltipProps): React.JSX.Element;
|
|
14
14
|
export default MaybeTooltip;
|
|
@@ -5,7 +5,10 @@ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
|
5
5
|
type TooltipProps = TooltipPrimitive.TooltipProps & {
|
|
6
6
|
supportMobileTap?: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
8
|
+
declare function Tooltip({ children, ...props }: TooltipProps): React.JSX.Element;
|
|
9
|
+
declare namespace Tooltip {
|
|
10
|
+
var displayName: string;
|
|
11
|
+
}
|
|
9
12
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
13
|
interface StyledTooltipContentProps extends React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>, MaxWidthProps {
|
|
11
14
|
children?: React.ReactNode;
|