@procaaso/alphinity-ui-components 1.0.9 → 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 +462 -387
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +462 -387
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -462,12 +462,20 @@ interface DeviceControlPanelProps {
|
|
|
462
462
|
onClose: () => void;
|
|
463
463
|
/** Panel position */
|
|
464
464
|
position?: 'bottom' | 'side';
|
|
465
|
+
/** Horizontal alignment for bottom position (default: center) */
|
|
466
|
+
align?: 'left' | 'center' | 'right';
|
|
465
467
|
/** Optimize for touch (larger targets) */
|
|
466
468
|
touchOptimized?: boolean;
|
|
469
|
+
/** Compact mode - reduces padding and spacing */
|
|
470
|
+
compact?: boolean;
|
|
471
|
+
/** Font size scale (default: 1.0, smaller: 0.8, larger: 1.2) */
|
|
472
|
+
fontScale?: number;
|
|
467
473
|
/** Maximum height for bottom position (default: 70vh) */
|
|
468
474
|
maxHeight?: string;
|
|
469
475
|
/** Maximum width for bottom position (default: none) */
|
|
470
476
|
maxWidth?: string;
|
|
477
|
+
/** Toast notification duration in milliseconds (default: 3000) */
|
|
478
|
+
toastDuration?: number;
|
|
471
479
|
/** Called when mode changes */
|
|
472
480
|
onModeChange?: (mode: string) => void;
|
|
473
481
|
/** Called when parameter changes */
|
|
@@ -479,7 +487,7 @@ interface DeviceControlPanelProps {
|
|
|
479
487
|
/** Called when custom action clicked */
|
|
480
488
|
onCustomAction?: (actionId: string) => void;
|
|
481
489
|
}
|
|
482
|
-
declare function DeviceControlPanel({ binding, onClose, position, touchOptimized, 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;
|
|
483
491
|
|
|
484
492
|
type DisplayMode = 'standard' | 'dashboard';
|
|
485
493
|
interface FullscreenContainerProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -462,12 +462,20 @@ interface DeviceControlPanelProps {
|
|
|
462
462
|
onClose: () => void;
|
|
463
463
|
/** Panel position */
|
|
464
464
|
position?: 'bottom' | 'side';
|
|
465
|
+
/** Horizontal alignment for bottom position (default: center) */
|
|
466
|
+
align?: 'left' | 'center' | 'right';
|
|
465
467
|
/** Optimize for touch (larger targets) */
|
|
466
468
|
touchOptimized?: boolean;
|
|
469
|
+
/** Compact mode - reduces padding and spacing */
|
|
470
|
+
compact?: boolean;
|
|
471
|
+
/** Font size scale (default: 1.0, smaller: 0.8, larger: 1.2) */
|
|
472
|
+
fontScale?: number;
|
|
467
473
|
/** Maximum height for bottom position (default: 70vh) */
|
|
468
474
|
maxHeight?: string;
|
|
469
475
|
/** Maximum width for bottom position (default: none) */
|
|
470
476
|
maxWidth?: string;
|
|
477
|
+
/** Toast notification duration in milliseconds (default: 3000) */
|
|
478
|
+
toastDuration?: number;
|
|
471
479
|
/** Called when mode changes */
|
|
472
480
|
onModeChange?: (mode: string) => void;
|
|
473
481
|
/** Called when parameter changes */
|
|
@@ -479,7 +487,7 @@ interface DeviceControlPanelProps {
|
|
|
479
487
|
/** Called when custom action clicked */
|
|
480
488
|
onCustomAction?: (actionId: string) => void;
|
|
481
489
|
}
|
|
482
|
-
declare function DeviceControlPanel({ binding, onClose, position, touchOptimized, 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;
|
|
483
491
|
|
|
484
492
|
type DisplayMode = 'standard' | 'dashboard';
|
|
485
493
|
interface FullscreenContainerProps {
|