@payfit/unity-themes 2.25.6 → 2.26.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/dist/css/unity.css +1 -1
- package/package.json +9 -9
- package/src/scripts/build.ts +8 -3
package/dist/css/unity.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-themes",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.26.1",
|
|
4
4
|
"main": "./dist/esm/index.js",
|
|
5
5
|
"types": "./dist/esm/index.d.ts",
|
|
6
6
|
"style": "./dist/css/unity.css",
|
|
@@ -31,11 +31,6 @@
|
|
|
31
31
|
"@fontsource/inter": "5.0.19",
|
|
32
32
|
"@fontsource/roboto-mono": "5.2.7",
|
|
33
33
|
"@fontsource/source-serif-4": "5.0.19",
|
|
34
|
-
"@payfit/code-pushup-tools": "0.0.0-use.local",
|
|
35
|
-
"@payfit/hr-app-eslint": "0.0.0-use.local",
|
|
36
|
-
"@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
|
|
37
|
-
"@payfit/storybook-config": "0.0.0-use.local",
|
|
38
|
-
"@payfit/vite-configs": "0.0.0-use.local",
|
|
39
34
|
"@storybook/addon-a11y": "10.3.5",
|
|
40
35
|
"@storybook/addon-docs": "10.3.5",
|
|
41
36
|
"@storybook/addon-links": "10.3.5",
|
|
@@ -58,10 +53,15 @@
|
|
|
58
53
|
"react": "18.3.1",
|
|
59
54
|
"react-dom": "18.3.1",
|
|
60
55
|
"storybook": "10.3.5",
|
|
61
|
-
"tsx": "4.
|
|
56
|
+
"tsx": "4.20.5",
|
|
62
57
|
"typescript": "6.0.0-beta",
|
|
63
58
|
"vite": "7.1.12",
|
|
64
|
-
"vitest": "4.1.0"
|
|
59
|
+
"vitest": "4.1.0",
|
|
60
|
+
"@payfit/code-pushup-tools": "0.0.0-use.local",
|
|
61
|
+
"@payfit/hr-app-eslint": "0.0.0-use.local",
|
|
62
|
+
"@payfit/vite-configs": "0.0.0-use.local",
|
|
63
|
+
"@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
|
|
64
|
+
"@payfit/storybook-config": "0.0.0-use.local"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"@fontsource/inter": "5.0.19",
|
|
@@ -79,4 +79,4 @@
|
|
|
79
79
|
"tailwind-variants": "3.2.2",
|
|
80
80
|
"tailwindcss": "4.2.2"
|
|
81
81
|
}
|
|
82
|
-
}
|
|
82
|
+
}
|
package/src/scripts/build.ts
CHANGED
|
@@ -258,9 +258,14 @@ async function build() {
|
|
|
258
258
|
themeSD.formatPlatform('css'),
|
|
259
259
|
])
|
|
260
260
|
|
|
261
|
-
const legacyCss =
|
|
262
|
-
|
|
263
|
-
const
|
|
261
|
+
const legacyCss =
|
|
262
|
+
typeof legacyOutputs[0]?.output === 'string' ? legacyOutputs[0].output : ''
|
|
263
|
+
const rebrandCss =
|
|
264
|
+
typeof rebrandOutputs[0]?.output === 'string'
|
|
265
|
+
? rebrandOutputs[0].output
|
|
266
|
+
: ''
|
|
267
|
+
const themeCss =
|
|
268
|
+
typeof themeOutputs[0]?.output === 'string' ? themeOutputs[0].output : ''
|
|
264
269
|
|
|
265
270
|
const formatDuration = (performance.now() - formatStart).toFixed(0)
|
|
266
271
|
logDetail(
|