primevue-mirror/apps/showcase/components/layout/designer/semantic/DesignNavigation.vue

58 lines
2.6 KiB
Vue
Raw Permalink Normal View History

2024-11-10 19:16:58 +00:00
<template>
<Fieldset legend="Navigation" :toggleable="true">
<div class="text-sm mb-1 font-semibold text-surface-950 dark:text-surface-0">List</div>
<section class="grid grid-cols-4 mb-3 gap-2">
<div class="flex flex-col gap-1">
2024-11-12 09:18:07 +00:00
<DesignTokenField v-model="$preset.semantic.navigation.list.padding" label="Padding" />
2024-11-10 19:16:58 +00:00
</div>
<div class="flex flex-col gap-1">
2024-11-12 09:18:07 +00:00
<DesignTokenField v-model="$preset.semantic.navigation.list.gap" label="Gap" />
2024-11-10 19:16:58 +00:00
</div>
<div class="flex flex-col gap-1"></div>
<div class="flex flex-col gap-1"></div>
</section>
<div class="text-sm mb-1 font-semibold text-surface-950 dark:text-surface-0">Item</div>
<section class="grid grid-cols-4 mb-3 gap-2">
<div class="flex flex-col gap-1">
2024-11-12 09:18:07 +00:00
<DesignTokenField v-model="$preset.semantic.navigation.item.padding" label="Padding" />
2024-11-10 19:16:58 +00:00
</div>
<div class="flex flex-col gap-1">
2024-11-12 09:18:07 +00:00
<DesignTokenField v-model="$preset.semantic.navigation.item.borderRadius" label="Border Radius" />
2024-11-10 19:16:58 +00:00
</div>
<div class="flex flex-col gap-1">
2024-11-12 09:18:07 +00:00
<DesignTokenField v-model="$preset.semantic.navigation.item.gap" label="Gap" />
2024-11-10 19:16:58 +00:00
</div>
<div class="flex flex-col gap-1"></div>
</section>
<div class="text-sm mb-1 font-semibold text-surface-950 dark:text-surface-0">Submenu Label</div>
<section class="grid grid-cols-4 mb-3 gap-2">
<div class="flex flex-col gap-1">
2024-11-12 09:18:07 +00:00
<DesignTokenField v-model="$preset.semantic.navigation.submenuLabel.padding" label="Padding" />
2024-11-10 19:16:58 +00:00
</div>
<div class="flex flex-col gap-1">
2024-11-12 09:18:07 +00:00
<DesignTokenField v-model="$preset.semantic.navigation.submenuLabel.fontWeight" label="Font Weight" />
2024-11-10 19:16:58 +00:00
</div>
<div class="flex flex-col gap-1"></div>
<div class="flex flex-col gap-1"></div>
</section>
<div class="text-sm mb-1 font-semibold text-surface-950 dark:text-surface-0">Submenu Icon</div>
<section class="grid grid-cols-4 gap-2">
<div class="flex flex-col gap-1">
2024-11-12 09:18:07 +00:00
<DesignTokenField v-model="$preset.semantic.navigation.submenuIcon.size" label="Size" />
2024-11-10 19:16:58 +00:00
</div>
<div class="flex flex-col gap-1"></div>
<div class="flex flex-col gap-1"></div>
<div class="flex flex-col gap-1"></div>
</section>
</Fieldset>
</template>
<script>
export default {
inject: ['$preset']
};
</script>