@stonecrop/beam 0.6.3 → 0.7.1
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/beam.d.ts +4 -0
- package/dist/beam.js +7708 -6522
- package/dist/beam.js.map +1 -1
- package/dist/beam.umd.cjs +9 -6
- package/dist/beam.umd.cjs.map +1 -1
- package/dist/src/types/index.d.ts +4 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/package.json +20 -20
- package/src/types/index.ts +4 -0
- package/dist/tsdoc-metadata.json +0 -11
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { IClientOptions } from 'mqtt';
|
|
2
2
|
import { CSSProperties } from 'vue';
|
|
3
3
|
/**
|
|
4
|
+
* Configuration object for ListView component items
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
6
7
|
export type ListViewItem = {
|
|
@@ -20,10 +21,12 @@ export type ListViewItem = {
|
|
|
20
21
|
route?: string;
|
|
21
22
|
};
|
|
22
23
|
/**
|
|
24
|
+
* Union type for color values - supports RGB, RGBA, HEX, HSL, HSLA, or CSS color string
|
|
23
25
|
* @public
|
|
24
26
|
*/
|
|
25
27
|
export type BeamColor = RGB | RGBA | HEX | HSL | HSLA | CSSProperties['color'];
|
|
26
28
|
/**
|
|
29
|
+
* Filter choice with label and value for BeamFilter component
|
|
27
30
|
* @public
|
|
28
31
|
*/
|
|
29
32
|
export type BeamFilterChoice = {
|
|
@@ -60,6 +63,7 @@ export type HEX = `#${string}`;
|
|
|
60
63
|
* @public
|
|
61
64
|
*/
|
|
62
65
|
export interface IMqttStream extends IClientOptions {
|
|
66
|
+
/** MQTT topics to subscribe to */
|
|
63
67
|
topics?: string[];
|
|
64
68
|
}
|
|
65
69
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,c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;AACH,MAAM,MAAM,GAAG,GAAG,OAAO,MAAM,KAAK,MAAM,MAAM,MAAM,IAAI,CAAA;AAE1D;;;GAGG;AACH,MAAM,MAAM,IAAI,GAAG,OAAO,MAAM,KAAK,MAAM,MAAM,MAAM,OAAO,MAAM,EAAE,CAAA;AAEtE;;;GAGG;AACH,MAAM,MAAM,GAAG,GAAG,IAAI,MAAM,EAAE,CAAA;AAE9B;;;GAGG;AACH,MAAM,WAAW,WAAY,SAAQ,cAAc;IAClD,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CACjB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/beam",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -37,32 +37,32 @@
|
|
|
37
37
|
"src/*"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@vueuse/components": "^14.
|
|
41
|
-
"@vueuse/core": "^14.
|
|
42
|
-
"mqtt": "^5.
|
|
40
|
+
"@vueuse/components": "^14.1.0",
|
|
41
|
+
"@vueuse/core": "^14.1.0",
|
|
42
|
+
"mqtt": "^5.14.1",
|
|
43
43
|
"onscan.js": "^1.5.2",
|
|
44
|
-
"vue": "^3.5.
|
|
44
|
+
"vue": "^3.5.26"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@eslint/js": "^9.
|
|
48
|
-
"@microsoft/api-documenter": "^7.
|
|
49
|
-
"@rushstack/heft": "^1.1.
|
|
50
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
51
|
-
"@vitest/coverage-istanbul": "^4.0.
|
|
52
|
-
"@vitest/ui": "^4.0.
|
|
47
|
+
"@eslint/js": "^9.39.2",
|
|
48
|
+
"@microsoft/api-documenter": "^7.28.2",
|
|
49
|
+
"@rushstack/heft": "^1.1.7",
|
|
50
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
51
|
+
"@vitest/coverage-istanbul": "^4.0.17",
|
|
52
|
+
"@vitest/ui": "^4.0.17",
|
|
53
53
|
"@vue/test-utils": "^2.4.6",
|
|
54
|
-
"eslint": "^9.
|
|
54
|
+
"eslint": "^9.39.2",
|
|
55
55
|
"eslint-config-prettier": "^10.1.8",
|
|
56
|
-
"eslint-plugin-vue": "^10.
|
|
57
|
-
"globals": "^
|
|
58
|
-
"sass": "^1.
|
|
56
|
+
"eslint-plugin-vue": "^10.6.2",
|
|
57
|
+
"globals": "^17.0.0",
|
|
58
|
+
"sass": "^1.97.2",
|
|
59
59
|
"typescript": "^5.9.3",
|
|
60
|
-
"typescript-eslint": "^8.
|
|
60
|
+
"typescript-eslint": "^8.53.0",
|
|
61
61
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
62
|
-
"vite": "^7.
|
|
63
|
-
"vitest": "^4.0.
|
|
64
|
-
"vue-router": "^4.6.
|
|
65
|
-
"stonecrop-rig": "0.
|
|
62
|
+
"vite": "^7.3.1",
|
|
63
|
+
"vitest": "^4.0.17",
|
|
64
|
+
"vue-router": "^4.6.4",
|
|
65
|
+
"stonecrop-rig": "0.7.0"
|
|
66
66
|
},
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
package/src/types/index.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { IClientOptions } from 'mqtt'
|
|
|
2
2
|
import { CSSProperties } from 'vue'
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
+
* Configuration object for ListView component items
|
|
5
6
|
* @public
|
|
6
7
|
*/
|
|
7
8
|
export type ListViewItem = {
|
|
@@ -22,11 +23,13 @@ export type ListViewItem = {
|
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
/**
|
|
26
|
+
* Union type for color values - supports RGB, RGBA, HEX, HSL, HSLA, or CSS color string
|
|
25
27
|
* @public
|
|
26
28
|
*/
|
|
27
29
|
export type BeamColor = RGB | RGBA | HEX | HSL | HSLA | CSSProperties['color']
|
|
28
30
|
|
|
29
31
|
/**
|
|
32
|
+
* Filter choice with label and value for BeamFilter component
|
|
30
33
|
* @public
|
|
31
34
|
*/
|
|
32
35
|
export type BeamFilterChoice = {
|
|
@@ -69,5 +72,6 @@ export type HEX = `#${string}`
|
|
|
69
72
|
* @public
|
|
70
73
|
*/
|
|
71
74
|
export interface IMqttStream extends IClientOptions {
|
|
75
|
+
/** MQTT topics to subscribe to */
|
|
72
76
|
topics?: string[]
|
|
73
77
|
}
|
package/dist/tsdoc-metadata.json
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.52.10"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|