@esrf/daiquiri-lib 5.5.0 → 5.5.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/index.d.ts +7 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -120,15 +120,21 @@ interface HardwareDesc<H extends Hardware = Hardware> {
|
|
|
120
120
|
monitor?: HardwareComponentType<H>;
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* Props accepted by a hardware widget container
|
|
124
124
|
*/
|
|
125
125
|
interface HardwareObjectProps {
|
|
126
|
+
/** Hardware id to bind to. */
|
|
126
127
|
id: string;
|
|
127
128
|
options: {
|
|
129
|
+
/** Hardware variant used for the widget container. */
|
|
128
130
|
variant?: string;
|
|
131
|
+
/** Header text shown above the hardware widget. */
|
|
129
132
|
header?: string;
|
|
133
|
+
/** Width, in pixels, of the widget container. */
|
|
130
134
|
width?: number;
|
|
135
|
+
/** Bootstrap column width (1-12) of the widget container. */
|
|
131
136
|
colWidth?: number;
|
|
137
|
+
/** If true, don't render anything when the underlying value is empty/none. */
|
|
132
138
|
emptyifnone?: boolean;
|
|
133
139
|
};
|
|
134
140
|
propertiesSchema?: Record<string, unknown>;
|