@uxbertlabs/reportly 1.0.21 → 1.0.23

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.
@@ -1,3 +1,18 @@
1
1
  import { type ClassValue } from "clsx";
2
+ /**
3
+ * Combines class names without Tailwind merging
4
+ * Use this for scoped CSS classes (uxbert-*)
5
+ */
2
6
  export declare function cn(...inputs: ClassValue[]): string;
7
+ /**
8
+ * Legacy function - kept for backwards compatibility
9
+ * New code should use cn() directly
10
+ */
11
+ export declare function cnx(...inputs: ClassValue[]): string;
12
+ /**
13
+ * Detects whether the page content extends beyond the viewport
14
+ * @param threshold - The pixel threshold to consider as "extending beyond viewport" (default: 100px)
15
+ * @returns 'fullpage' if page is significantly larger than viewport, 'viewport' otherwise
16
+ */
17
+ export declare function detectScreenshotMode(threshold?: number): 'viewport' | 'fullpage';
3
18
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAE7C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC;AAED;;;GAGG;AACH,wBAAgB,GAAG,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAE1C;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,GAAE,MAAY,GAAG,UAAU,GAAG,UAAU,CAgCrF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxbertlabs/reportly",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "A React component for reporting UI issues with screenshots and annotations",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -12,7 +12,10 @@
12
12
  "require": "./dist/index.cjs.js",
13
13
  "types": "./dist/index.d.ts"
14
14
  },
15
- "./styles": "./dist/index.css"
15
+ "./styles": {
16
+ "default": "./dist/index.css"
17
+ },
18
+ "./dist/index.css": "./dist/index.css"
16
19
  },
17
20
  "files": [
18
21
  "dist"
@@ -36,11 +39,9 @@
36
39
  "react-dom": ">=18.0.0"
37
40
  },
38
41
  "dependencies": {
39
- "class-variance-authority": "^0.7.1",
40
42
  "clsx": "^2.1.1",
41
43
  "html2canvas-pro": "^1.5.12",
42
- "lucide-react": "^0.545.0",
43
- "tailwind-merge": "^3.3.1"
44
+ "lucide-react": "^0.545.0"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@babel/core": "^7.28.4",
@@ -50,7 +51,6 @@
50
51
  "@rollup/plugin-replace": "^6.0.2",
51
52
  "@rollup/plugin-terser": "^0.4.4",
52
53
  "@rollup/plugin-typescript": "^12.1.4",
53
- "@tailwindcss/postcss": "^4.1.14",
54
54
  "@types/html2canvas": "^0.5.35",
55
55
  "@types/react": "^19.2.2",
56
56
  "@types/react-dom": "^19.2.1",
@@ -62,7 +62,6 @@
62
62
  "react-dom": "^19.2.0",
63
63
  "rollup": "^4.9.0",
64
64
  "rollup-plugin-postcss": "^4.0.2",
65
- "tailwindcss": "^4.1.14",
66
65
  "tslib": "^2.8.1",
67
66
  "typescript": "^5.9.3",
68
67
  "vite": "^7.1.9"