@payfit/unity-components 2.12.3 → 2.12.5
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.
|
@@ -2,7 +2,7 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRadioGroup as n } from "react-aria";
|
|
3
3
|
import { useRadioGroupState as i } from "react-stately";
|
|
4
4
|
import { SegmentedButtonGroupProvider as a } from "./SegmentedButtonGroups.context.js";
|
|
5
|
-
const
|
|
5
|
+
const d = (o) => {
|
|
6
6
|
const { children: e } = o, t = i(o), { radioGroupProps: u } = n(
|
|
7
7
|
{ ...o, orientation: "horizontal" },
|
|
8
8
|
t
|
|
@@ -11,12 +11,12 @@ const p = (o) => {
|
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
13
|
...u,
|
|
14
|
-
className: "uy:bg-surface-neutral-low uy:
|
|
14
|
+
className: "uy:bg-surface-neutral-low uy:py-50 uy:px-50 uy:flex uy:gap-50 uy:rounded-75 uy:w-fit",
|
|
15
15
|
children: /* @__PURE__ */ r(a, { state: t, children: e })
|
|
16
16
|
}
|
|
17
17
|
);
|
|
18
18
|
};
|
|
19
|
-
|
|
19
|
+
d.displayName = "SegmentedButtonGroup";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
d as SegmentedButtonGroup
|
|
22
22
|
};
|
|
@@ -9,7 +9,7 @@ import { SegmentedButtonGroupContext as S } from "../SegmentedButtonGroups.conte
|
|
|
9
9
|
const B = w({
|
|
10
10
|
slots: {
|
|
11
11
|
base: [
|
|
12
|
-
"uy:group uy:rounded-50 uy:pt-50 uy:pb-50 uy:pr-150 uy:flex uy:gap-25",
|
|
12
|
+
"uy:group uy:rounded-50 uy:pt-50 uy:pb-50 uy:pr-150 uy:flex uy:gap-25 uy:h-400",
|
|
13
13
|
"uy:active:gb-surface-neutral-pressed"
|
|
14
14
|
],
|
|
15
15
|
wrapper: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-components",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.5",
|
|
4
4
|
"module": "./dist/esm/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@hookform/devtools": "4.4.0",
|
|
43
43
|
"@hookform/resolvers": "5.2.1",
|
|
44
44
|
"@internationalized/date": "3.11.0",
|
|
45
|
-
"@payfit/unity-illustrations": "2.12.
|
|
45
|
+
"@payfit/unity-illustrations": "2.12.5",
|
|
46
46
|
"@radix-ui/react-avatar": "1.1.11",
|
|
47
47
|
"@radix-ui/react-slot": "1.2.4",
|
|
48
48
|
"@react-aria/interactions": "3.27.0",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@hookform/devtools": "^4",
|
|
77
|
-
"@payfit/unity-icons": "2.12.
|
|
78
|
-
"@payfit/unity-themes": "2.12.
|
|
77
|
+
"@payfit/unity-icons": "2.12.5",
|
|
78
|
+
"@payfit/unity-themes": "2.12.5",
|
|
79
79
|
"@storybook/react-vite": "^10.2.2",
|
|
80
80
|
"@tanstack/react-query": "^5",
|
|
81
81
|
"@tanstack/react-router": "^1.131",
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
"@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
|
|
95
95
|
"@payfit/storybook-addon-console-errors": "0.0.0-use.local",
|
|
96
96
|
"@payfit/storybook-config": "0.0.0-use.local",
|
|
97
|
-
"@payfit/unity-icons": "2.12.
|
|
98
|
-
"@payfit/unity-illustrations": "2.12.
|
|
99
|
-
"@payfit/unity-themes": "2.12.
|
|
97
|
+
"@payfit/unity-icons": "2.12.5",
|
|
98
|
+
"@payfit/unity-illustrations": "2.12.5",
|
|
99
|
+
"@payfit/unity-themes": "2.12.5",
|
|
100
100
|
"@payfit/vite-configs": "0.0.0-use.local",
|
|
101
101
|
"@storybook/addon-a11y": "10.2.13",
|
|
102
102
|
"@storybook/addon-docs": "10.2.13",
|