+
{copiedIndex === i ? 'Copied!' : x}
diff --git a/apps/design-system/components/command-menu.tsx b/apps/design-system/components/command-menu.tsx
index a2dd7b3de58..fbd26bea2e8 100644
--- a/apps/design-system/components/command-menu.tsx
+++ b/apps/design-system/components/command-menu.tsx
@@ -56,7 +56,7 @@ export function CommandMenu({ ...props }: DialogProps) {
diff --git a/apps/design-system/components/component-preview.tsx b/apps/design-system/components/component-preview.tsx
index b6c5005fcb1..0189c7ee1ed 100644
--- a/apps/design-system/components/component-preview.tsx
+++ b/apps/design-system/components/component-preview.tsx
@@ -55,7 +55,7 @@ export function ComponentPreview({
return (
Component{' '}
-
+
{name}
{' '}
not found in registry.
@@ -99,10 +99,10 @@ export function ComponentPreview({
)}
>
{showGrid && (
-
+
)}
{showDottedGrid && (
-
+
)}
{ComponentPreview}
{/* */}
@@ -144,10 +144,10 @@ export function ComponentPreview({
})}
>
{showGrid && (
-
+
)}
{showDottedGrid && (
-
+
)}
{ComponentPreview}
@@ -164,12 +164,12 @@ export function ComponentPreview({
px-4 py-4
border border-r
group
- data-[state=closed]:rounded-bl-md data-[state=closed]:rounded-br-md
+ data-closed:rounded-bl-md data-closed:rounded-br-md
`}
>
View code
diff --git a/apps/design-system/components/grid.tsx b/apps/design-system/components/grid.tsx
index 659117a7737..23ca11ac432 100644
--- a/apps/design-system/components/grid.tsx
+++ b/apps/design-system/components/grid.tsx
@@ -47,8 +47,8 @@ const GridItem = forwardRef>(
transition
group-hover:border
group-hover:border-foreground-muted
- group-data-[state=open]:border
- group-data-[state=open]:border-foreground-muted
+ group-data-open:border
+ group-data-open:border-foreground-muted
"
>
{children}
diff --git a/apps/design-system/components/icons.tsx b/apps/design-system/components/icons.tsx
index e94f408759d..ce07e959a04 100644
--- a/apps/design-system/components/icons.tsx
+++ b/apps/design-system/components/icons.tsx
@@ -18,11 +18,8 @@ function Icons() {
-
-
+
+
{icon.name}
diff --git a/apps/design-system/components/mdx-components.tsx b/apps/design-system/components/mdx-components.tsx
index 5e44875ed9e..6d260d75c57 100644
--- a/apps/design-system/components/mdx-components.tsx
+++ b/apps/design-system/components/mdx-components.tsx
@@ -92,10 +92,7 @@ const components = {
/>
),
p: ({ className, ...props }: React.HTMLAttributes) => (
-
+
),
ul: ({ className, ...props }: React.HTMLAttributes) => (
@@ -127,7 +124,7 @@ const components = {
th: ({ className, ...props }: React.HTMLAttributes) => (
) => (
| ) => (
) => (
{
return null
}
- const iconClasses = 'text-foreground-lighter group-data-[state=open]:text-foreground'
+ const iconClasses = 'text-foreground-lighter group-data-open:text-foreground'
return (
<>
diff --git a/apps/design-system/components/top-navigation.tsx b/apps/design-system/components/top-navigation.tsx
index 0af6b28d06b..232167a8528 100644
--- a/apps/design-system/components/top-navigation.tsx
+++ b/apps/design-system/components/top-navigation.tsx
@@ -13,7 +13,7 @@ export const TopNavigation = () => {
const { toggle } = useMobileSidebar()
return (
-
+
|