@payfit/unity-components 2.39.1 → 2.40.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.
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { uyTv as
|
|
2
|
+
import { forwardRef as u } from "react";
|
|
3
|
+
import { uyTv as r } from "@payfit/unity-themes";
|
|
4
4
|
import { Focusable as l } from "react-aria-components/Focusable";
|
|
5
|
-
import { Text as
|
|
6
|
-
import { Tooltip as
|
|
7
|
-
const
|
|
5
|
+
import { Text as s } from "../text/Text.js";
|
|
6
|
+
import { Tooltip as f } from "../tooltip/Tooltip.js";
|
|
7
|
+
const c = r({
|
|
8
8
|
base: [
|
|
9
9
|
"uy:text-content-neutral-enabled uy:rounded-50 uy:py-75",
|
|
10
10
|
"uy:hover:text-content-neutral-hover",
|
|
11
11
|
"uy:active:text-content-neutral-active",
|
|
12
|
-
"uy:focus-visible:outline-2 uy:focus-visible:outline-solid uy:focus-visible:outline-offset-2 uy:focus-visible:outline-utility-focus-ring"
|
|
12
|
+
"uy:focus-visible:outline-2 uy:focus-visible:outline-solid uy:focus-visible:outline-offset-2 uy:focus-visible:outline-utility-focus-ring uy:focus-visible:text-content-neutral-focus"
|
|
13
13
|
]
|
|
14
|
-
}),
|
|
15
|
-
({ children: t, title:
|
|
16
|
-
|
|
14
|
+
}), a = u(
|
|
15
|
+
({ children: t, title: e, asElement: i = "span", ...n }, m) => /* @__PURE__ */ o(f, { title: e, ...n, children: /* @__PURE__ */ o(l, { children: /* @__PURE__ */ o(
|
|
16
|
+
s,
|
|
17
17
|
{
|
|
18
18
|
variant: "actionInfo",
|
|
19
|
-
asElement:
|
|
19
|
+
asElement: i,
|
|
20
20
|
role: "button",
|
|
21
|
-
className:
|
|
21
|
+
className: c(),
|
|
22
22
|
children: t
|
|
23
23
|
}
|
|
24
24
|
) }) })
|
|
25
25
|
);
|
|
26
|
-
|
|
26
|
+
a.displayName = "DefinitionTooltip";
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
a as DefinitionTooltip
|
|
29
29
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.40.0",
|
|
4
4
|
"module": "./dist/esm/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@hookform/devtools": "4.4.0",
|
|
44
44
|
"@hookform/resolvers": "5.2.1",
|
|
45
45
|
"@internationalized/date": "3.12.1",
|
|
46
|
-
"@payfit/unity-illustrations": "2.
|
|
46
|
+
"@payfit/unity-illustrations": "2.40.0",
|
|
47
47
|
"@radix-ui/react-avatar": "1.1.11",
|
|
48
48
|
"@radix-ui/react-slot": "1.2.4",
|
|
49
49
|
"@react-aria/interactions": "3.28.0",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@hookform/devtools": "^4",
|
|
78
|
-
"@payfit/unity-icons": "2.
|
|
79
|
-
"@payfit/unity-themes": "2.
|
|
78
|
+
"@payfit/unity-icons": "2.40.0",
|
|
79
|
+
"@payfit/unity-themes": "2.40.0",
|
|
80
80
|
"@storybook/react-vite": "^10.3.2",
|
|
81
81
|
"@tanstack/react-query": "^5",
|
|
82
82
|
"@tanstack/react-router": "^1.131",
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
"@github-ui/storybook-addon-performance-panel": "1.1.4",
|
|
92
92
|
"@hookform/devtools": "4.4.0",
|
|
93
93
|
"@internationalized/date": "3.12.1",
|
|
94
|
-
"@payfit/unity-icons": "2.
|
|
95
|
-
"@payfit/unity-illustrations": "2.
|
|
96
|
-
"@payfit/unity-themes": "2.
|
|
94
|
+
"@payfit/unity-icons": "2.40.0",
|
|
95
|
+
"@payfit/unity-illustrations": "2.40.0",
|
|
96
|
+
"@payfit/unity-themes": "2.40.0",
|
|
97
97
|
"@storybook/addon-a11y": "10.4.0",
|
|
98
98
|
"@storybook/addon-designs": "11.1.3",
|
|
99
99
|
"@storybook/addon-docs": "10.4.0",
|