conversion-ui-library 1.0.5 → 1.0.6

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.
@@ -0,0 +1,37 @@
1
+ import * as React from "react";
2
+ export interface AppTooltipProps {
3
+ /**
4
+ * The content to display inside the tooltip
5
+ */
6
+ content: React.ReactNode;
7
+ /**
8
+ * The element that triggers the tooltip on hover
9
+ */
10
+ children: React.ReactNode;
11
+ /**
12
+ * The preferred side of the trigger to render against
13
+ * @default "top"
14
+ */
15
+ side?: "top" | "right" | "bottom" | "left";
16
+ /**
17
+ * The distance in pixels from the trigger
18
+ * @default 4
19
+ */
20
+ sideOffset?: number;
21
+ /**
22
+ * The delay in milliseconds before the tooltip appears
23
+ * @default 200
24
+ */
25
+ delayDuration?: number;
26
+ /**
27
+ * Whether the tooltip should be disabled
28
+ * @default false
29
+ */
30
+ disabled?: boolean;
31
+ /**
32
+ * Additional CSS class for the tooltip content
33
+ */
34
+ className?: string;
35
+ }
36
+ export declare const AppTooltip: React.FC<AppTooltipProps>;
37
+ //# sourceMappingURL=AppTooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/AppTooltip/AppTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuBhD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { AppTooltip } from './AppTooltip';
3
+ declare const meta: Meta<typeof AppTooltip>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppTooltip>;
6
+ export declare const Default: Story;
7
+ export declare const TopSide: Story;
8
+ export declare const RightSide: Story;
9
+ export declare const BottomSide: Story;
10
+ export declare const LeftSide: Story;
11
+ export declare const LongContent: Story;
12
+ export declare const WithCustomDelay: Story;
13
+ export declare const Disabled: Story;
14
+ export declare const AllSides: Story;
15
+ export declare const WithDifferentTriggers: Story;
16
+ //# sourceMappingURL=AppTooltip.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppTooltip.stories.d.ts","sourceRoot":"","sources":["../../../src/components/AppTooltip/AppTooltip.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CA8BjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAM7B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAiBtB,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAgBnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,QAAA,MAAM,eAAe,iDAA4B,CAAA;AAEjD,QAAA,MAAM,OAAO,yCAAwB,CAAA;AAErC,QAAA,MAAM,cAAc,gHAA2B,CAAA;AAE/C,QAAA,MAAM,cAAc,gKAalB,CAAA;AAGF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,QAAA,MAAM,eAAe,iDAA4B,CAAA;AAEjD,QAAA,MAAM,OAAO,yCAAwB,CAAA;AAErC,QAAA,MAAM,cAAc,gHAA2B,CAAA;AAE/C,QAAA,MAAM,cAAc,gKAelB,CAAA;AAGF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}