@obosbbl/grunnmuren-react 2.3.1 → 2.3.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1673,7 +1673,9 @@ const translations = {
1673
1673
  return new File([
1674
1674
  file
1675
1675
  ], // Follow the pattern of adding a number in parentheses to the base name (e.g. "file (1).txt")
1676
- `${baseName} (${fileNameCounts[baseName] - 1})${extension}`);
1676
+ `${baseName} (${fileNameCounts[baseName] - 1})${extension}`, {
1677
+ type: file.type
1678
+ });
1677
1679
  }
1678
1680
  return file;
1679
1681
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obosbbl/grunnmuren-react",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Grunnmuren components in React",
5
5
  "repository": {
6
6
  "url": "https://github.com/code-obos/grunnmuren"