diff --git a/packages/batch-actions/vite.config.ts b/packages/batch-actions/vite.config.ts index 5a33944..6ab5f59 100644 --- a/packages/batch-actions/vite.config.ts +++ b/packages/batch-actions/vite.config.ts @@ -1,7 +1,15 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' +import sass from 'sass' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], + css: { + preprocessorOptions: { + scss: { + implementation: sass, + }, + }, + }, }) diff --git a/packages/filterPanel/src/FilterPanel.tsx b/packages/filterPanel/src/FilterPanel.tsx index 3476f67..3a1ed9c 100644 --- a/packages/filterPanel/src/FilterPanel.tsx +++ b/packages/filterPanel/src/FilterPanel.tsx @@ -5,8 +5,6 @@ import { DataTable, IconButton, Layer, - Popover, - PopoverContent, TextInput, Dropdown, ButtonSet, @@ -235,6 +233,9 @@ export const FilterPanel = () => { { width: '100%', transform: 'translateX(0px)', + }, + { + duration: .25, } ) } else { @@ -245,7 +246,6 @@ export const FilterPanel = () => { transform: [`translateX(-320px)`, `translateX(0px)`] }, { - // offset: [0, 0.1, 1], duration: .25, } ) @@ -254,6 +254,9 @@ export const FilterPanel = () => { { width: 'calc(100% - 336px)', transform: 'translateX(336px)', + }, + { + duration: .25, } ) } @@ -449,7 +452,7 @@ const FilterColumn = ( } return filterVariant === 'select' ? ( - + ) : filterVariant === 'checkbox' ? ( - +

{column.id}

{sortedUniqueValues.map((value: string) => ( ) : filterVariant === 'number' ? ( - + ) : ( - + { // column.setFilterValue(event.target.value) // instant filter option