From 8b546600dbfbff187d9c5be1b35ea1772e94f83f Mon Sep 17 00:00:00 2001 From: Alex Thorwaldson Date: Wed, 10 Apr 2024 08:54:16 -0700 Subject: [PATCH] feat(Table): add `checkbox` ui config (#1409) Co-authored-by: gangan <44604921+shinGangan@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/components/content/examples/TableExampleAdvanced.vue | 2 +- src/runtime/components/data/Table.vue | 4 ++-- src/runtime/ui.config/data/table.ts | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/components/content/examples/TableExampleAdvanced.vue b/docs/components/content/examples/TableExampleAdvanced.vue index a99b501f..f4ac15ed 100644 --- a/docs/components/content/examples/TableExampleAdvanced.vue +++ b/docs/components/content/examples/TableExampleAdvanced.vue @@ -186,7 +186,7 @@ const { data: todos, pending } = await useLazyAsyncData<{ sort-desc-icon="i-heroicons-arrow-down" sort-mode="manual" class="w-full" - :ui="{ td: { base: 'max-w-[0] truncate' } }" + :ui="{ td: { base: 'max-w-[0] truncate' }, default: { checkbox: { color: 'gray' } } }" @select="select" >