import { DemoStory } from '../../demo/demo-types'; import { Gauge } from './gauge'; import { HtmlVar } from 'lupine.components'; export const gaugeDemo: DemoStory = { id: 'gauge-demo', text: 'Gauge / Dial Demo', args: { min: 0, max: 100, step: 1, value: 30, rangeValue: [20, 80], disabled: false, readonly: false, showTicks: true, showTickLabels: true, showActiveTrack: true, activeTrackColor: '#2ecc71', tickStep: 10, }, argTypes: { min: { control: 'number' }, max: { control: 'number' }, step: { control: 'number' }, value: { control: 'number', description: 'Single Dial Value' }, disabled: { control: 'boolean' }, readonly: { control: 'boolean' }, showTicks: { control: 'boolean' }, showTickLabels: { control: 'boolean' }, showActiveTrack: { control: 'boolean' }, activeTrackColor: { control: 'color' }, tickStep: { control: 'number' }, }, render: (args) => { return (

Standard Dashboard Gauge

Dual Range Frequency Selector

Note: The highlighted region statically binds to initial Props (doesn't hook reactively inside demo loop).

); }, code: `import { Gauge } from 'lupine.components/component-pool'; // Single Gauge with Danger Zones console.log(v)} /> // Dual Range Frequency Selector console.log('Range Selected:', v)} /> `, };