@oneplatformdev/utils 0.1.1-30 → 0.1.1-33

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/CHANGELOG.md ADDED
@@ -0,0 +1,19 @@
1
+ ## 0.1.1-32 (2025-09-11)
2
+
3
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
4
+
5
+ ## 0.1.1-28 (2025-09-11)
6
+
7
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
8
+
9
+ ## 0.1.1-27 (2025-09-11)
10
+
11
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
12
+
13
+ ## 0.1.1-26 (2025-09-11)
14
+
15
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
16
+
17
+ ## 0.1.1-25 (2025-09-11)
18
+
19
+ This was a version bump only for @oneplatformdev/utils to align it with other projects, there were no code changes.
package/cn/cn.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import { ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
3
+ export default cn;
4
+ //# sourceMappingURL=cn.d.ts.map
package/cn/cn.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/cn/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AACD,eAAe,EAAE,CAAA"}
package/cn/cn.js ADDED
@@ -0,0 +1,9 @@
1
+ import { clsx as t } from "clsx";
2
+ import { twMerge as o } from "tailwind-merge";
3
+ function m(...r) {
4
+ return o(t(r));
5
+ }
6
+ export {
7
+ m as cn,
8
+ m as default
9
+ };
package/cn/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default, cn } from './cn';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cn/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC"}
package/cn/index.js ADDED
@@ -0,0 +1,5 @@
1
+ import { cn as e, cn as f } from "./cn.js";
2
+ export {
3
+ e as cn,
4
+ f as default
5
+ };
@@ -0,0 +1,4 @@
1
+ import { Ref } from 'react';
2
+ export declare function composeRefs<T>(...refs: Array<Ref<T> | undefined | null>): (node: T | null) => void;
3
+ export default composeRefs;
4
+ //# sourceMappingURL=composeRefs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composeRefs.d.ts","sourceRoot":"","sources":["../../src/composeRefs/composeRefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAe,MAAM,OAAO,CAAC;AAE9C,wBAAgB,WAAW,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,IAC9D,MAAM,CAAC,GAAG,IAAI,UAOvB;AACD,eAAe,WAAW,CAAC"}
@@ -0,0 +1,10 @@
1
+ function t(...o) {
2
+ return (f) => {
3
+ for (const e of o)
4
+ e && (typeof e == "function" ? e(f) : e.current = f);
5
+ };
6
+ }
7
+ export {
8
+ t as composeRefs,
9
+ t as default
10
+ };
@@ -0,0 +1,2 @@
1
+ export { default, composeRefs } from './composeRefs';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composeRefs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { composeRefs as s, composeRefs as f } from "./composeRefs.js";
2
+ export {
3
+ s as composeRefs,
4
+ f as default
5
+ };
package/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export * from './cn';
2
+ export * from './composeRefs';
3
+ export type * from './types';
4
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,eAAe,CAAC;AAC9B,mBAAmB,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/utils",
3
- "version": "0.1.1-30",
3
+ "version": "0.1.1-33",
4
4
  "description": "Utility functions for React components.",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [
@@ -42,6 +42,7 @@
42
42
  "directory": "dist"
43
43
  },
44
44
  "files": [
45
+ "**/*",
45
46
  "dist",
46
47
  "README.md",
47
48
  "LICENSE",
@@ -0,0 +1,2 @@
1
+ export type PartialOne<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
2
+ //# sourceMappingURL=PartialOne.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PartialOne.d.ts","sourceRoot":"","sources":["../../src/types/PartialOne.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,2 @@
1
+ export type * from './PartialOne';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,cAAc,CAAA"}
package/types/index.js ADDED
@@ -0,0 +1 @@
1
+