chore(TypographyMenu): use 2nd version of combo control
This commit is contained in:
@@ -11,7 +11,6 @@ import {
|
|||||||
} from '$shared/shadcn/ui/item';
|
} from '$shared/shadcn/ui/item';
|
||||||
import { cn } from '$shared/shadcn/utils/shadcn-utils';
|
import { cn } from '$shared/shadcn/utils/shadcn-utils';
|
||||||
import {
|
import {
|
||||||
ComboControl,
|
|
||||||
ComboControlV2,
|
ComboControlV2,
|
||||||
Drawer,
|
Drawer,
|
||||||
IconButton,
|
IconButton,
|
||||||
@@ -91,6 +90,7 @@ $effect(() => {
|
|||||||
<ComboControlV2
|
<ComboControlV2
|
||||||
control={control.instance}
|
control={control.instance}
|
||||||
orientation="horizontal"
|
orientation="horizontal"
|
||||||
|
reduced
|
||||||
/>
|
/>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
@@ -105,12 +105,12 @@ $effect(() => {
|
|||||||
<div class="sm:py-2 sm:px-10 flex flex-row items-center gap-2">
|
<div class="sm:py-2 sm:px-10 flex flex-row items-center gap-2">
|
||||||
<div class="flex flex-row gap-3">
|
<div class="flex flex-row gap-3">
|
||||||
{#each controlManager.controls as control (control.id)}
|
{#each controlManager.controls as control (control.id)}
|
||||||
<ComboControl
|
<ComboControlV2
|
||||||
control={control.instance}
|
control={control.instance}
|
||||||
increaseLabel={control.increaseLabel}
|
increaseLabel={control.increaseLabel}
|
||||||
decreaseLabel={control.decreaseLabel}
|
decreaseLabel={control.decreaseLabel}
|
||||||
controlLabel={control.controlLabel}
|
controlLabel={control.controlLabel}
|
||||||
reduced={responsive.isMobile}
|
orientation="vertical"
|
||||||
/>
|
/>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user