Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix ui references

Terry Sutton43637fafdc4c
diff --git a/apps/www/pages/realtime/Realtime.tsx b/apps/www/pages/realtime/Realtime.tsx
index cc062d0bde4..7c858eaf5b7 100644
--- a/apps/www/pages/realtime/Realtime.tsx
+++ b/apps/www/pages/realtime/Realtime.tsx
@@ -1,4 +1,4 @@
-import { Button, IconGrid, IconLayers, IconMenu } from '@supabase/ui'
+import { Button, IconGrid, IconLayers, IconMenu } from 'ui'
import ApiExamples from 'data/products/realtime/api-examples'
import AppExamples from 'data/products/realtime/app-examples'
import Solutions from 'data/Solutions.json'
diff --git a/packages/ui/config.js b/packages/ui/config.js
index 9d2bd2159df..746bef7abec 100644
--- a/packages/ui/config.js
+++ b/packages/ui/config.js
@@ -16,7 +16,7 @@ const windmillConfig = {
darkMode: 'class',
purge: {
content: [
- 'node_modules/@supabase/ui/theme/defaultTheme.js',
+ //'node_modules/@supabase/ui/theme/defaultTheme.js',
// 'node_modules/@supabase/ui/dist/index.js',
],
},
diff --git a/studio/components/grid/components/editor/SelectEditor.tsx b/studio/components/grid/components/editor/SelectEditor.tsx
index f980583fad0..c98eea01aa3 100644
--- a/studio/components/grid/components/editor/SelectEditor.tsx
+++ b/studio/components/grid/components/editor/SelectEditor.tsx
@@ -1,4 +1,4 @@
-import { Listbox } from '@supabase/ui'
+import { Listbox } from 'ui'
import { EditorProps } from '@supabase/react-data-grid'
import { useTrackedState } from 'components/grid/store'
diff --git a/studio/components/interfaces/Reports/ReportWidget.tsx b/studio/components/interfaces/Reports/ReportWidget.tsx
index 2594c10c646..358027c1f4b 100644
--- a/studio/components/interfaces/Reports/ReportWidget.tsx
+++ b/studio/components/interfaces/Reports/ReportWidget.tsx
@@ -5,7 +5,7 @@ import { useRouter } from 'next/router'
import { BaseReportParams } from './Reports.types'
import { LogsEndpointParams } from '../Settings/Logs'
import * as Tooltip from '@radix-ui/react-tooltip'
-import { IconHelpCircle } from '@supabase/ui'
+import { IconHelpCircle } from 'ui'
export interface ReportWidgetProps<T = any> {
data: T[]
@@ -32,26 +32,25 @@ const ReportWidget: React.FC<ReportWidgetProps> = (props) => {
<div className="flex flex-row items-start justify-between">
<div className="gap-2">
<div className="flex flex-row gap-2">
-
- <h3 className="w-full h-6">{props.title}</h3>{' '}
- {props?.tooltip && (
- <Tooltip.Root delayDuration={0}>
- <Tooltip.Trigger>
- <IconHelpCircle className="text-scale-900" size="tiny" />
- </Tooltip.Trigger>
- <Tooltip.Content side="top">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 max-w-xs leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">{props.tooltip}</span>
- </div>
- </Tooltip.Content>
- </Tooltip.Root>
- )}
+ <h3 className="w-full h-6">{props.title}</h3>{' '}
+ {props?.tooltip && (
+ <Tooltip.Root delayDuration={0}>
+ <Tooltip.Trigger>
+ <IconHelpCircle className="text-scale-900" size="tiny" />
+ </Tooltip.Trigger>
+ <Tooltip.Content side="top">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 max-w-xs leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">{props.tooltip}</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Root>
+ )}
</div>
<p className="text-sm text-scale-1100">{props.description}</p>
</div>
diff --git a/studio/components/interfaces/Reports/Reports.utils.tsx b/studio/components/interfaces/Reports/Reports.utils.tsx
index f0cf2d3e2c4..9a1c5a06876 100644
--- a/studio/components/interfaces/Reports/Reports.utils.tsx
+++ b/studio/components/interfaces/Reports/Reports.utils.tsx
@@ -1,4 +1,4 @@
-import { IconRefreshCw } from '@supabase/ui'
+import { IconRefreshCw } from 'ui'
import useDbQuery from 'hooks/analytics/useDbQuery'
import useLogsQuery, { LogsQueryData, LogsQueryHandlers } from 'hooks/analytics/useLogsQuery'
import React from 'react'
diff --git a/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx b/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
index d2b6cfb387c..91e043e31fc 100644
--- a/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
@@ -14,7 +14,7 @@ import DatePickers from './Logs.DatePickers'
import Link from 'next/link'
import React from 'react'
import { checkPermissions, useStore } from 'hooks'
-import { IconBookOpen } from '@supabase/ui'
+import { IconBookOpen } from 'ui'
interface Props {
templates?: LogTemplate[]
diff --git a/studio/components/ui/Charts/NoDataPlaceholder.tsx b/studio/components/ui/Charts/NoDataPlaceholder.tsx
index 7fe1bcf96a0..ecec43e8236 100644
--- a/studio/components/ui/Charts/NoDataPlaceholder.tsx
+++ b/studio/components/ui/Charts/NoDataPlaceholder.tsx
@@ -1,4 +1,4 @@
-import { IconBarChart2 } from '@supabase/ui'
+import { IconBarChart2 } from 'ui'
interface Props {
title?: string