@payfit/unity-themes 2.9.0 → 2.9.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.
@@ -23,7 +23,7 @@
23
23
  * when the build process runs again. To customize styles, please refer to the
24
24
  * source files or documentation.
25
25
  *
26
- * Generated by: undefined undefined
26
+ * Generated by: root-workspace-0b6124 undefined
27
27
  */
28
28
 
29
29
  @import "@fontsource/inter";
@@ -1,11 +1,11 @@
1
- import { cn as c } from "tailwind-variants";
2
- import { twMergeConfig as n } from "./merge-config.js";
3
- const o = (...t) => c(...t)({
1
+ import { cnMerge as e } from "tailwind-variants";
2
+ import { twMergeConfig as r } from "./merge-config.js";
3
+ const o = (...t) => e(...t)({
4
4
  twMerge: !0,
5
- twMergeConfig: n
6
- }), e = o, m = o, a = o;
5
+ twMergeConfig: r
6
+ }), s = o, m = o, g = o;
7
7
  export {
8
8
  m as classNames,
9
- a as clsx,
10
- e as cn
9
+ g as clsx,
10
+ s as cn
11
11
  };
@@ -40,5 +40,5 @@ import { VariantProps } from 'tailwind-variants';
40
40
  * @see {@link https://www.tailwind-variants.org/ Tailwind Variants Documentation}
41
41
  * @see {@link twMergeConfig} for the Unity merge configuration details
42
42
  */
43
- export declare const uyTv: import('tailwind-variants').CreateTV;
43
+ export declare const uyTv: import('tailwind-variants').TV;
44
44
  export type { VariantProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payfit/unity-themes",
3
- "version": "2.9.0",
3
+ "version": "2.9.1",
4
4
  "main": "./dist/esm/index.js",
5
5
  "types": "./dist/esm/index.d.ts",
6
6
  "style": "./dist/css/unity.css",
@@ -42,7 +42,7 @@
42
42
  "@storybook/addon-vitest": "10.2.8",
43
43
  "@storybook/react-vite": "10.2.8",
44
44
  "@storybook/test-runner": "0.24.2",
45
- "@tailwindcss/vite": "4.1.11",
45
+ "@tailwindcss/vite": "4.1.18",
46
46
  "@types/lodash": "4.14.202",
47
47
  "@types/node": "^22.0.0",
48
48
  "@types/react": "18.3.18",
@@ -74,8 +74,8 @@
74
74
  "@fontsource/source-serif-4": "5.0.19",
75
75
  "colorjs.io": "0.5.2",
76
76
  "style-dictionary": "5.0.0",
77
- "tailwind-merge": "3.3.1",
78
- "tailwind-variants": "2.1.0",
79
- "tailwindcss": "4.1.11"
77
+ "tailwind-merge": "3.4.0",
78
+ "tailwind-variants": "3.2.2",
79
+ "tailwindcss": "4.1.18"
80
80
  }
81
81
  }
package/src/utils/cn.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { cn as cnBase } from 'tailwind-variants'
1
+ import { cnMerge } from 'tailwind-variants'
2
2
 
3
3
  import { twMergeConfig } from './merge-config'
4
4
 
@@ -7,7 +7,7 @@ import { twMergeConfig } from './merge-config'
7
7
  * @internal
8
8
  */
9
9
  const uyCn = (...classes: string[]) =>
10
- cnBase(...classes)({
10
+ cnMerge(...classes)({
11
11
  twMerge: true,
12
12
  twMergeConfig,
13
13
  })