@prozilla-os/media-viewer 1.1.5 → 1.1.7

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/dist/main.js CHANGED
@@ -1,7 +1,8 @@
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._MediaViewer_12qrj_1{display:flex;justify-content:center;align-items:center;width:100%;height:100%;padding:2rem}._MediaViewer_12qrj_1 img{width:100%;height:100%;object-fit:contain}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
1
2
  import { useSystemManager as p, useWindowsManager as u, AppsConfig as a, IMAGE_EXTENSIONS as t, App as c } from "@prozilla-os/core";
2
3
  import { jsx as i } from "react/jsx-runtime";
3
4
  import { useEffect as l } from "react";
4
- import './assets/main.css';const m = "_MediaViewer_12qrj_1", f = {
5
+ const m = "_MediaViewer_12qrj_1", f = {
5
6
  MediaViewer: m
6
7
  };
7
8
  function w({ file: e, close: n, setTitle: r }) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prozilla-os/media-viewer",
3
3
  "description": "A ProzillaOS application for viewing different kinds of media.",
4
- "version": "1.1.5",
4
+ "version": "1.1.7",
5
5
  "homepage": "https://os.prozilla.dev/media-viewer",
6
6
  "author": {
7
7
  "name": "Prozilla",
@@ -20,7 +20,7 @@
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
22
  "react": "^18.3.1",
23
- "@prozilla-os/core": "1.3.0"
23
+ "@prozilla-os/core": "1.3.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "^20.14.5",
@@ -30,7 +30,7 @@
30
30
  "vite": "^5.4.8",
31
31
  "vite-plugin-dts": "^3.9.1",
32
32
  "vite-plugin-lib-inject-css": "^2.1.1",
33
- "@prozilla-os/dev-tools": "1.0.1"
33
+ "@prozilla-os/dev-tools": "1.0.3"
34
34
  },
35
35
  "files": [
36
36
  "dist"
@@ -1 +0,0 @@
1
- ._MediaViewer_12qrj_1{display:flex;justify-content:center;align-items:center;width:100%;height:100%;padding:2rem}._MediaViewer_12qrj_1 img{width:100%;height:100%;object-fit:contain}