Skip to content

Commit

Permalink
Merge branch 'main' into fix/dialog-demo-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn authored Sep 18, 2023
2 parents 312489c + b838ffe commit ad9c084
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
} from "@/registry/new-york/ui/popover"
import { Separator } from "@/registry/new-york/ui/separator"

interface DataTableFacetedFilter<TData, TValue> {
interface DataTableFacetedFilterProps<TData, TValue> {
column?: Column<TData, TValue>
title?: string
options: {
Expand All @@ -35,7 +35,7 @@ export function DataTableFacetedFilter<TData, TValue>({
column,
title,
options,
}: DataTableFacetedFilter<TData, TValue>) {
}: DataTableFacetedFilterProps<TData, TValue>) {
const facets = column?.getFacetedUniqueValues()
const selectedValues = new Set(column?.getFilterValue() as string[])

Expand Down
3 changes: 2 additions & 1 deletion apps/www/content/docs/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ npx shadcn-ui@latest add [component]
You will be presented with a list of components to choose from:

```txt
Which components would you like to add? › Space to select. Return to submit.
Which components would you like to add? › Space to select. A to toggle all.
Enter to submit.
◯ accordion
◯ alert
Expand Down
7 changes: 6 additions & 1 deletion apps/www/content/docs/dark-mode/next.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ export default function RootLayout({ children }: RootLayoutProps) {
<html lang="en" suppressHydrationWarning>
<head />
<body>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
{children}
</ThemeProvider>
</body>
Expand Down
2 changes: 1 addition & 1 deletion apps/www/content/docs/installation/manual.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports = {

Add the following to your styles/globals.css file. You can learn more about using CSS variables for theming in the [theming section](/docs/theming).

```css title="styles.css"
```css title="globals.css"
@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down

0 comments on commit ad9c084

Please sign in to comment.