feat(ui): standardize inspector spacing and compact level geometry
This commit is contained in:
@@ -1508,6 +1508,8 @@ export function CatalogApp() {
|
||||
<LevelButton label="Заряд аккумулятора" value={null} freshness="unknown" disabled/>
|
||||
<LevelButton label="Белая заливка" value={.82} fillColor="#ffffff"/>
|
||||
<LevelButton label="Чёрная заливка" value={.82} fillColor="#000000"/>
|
||||
<LevelButton label="Минимальный индикатор" value={1} valueText="100%" fillColor="#ffffff" geometry={{width:32,height:12,radius:4}}/>
|
||||
<LevelButton label="Широкий индикатор" value={.82} geometry={{width:160,height:24,radius:8}}/>
|
||||
</Preview>
|
||||
<Preview title="Линейный прогресс" note="измеренный / неизвестный / завершённый">
|
||||
<ProgressBar label="Подготовка" value={0.6} valueText="Три этапа из пяти" />
|
||||
@@ -2357,7 +2359,7 @@ export function CatalogApp() {
|
||||
draggable
|
||||
onClose={() => setInspectorOpen(false)}
|
||||
>
|
||||
<Inspector sections={environmentSections} defaultOpen={["application-material"]} />
|
||||
<Inspector header={<Description>Поля и секции разделены единым шагом 12 px.</Description>} footer={<Button variant="primary" tone="neutral" onClick={()=>setInspectorOpen(false)}>Готово</Button>} sections={environmentSections} defaultOpen={["application-material"]} />
|
||||
</Window>
|
||||
|
||||
<Window
|
||||
|
||||
Reference in New Issue
Block a user