@prozilla-os/calculator 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 o=document.createElement("style");o.appendChild(document.createTextNode("._Calculator_1ddjk_1{display:flex;flex-direction:column;height:100%;--output-height: 20%;--button-gap: .25rem}._Output_1ddjk_19{display:flex;gap:.25rem;flex-direction:column;justify-content:center;align-items:flex-end;height:var(--output-height);padding:.5rem}._Calculation_1ddjk_39,._Preview_1ddjk_39{margin:0}._Calculation_1ddjk_39{color:var(--foreground-color-2);height:1.25rem}._Preview_1ddjk_39{color:var(--foreground-color-0);font-size:2.5rem}._Input_1ddjk_67{display:flex;gap:var(--button-gap);flex-direction:column;height:calc(100% - var(--output-height));padding:.5rem}._InputRow_1ddjk_83{flex:1;display:flex;gap:var(--button-gap)}._Button_1ddjk_95{flex:1;border-radius:var(--border-radius-0);font-size:1.5rem}._InputRow_1ddjk_83:first-of-type ._Button_1ddjk_95{--normal-color: var(--background-color-1);--hover-color: var(--background-color-2)}._InputRow_1ddjk_83 ._Button_1ddjk_95:last-of-type{--text-color: var(--background-color-0);--normal-color: var(--blue-0);--hover-color: var(--blue-1)}._ButtonLarge_1ddjk_129{min-width:calc(50% - var(--button-gap) / 2)}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
1
2
  import { Button as a, App as R, Vector2 as y } from "@prozilla-os/core";
2
3
  import { jsxs as r, jsx as t } from "react/jsx-runtime";
3
4
  import { useState as h, useCallback as f, useEffect as $ } from "react";
4
- import './assets/main.css';const F = "_Calculator_1ddjk_1", L = "_Output_1ddjk_19", O = "_Calculation_1ddjk_39", E = "_Preview_1ddjk_39", P = "_Input_1ddjk_67", S = "_InputRow_1ddjk_83", g = "_Button_1ddjk_95", x = "_ButtonLarge_1ddjk_129", e = {
5
+ const F = "_Calculator_1ddjk_1", L = "_Output_1ddjk_19", O = "_Calculation_1ddjk_39", E = "_Preview_1ddjk_39", P = "_Input_1ddjk_67", S = "_InputRow_1ddjk_83", g = "_Button_1ddjk_95", x = "_ButtonLarge_1ddjk_129", e = {
5
6
  Calculator: F,
6
7
  Output: L,
7
8
  Calculation: O,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prozilla-os/calculator",
3
3
  "description": "A ProzillaOS application for making basic calculations.",
4
- "version": "1.1.5",
4
+ "version": "1.1.7",
5
5
  "homepage": "https://os.prozilla.dev/calculator",
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
- ._Calculator_1ddjk_1{display:flex;flex-direction:column;height:100%;--output-height: 20%;--button-gap: .25rem}._Output_1ddjk_19{display:flex;gap:.25rem;flex-direction:column;justify-content:center;align-items:flex-end;height:var(--output-height);padding:.5rem}._Calculation_1ddjk_39,._Preview_1ddjk_39{margin:0}._Calculation_1ddjk_39{color:var(--foreground-color-2);height:1.25rem}._Preview_1ddjk_39{color:var(--foreground-color-0);font-size:2.5rem}._Input_1ddjk_67{display:flex;gap:var(--button-gap);flex-direction:column;height:calc(100% - var(--output-height));padding:.5rem}._InputRow_1ddjk_83{flex:1;display:flex;gap:var(--button-gap)}._Button_1ddjk_95{flex:1;border-radius:var(--border-radius-0);font-size:1.5rem}._InputRow_1ddjk_83:first-of-type ._Button_1ddjk_95{--normal-color: var(--background-color-1);--hover-color: var(--background-color-2)}._InputRow_1ddjk_83 ._Button_1ddjk_95:last-of-type{--text-color: var(--background-color-0);--normal-color: var(--blue-0);--hover-color: var(--blue-1)}._ButtonLarge_1ddjk_129{min-width:calc(50% - var(--button-gap) / 2)}