physical-quantity 1.1.12 → 1.1.14

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/README.md CHANGED
@@ -1,26 +1,24 @@
1
1
  # Physical Quantity Web Component
2
2
 
3
- `physical-quantity` is a web component that allows you to create and manipulate physical quantities with different units. It provides an input for the value and a dropdown for the unit, automatically converting between units in the same category.
3
+ `physical-quantity(PQE)` is a web component that allows you to create and manipulate physical quantities with different units. It provides an input for the value and a dropdown for the unit, automatically converting between units in the same category.
4
4
 
5
- "PQE: A new HTML element (web component) for expressing physical quantities, featuring self-contained unit conversion, a compact and clean UI, no redundant dual units, and seamless integration across all websites and platforms."
5
+ It is a new HTML element for expressing physical quantities, featuring self-contained unit conversion, a compact and clean UI, no redundant dual units, and seamless integration across all websites and platforms.
6
6
 
7
7
  ## Features
8
8
 
9
9
  - Create a physical quantity with a value and unit.
10
10
  - Automatically convert between units within the same category.
11
- - Display values with up to 3 decimal places if not an integer; show integers without decimal parts.
11
+ - Display values with customizable decimal places if not an integer; show integers without decimal parts.
12
12
  - Easy to integrate into any web project.
13
13
 
14
14
  ## Demo: Physical Quantity element - No Unit Converter or Dual Units Needed
15
- [Box Size & Mass @https://e3d.github.io](https://e3d.github.io)
16
- <iframe width="100%" height="300" src="https://jsfiddle.net/hithere/tz8ym4fh/54/embedded/result" allowfullscreen="true" frameborder="0"></iframe>
17
-
18
15
  [Live Demo on JS Fiddle](https://jsfiddle.net/hithere/tz8ym4fh/100/embedded/result)
19
16
 
20
- ![Example 2 in UI](https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/PQE%2Fexamples%2FPhysicalQuantityElementExample1.png?alt=media&token=2aa81849-9299-4ba5-9f62-79b8604b814f)
17
+ <iframe width="100%" height="300" src="https://jsfiddle.net/hithere/tz8ym4fh/100/embedded/result" allowfullscreen="true" frameborder="0"></iframe>
21
18
 
22
- ![Example 1 in UI](https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/PQE%2Fexamples%2FPhysicalQuantityElementExample2.png?alt=media&token=5c899acf-a04c-44b7-b8ac-b1740f308d40)
19
+ [![Example 2 in UI](https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/PQE%2Fexamples%2FPhysicalQuantityElementExample1.png?alt=media&token=2aa81849-9299-4ba5-9f62-79b8604b814f)](https://jsfiddle.net/hithere/tz8ym4fh/100/embedded/result)
23
20
 
21
+ [![Example 1 in UI](https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/PQE%2Fexamples%2FPhysicalQuantityElementExample2.png?alt=media&token=5c899acf-a04c-44b7-b8ac-b1740f308d40)](https://jsfiddle.net/hithere/tz8ym4fh/100/embedded/result)
24
22
 
25
23
  ## Installation
26
24
 
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "physical-quantity",
3
- "version": "1.1.12",
3
+ "version": "1.1.14",
4
4
  "description": "A web component to represent a physical quantity with unit conversion.",
5
5
  "main": "./dist/pq.min.js",
6
6
  "files": [
7
- "dist/",
8
- "images/"
7
+ "dist/"
9
8
  ],
10
9
  "scripts": {
11
10
  "test": "echo \"Error: no test specified\" && exit 1"