@purpurds/tooltip 7.5.0 → 7.5.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/.rush/temp/chunked-rush-logs/tooltip.test_unit.chunks.jsonl +4 -4
- package/.rush/temp/ci_build/@purpurds/tooltip/{298489b2ab2e2a6dd18f6555393166cf70eec1f3.untar.log → 18cb7f75147d9815bdfde963e9305ca6889b1c4a.untar.log} +2 -2
- package/.rush/temp/operation/ci_build/all.log +4 -4
- package/.rush/temp/operation/ci_build/log-chunks.jsonl +4 -4
- package/.rush/temp/operation/ci_build/state.json +1 -1
- package/.rush/temp/operation/test_unit/all.log +4 -4
- package/.rush/temp/operation/test_unit/log-chunks.jsonl +4 -4
- package/.rush/temp/operation/test_unit/state.json +1 -1
- package/.rush/temp/shrinkwrap-deps.json +1 -2
- package/dist/LICENSE.txt +4 -4
- package/dist/tooltip.cjs.js.map +1 -1
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.es.js.map +1 -1
- package/package.json +6 -6
- package/src/tooltip.stories.tsx +2 -2
- package/src/tooltip.test.tsx +1 -1
- package/src/tooltip.tsx +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@purpurds/tooltip",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.1",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"main": "./dist/tooltip.cjs.js",
|
|
6
6
|
"types": "./dist/tooltip.d.ts",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@radix-ui/react-tooltip": "~1.1.8",
|
|
19
19
|
"classnames": "~2.5.0",
|
|
20
|
-
"@purpurds/button": "7.5.
|
|
21
|
-
"@purpurds/
|
|
22
|
-
"@purpurds/
|
|
23
|
-
"@purpurds/
|
|
24
|
-
"@purpurds/
|
|
20
|
+
"@purpurds/button": "7.5.1",
|
|
21
|
+
"@purpurds/paragraph": "7.5.1",
|
|
22
|
+
"@purpurds/icon": "7.5.1",
|
|
23
|
+
"@purpurds/tokens": "7.5.1",
|
|
24
|
+
"@purpurds/action": "7.5.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"eslint": "9.24.0",
|
package/src/tooltip.stories.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
2
|
import { SIZE } from "@purpurds/action";
|
|
3
3
|
import { Button, BUTTON_VARIANT } from "@purpurds/button";
|
|
4
4
|
import { IconPetDog } from "@purpurds/icon/pet-dog";
|
|
@@ -10,7 +10,7 @@ import "@purpurds/paragraph/styles";
|
|
|
10
10
|
import { Tooltip, TOOLTIP_ALIGN, TOOLTIP_POSITION } from "./tooltip";
|
|
11
11
|
|
|
12
12
|
const meta = {
|
|
13
|
-
title: "
|
|
13
|
+
title: "Dialogs and Overlays/Tooltip",
|
|
14
14
|
component: Tooltip,
|
|
15
15
|
decorators: [
|
|
16
16
|
(Story) => (
|
package/src/tooltip.test.tsx
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import userEvent from "@testing-library/user-event";
|
|
11
11
|
import { afterEach, describe, expect, it } from "vitest";
|
|
12
12
|
|
|
13
|
-
import { Tooltip, TooltipProps } from "./tooltip";
|
|
13
|
+
import { Tooltip, type TooltipProps } from "./tooltip";
|
|
14
14
|
|
|
15
15
|
class ResizeObserver {
|
|
16
16
|
observe() {
|
package/src/tooltip.tsx
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, {
|
|
2
2
|
Children,
|
|
3
|
-
ForwardedRef,
|
|
3
|
+
type ForwardedRef,
|
|
4
4
|
forwardRef,
|
|
5
|
-
HTMLAttributes,
|
|
6
|
-
ReactNode,
|
|
5
|
+
type HTMLAttributes,
|
|
6
|
+
type ReactNode,
|
|
7
7
|
useState,
|
|
8
8
|
} from "react";
|
|
9
|
-
import { Size } from "@purpurds/action";
|
|
9
|
+
import { type Size } from "@purpurds/action";
|
|
10
10
|
import { Button, BUTTON_VARIANT } from "@purpurds/button";
|
|
11
11
|
import { IconInfo } from "@purpurds/icon/info";
|
|
12
12
|
import { Paragraph, ParagraphVariant } from "@purpurds/paragraph";
|