vuehex 0.6.4 → 0.6.5
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 -3
- package/dist/index.d.ts +1 -0
- package/package.json +4 -9
- package/dist/styles.d.ts +0 -1
- package/dist/styles.js +0 -0
- package/types/styles.d.ts +0 -1
- /package/dist/{styles.css → index.css} +0 -0
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ Register the plugin once to make the `<VueHex>` component available everywhere a
|
|
|
29
29
|
```ts
|
|
30
30
|
import { createApp } from "vue";
|
|
31
31
|
import VueHex from "vuehex";
|
|
32
|
-
import "vuehex/
|
|
32
|
+
import "vuehex/style.css";
|
|
33
33
|
|
|
34
34
|
import App from "./App.vue";
|
|
35
35
|
|
|
@@ -38,7 +38,7 @@ app.use(VueHex);
|
|
|
38
38
|
app.mount("#app");
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
`vuehex/
|
|
41
|
+
`vuehex/style.css` resolves to the package's bundled stylesheet.
|
|
42
42
|
|
|
43
43
|
## Quick start
|
|
44
44
|
|
|
@@ -194,7 +194,7 @@ function handleEdit(intent: VueHexEditIntent) {
|
|
|
194
194
|
|
|
195
195
|
## Styling options
|
|
196
196
|
|
|
197
|
-
1. Import `vuehex/
|
|
197
|
+
1. Import `vuehex/style.css` for the default look.
|
|
198
198
|
2. Pass `theme="dark" | "light" | "terminal" | "sunset" | "auto"` to toggle bundled palettes explicitly (or skip the prop entirely to stick with OS detection).
|
|
199
199
|
3. Roll your own styles targeting the emitted class names (`.vuehex`, `.vuehex-byte`, `.vuehex-ascii-char`, etc.). The default sheet sets `.vuehex { height: 100%; }`, so remember to give the wrapper a concrete height.
|
|
200
200
|
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vuehex",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A fast and flexible Vue 3 component for viewing and editing binary data as a hexadecimal view",
|
|
6
6
|
"author": "Vincent Vollers",
|
|
@@ -11,20 +11,15 @@
|
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
14
15
|
"import": "./dist/index.js",
|
|
15
|
-
"
|
|
16
|
+
"default": "./dist/index.js"
|
|
16
17
|
},
|
|
17
|
-
"./
|
|
18
|
-
"import": "./dist/styles.js",
|
|
19
|
-
"types": "./types/styles.d.ts"
|
|
20
|
-
},
|
|
21
|
-
"./styles.css": "./dist/styles.css",
|
|
22
|
-
"./style.css": "./dist/styles.css",
|
|
18
|
+
"./style.css": "./dist/index.css",
|
|
23
19
|
"./package.json": "./package.json"
|
|
24
20
|
},
|
|
25
21
|
"files": [
|
|
26
22
|
"dist",
|
|
27
|
-
"types",
|
|
28
23
|
"README.md",
|
|
29
24
|
"LICENSE.txt"
|
|
30
25
|
],
|
package/dist/styles.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./assets/vuehex.css";
|
package/dist/styles.js
DELETED
|
File without changes
|
package/types/styles.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|