@sqrzro/ui 4.0.0-alpha.49 → 4.0.0-alpha.50

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.
@@ -3,8 +3,7 @@ import fs from 'node:fs';
3
3
  import path from 'node:path';
4
4
  async function convertToDataURI(fileName) {
5
5
  try {
6
- const filePath = path.resolve(fileName);
7
- console.log('Converting file to Data URI:', filePath);
6
+ const filePath = path.join(process.cwd(), fileName);
8
7
  const mimeType = 'image/' + path.extname(filePath).slice(1);
9
8
  const imageData = fs.readFileSync(filePath);
10
9
  const base64Image = Buffer.from(imageData).toString('base64');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sqrzro/ui",
3
3
  "type": "module",
4
- "version": "4.0.0-alpha.49",
4
+ "version": "4.0.0-alpha.50",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "ISC",
@@ -57,8 +57,8 @@
57
57
  "react-dom": "^19.2.4",
58
58
  "tailwind-merge": "^3.5.0",
59
59
  "use-deep-compare-effect": "^1.8.1",
60
- "@sqrzro/utility": "^4.0.0-alpha.18",
61
- "@sqrzro/addons": "^4.0.0-alpha.8"
60
+ "@sqrzro/addons": "^4.0.0-alpha.8",
61
+ "@sqrzro/utility": "^4.0.0-alpha.18"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@storybook/addon-a11y": "^10.2.14",