@payfit/unity-components 2.55.6 → 2.55.8
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.
|
@@ -29,29 +29,31 @@ var f = i(({ children: i, helperText: f, feedbackText: p, ...m }, h) => {
|
|
|
29
29
|
children: /* @__PURE__ */ s(u, {
|
|
30
30
|
ref: h,
|
|
31
31
|
className: w(),
|
|
32
|
-
children: (e) => /* @__PURE__ */ c(o, { children: [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
32
|
+
children: (e) => /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(n, {
|
|
33
|
+
...e,
|
|
34
|
+
className: "uy:my-50 uy:ml-0"
|
|
35
|
+
}), /* @__PURE__ */ c("span", {
|
|
36
|
+
id: `${g}-label`,
|
|
37
|
+
"data-dd-privacy": "allow",
|
|
38
|
+
className: "uy:inline-flex uy:items-baseline",
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ s("span", {
|
|
41
|
+
className: T(),
|
|
42
|
+
children: i
|
|
43
|
+
}),
|
|
44
|
+
x === "required" && b && /* @__PURE__ */ c("span", {
|
|
45
|
+
className: E(),
|
|
46
|
+
children: ["*", /* @__PURE__ */ s("span", {
|
|
47
|
+
className: "uy:sr-only",
|
|
48
|
+
children: "required"
|
|
49
|
+
})]
|
|
50
|
+
}),
|
|
51
|
+
x === "optional" && !b && /* @__PURE__ */ s("span", {
|
|
52
|
+
className: D(),
|
|
53
|
+
children: "(optional)"
|
|
54
|
+
})
|
|
55
|
+
]
|
|
56
|
+
})] })
|
|
55
57
|
})
|
|
56
58
|
}), (f || p) && /* @__PURE__ */ c("div", {
|
|
57
59
|
className: O(),
|
|
@@ -13,12 +13,12 @@ var t = e({
|
|
|
13
13
|
],
|
|
14
14
|
wrapper: [
|
|
15
15
|
"uy:group uy:sm:rounded-25 uy:leading-none uy:sm:leading-[1lh]",
|
|
16
|
-
"uy:inline-flex uy:items-
|
|
16
|
+
"uy:inline-flex uy:items-start",
|
|
17
17
|
"uy:typography-body uy:text-content-form-enabled",
|
|
18
18
|
"uy:data-[disabled=true]:text-content-form-disabled uy:data-[disabled]:cursor-not-allowed",
|
|
19
19
|
"uy:data-[readonly=true]:cursor-not-allowed uy:theme-rebrand:data-[readonly=true]:text-content-form-read-only"
|
|
20
20
|
],
|
|
21
|
-
label: "uy:ml-75
|
|
21
|
+
label: "uy:ml-75",
|
|
22
22
|
asterisk: "uy:text-content-danger uy:ml-25",
|
|
23
23
|
optionalTag: "uy:typography-body uy:leading-1 uy:ml-25",
|
|
24
24
|
descriptionsContainer: "uy:ml-300 uy:leading-1 uy:inline-flex uy:flex-col",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-components",
|
|
3
|
-
"version": "2.55.
|
|
3
|
+
"version": "2.55.8",
|
|
4
4
|
"module": "./dist/esm/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"tailwind-variants": "3.2.2",
|
|
94
94
|
"usehooks-ts": "3.1.1",
|
|
95
95
|
"zod": "4.4.3",
|
|
96
|
-
"@payfit/unity-illustrations": "2.55.
|
|
96
|
+
"@payfit/unity-illustrations": "2.55.8"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"@hookform/devtools": "^4",
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"react-hook-form": "^7",
|
|
106
106
|
"react-router-dom": "^5",
|
|
107
107
|
"zod": "^3 || ^4",
|
|
108
|
-
"@payfit/unity-icons": "2.55.
|
|
109
|
-
"@payfit/unity-themes": "2.55.
|
|
108
|
+
"@payfit/unity-icons": "2.55.8",
|
|
109
|
+
"@payfit/unity-themes": "2.55.8"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@figma/code-connect": "1.4.8",
|
|
@@ -153,12 +153,12 @@
|
|
|
153
153
|
"vite-plugin-node-polyfills": "0.28.0",
|
|
154
154
|
"vitest": "4.1.9",
|
|
155
155
|
"@payfit/hr-app-eslint": "0.0.0-use.local",
|
|
156
|
-
"@payfit/storybook-config": "0.0.0-use.local",
|
|
157
156
|
"@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
|
|
158
157
|
"@payfit/storybook-addon-console-errors": "0.0.0-use.local",
|
|
159
|
-
"@payfit/
|
|
160
|
-
"@payfit/unity-
|
|
161
|
-
"@payfit/unity-
|
|
158
|
+
"@payfit/storybook-config": "0.0.0-use.local",
|
|
159
|
+
"@payfit/unity-icons": "2.55.8",
|
|
160
|
+
"@payfit/unity-illustrations": "2.55.8",
|
|
161
|
+
"@payfit/unity-themes": "2.55.8",
|
|
162
162
|
"@payfit/vite-configs": "0.0.0-use.local"
|
|
163
163
|
},
|
|
164
164
|
"peerDependenciesMeta": {
|