@procaaso/alphinity-ui-components 1.0.10 → 1.0.11
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.cjs +442 -385
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +442 -385
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -474,6 +474,8 @@ interface DeviceControlPanelProps {
|
|
|
474
474
|
maxHeight?: string;
|
|
475
475
|
/** Maximum width for bottom position (default: none) */
|
|
476
476
|
maxWidth?: string;
|
|
477
|
+
/** Toast notification duration in milliseconds (default: 3000) */
|
|
478
|
+
toastDuration?: number;
|
|
477
479
|
/** Called when mode changes */
|
|
478
480
|
onModeChange?: (mode: string) => void;
|
|
479
481
|
/** Called when parameter changes */
|
|
@@ -485,7 +487,7 @@ interface DeviceControlPanelProps {
|
|
|
485
487
|
/** Called when custom action clicked */
|
|
486
488
|
onCustomAction?: (actionId: string) => void;
|
|
487
489
|
}
|
|
488
|
-
declare function DeviceControlPanel({ binding, onClose, position, align, touchOptimized, compact, fontScale, maxHeight, maxWidth, onModeChange, onParameterChange, onStart, onStop, onCustomAction, }: DeviceControlPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
490
|
+
declare function DeviceControlPanel({ binding, onClose, position, align, touchOptimized, compact, fontScale, maxHeight, maxWidth, toastDuration, onModeChange, onParameterChange, onStart, onStop, onCustomAction, }: DeviceControlPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
489
491
|
|
|
490
492
|
type DisplayMode = 'standard' | 'dashboard';
|
|
491
493
|
interface FullscreenContainerProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -474,6 +474,8 @@ interface DeviceControlPanelProps {
|
|
|
474
474
|
maxHeight?: string;
|
|
475
475
|
/** Maximum width for bottom position (default: none) */
|
|
476
476
|
maxWidth?: string;
|
|
477
|
+
/** Toast notification duration in milliseconds (default: 3000) */
|
|
478
|
+
toastDuration?: number;
|
|
477
479
|
/** Called when mode changes */
|
|
478
480
|
onModeChange?: (mode: string) => void;
|
|
479
481
|
/** Called when parameter changes */
|
|
@@ -485,7 +487,7 @@ interface DeviceControlPanelProps {
|
|
|
485
487
|
/** Called when custom action clicked */
|
|
486
488
|
onCustomAction?: (actionId: string) => void;
|
|
487
489
|
}
|
|
488
|
-
declare function DeviceControlPanel({ binding, onClose, position, align, touchOptimized, compact, fontScale, maxHeight, maxWidth, onModeChange, onParameterChange, onStart, onStop, onCustomAction, }: DeviceControlPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
490
|
+
declare function DeviceControlPanel({ binding, onClose, position, align, touchOptimized, compact, fontScale, maxHeight, maxWidth, toastDuration, onModeChange, onParameterChange, onStart, onStop, onCustomAction, }: DeviceControlPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
489
491
|
|
|
490
492
|
type DisplayMode = 'standard' | 'dashboard';
|
|
491
493
|
interface FullscreenContainerProps {
|