@stonecrop/beam 0.7.0 → 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
CHANGED
|
@@ -33,6 +33,7 @@ export { BeamArrow }
|
|
|
33
33
|
export { BeamBtn }
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
+
* Union type for color values - supports RGB, RGBA, HEX, HSL, HSLA, or CSS color string
|
|
36
37
|
* @public
|
|
37
38
|
*/
|
|
38
39
|
export declare type BeamColor = RGB | RGBA | HEX | HSL | HSLA | CSSProperties['color'];
|
|
@@ -42,6 +43,7 @@ export { BeamDayDivider }
|
|
|
42
43
|
export { BeamFilter }
|
|
43
44
|
|
|
44
45
|
/**
|
|
46
|
+
* Filter choice with label and value for BeamFilter component
|
|
45
47
|
* @public
|
|
46
48
|
*/
|
|
47
49
|
export declare type BeamFilterChoice = {
|
|
@@ -88,6 +90,7 @@ export declare type HSLA = `hsl(${number}, ${number}%, ${number}%), ${number}`;
|
|
|
88
90
|
* @public
|
|
89
91
|
*/
|
|
90
92
|
export declare interface IMqttStream extends IClientOptions {
|
|
93
|
+
/** MQTT topics to subscribe to */
|
|
91
94
|
topics?: string[];
|
|
92
95
|
}
|
|
93
96
|
|
|
@@ -109,6 +112,7 @@ export { ListItem }
|
|
|
109
112
|
export { ListView }
|
|
110
113
|
|
|
111
114
|
/**
|
|
115
|
+
* Configuration object for ListView component items
|
|
112
116
|
* @public
|
|
113
117
|
*/
|
|
114
118
|
export declare type ListViewItem = {
|
|
@@ -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,cAAc,EAAE,MAAM,MAAM,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAA;AAEnC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAA;AAEnC;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAA;QACb,EAAE,EAAE,MAAM,CAAA;QACV,GAAG,CAAC,EAAE,MAAM,CAAA;KACZ,CAAA;IACD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAA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|
|
63
63
|
"vitest": "^4.0.17",
|
|
64
64
|
"vue-router": "^4.6.4",
|
|
65
|
-
"stonecrop-rig": "0.
|
|
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
|
}
|