perfect-gui 4.12.1 → 4.12.4
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 +3 -13
- package/dist/{perfect-gui.mjs → perfect-gui.js} +346 -325
- package/package.json +2 -1
- package/src/components/Button.js +44 -0
- package/src/components/Color.js +108 -0
- package/src/components/Image.js +87 -0
- package/src/components/List.js +171 -0
- package/src/components/Slider.js +25 -25
- package/src/components/Toggle.js +117 -0
- package/src/components/Vector2.js +145 -0
- package/src/index.js +26 -624
- package/src/styles/_toggle.css.js +1 -1
- package/vite.config.js +2 -1
- package/dist/perfect-gui.umd.js +0 -536
package/README.md
CHANGED
|
@@ -1,18 +1,8 @@
|
|
|
1
1
|
# Perfect GUI
|
|
2
2
|
A nice, simple and (probably not) perfect GUI for JavaScript.
|
|
3
3
|
|
|
4
|
-
##
|
|
5
|
-
[
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Features
|
|
9
|
-
- image buttons
|
|
10
|
-
- multiple panels
|
|
11
|
-
- easy positioning
|
|
12
|
-
- draggable panels
|
|
13
|
-
- two-dimensional vector visualization
|
|
14
|
-
|
|
15
|
-
<img src="https://raw.githubusercontent.com/thibka/thibka.github.io/master/perfect-gui/_data/demo.jpg" width="700"/>
|
|
4
|
+
## Documentation and examples
|
|
5
|
+
Go to the [documentation page](https://thibka.github.io/perfect-gui/) to see all the features and examples.
|
|
16
6
|
|
|
17
7
|
## Install
|
|
18
8
|
|
|
@@ -28,7 +18,7 @@ npm i perfect-gui
|
|
|
28
18
|
<script type="importmap">
|
|
29
19
|
{
|
|
30
20
|
"imports": {
|
|
31
|
-
"perfect-gui": "https://unpkg.com/perfect-gui@latest/dist/perfect-gui.
|
|
21
|
+
"perfect-gui": "https://unpkg.com/perfect-gui@latest/dist/perfect-gui.js",
|
|
32
22
|
}
|
|
33
23
|
}
|
|
34
24
|
</script>
|