Skip to content

Commit 1e3dd06

Browse files
committed
feat: clear
1 parent 8edfb72 commit 1e3dd06

884 files changed

Lines changed: 1261 additions & 1379 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/docs-v2/app/(app)/charts/charts.tsx

Lines changed: 1 addition & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -201,75 +201,4 @@ export const charts: ChartGroups = {
201201
}
202202

203203
// Export individual components for backward compatibility
204-
export {
205-
ChartAreaDefault,
206-
ChartAreaLinear,
207-
ChartAreaStep,
208-
ChartAreaLegend,
209-
ChartAreaStacked,
210-
ChartAreaStackedExpand,
211-
ChartAreaIcons,
212-
ChartAreaGradient,
213-
ChartAreaAxes,
214-
ChartAreaInteractive,
215-
ChartBarDefault,
216-
ChartBarHorizontal,
217-
ChartBarMultiple,
218-
ChartBarStacked,
219-
ChartBarLabel,
220-
ChartBarLabelCustom,
221-
ChartBarMixed,
222-
ChartBarActive,
223-
ChartBarNegative,
224-
ChartBarInteractive,
225-
ChartLineDefault,
226-
ChartLineLinear,
227-
ChartLineStep,
228-
ChartLineMultiple,
229-
ChartLineDots,
230-
ChartLineDotsCustom,
231-
ChartLineDotsColors,
232-
ChartLineLabel,
233-
ChartLineLabelCustom,
234-
ChartLineInteractive,
235-
ChartPieSimple,
236-
ChartPieSeparatorNone,
237-
ChartPieLabel,
238-
ChartPieLabelCustom,
239-
ChartPieLabelList,
240-
ChartPieLegend,
241-
ChartPieDonut,
242-
ChartPieDonutActive,
243-
ChartPieDonutText,
244-
ChartPieStacked,
245-
ChartPieInteractive,
246-
ChartRadarDefault,
247-
ChartRadarDots,
248-
ChartRadarLinesOnly,
249-
ChartRadarLabelCustom,
250-
ChartRadarGridCustom,
251-
ChartRadarGridNone,
252-
ChartRadarGridCircle,
253-
ChartRadarGridCircleNoLines,
254-
ChartRadarGridCircleFill,
255-
ChartRadarGridFill,
256-
ChartRadarMultiple,
257-
ChartRadarLegend,
258-
ChartRadarIcons,
259-
ChartRadarRadius,
260-
ChartRadialSimple,
261-
ChartRadialLabel,
262-
ChartRadialGrid,
263-
ChartRadialText,
264-
ChartRadialShape,
265-
ChartRadialStacked,
266-
ChartTooltipDefault,
267-
ChartTooltipIndicatorLine,
268-
ChartTooltipIndicatorNone,
269-
ChartTooltipLabelCustom,
270-
ChartTooltipLabelFormatter,
271-
ChartTooltipLabelNone,
272-
ChartTooltipFormatter,
273-
ChartTooltipIcons,
274-
ChartTooltipAdvanced,
275-
}
204+

packages/docs-v2/app/(app)/examples/dashboard/components/chart-area-interactive.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import {
3030
ToggleGroupItem,
3131
} from "@/registry/new-york-v4/ui/toggle-group"
3232

33-
export const description = "An interactive area chart"
33+
const description = "An interactive area chart"
3434

3535
const chartData = [
3636
{ date: "2024-04-01", desktop: 222, mobile: 150 },

packages/docs-v2/app/(create)/components/picker.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -273,18 +273,18 @@ function PickerShortcut({ className, ...props }: React.ComponentProps<"span">) {
273273

274274
export {
275275
Picker,
276-
PickerPortal,
276+
277277
PickerTrigger,
278278
PickerContent,
279279
PickerGroup,
280-
PickerLabel,
280+
281281
PickerItem,
282-
PickerCheckboxItem,
282+
283283
PickerRadioGroup,
284284
PickerRadioItem,
285285
PickerSeparator,
286-
PickerShortcut,
287-
PickerSub,
288-
PickerSubTrigger,
289-
PickerSubContent,
286+
287+
288+
289+
290290
}

packages/docs-v2/app/(create)/hooks/use-iframe-sync.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type ParentToIframeMessage = {
99
data: DesignSystemSearchParams
1010
}
1111

12-
export const isInIframe = () => {
12+
const isInIframe = () => {
1313
if (typeof window === "undefined") {
1414
return false
1515
}

packages/docs-v2/app/(create)/lib/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ export async function getBaseComponent(name: string, base: BaseName) {
4141
}
4242

4343
// Re-export for server-side use.
44-
export { getThemesForBaseColor }
44+

packages/docs-v2/app/(create)/lib/randomize-biases.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ export type RandomizeContext = {
1818
radius?: string
1919
}
2020

21-
export type BiasFilter<T> = (
21+
type BiasFilter<T> = (
2222
items: readonly T[],
2323
context: RandomizeContext
2424
) => readonly T[]
2525

26-
export type RandomizeBiases = {
26+
type RandomizeBiases = {
2727
fonts?: BiasFilter<(typeof FONTS)[number]>
2828
radius?: BiasFilter<Radius>
2929
// Add more bias filters as needed:

packages/docs-v2/components/block-viewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ function BlockViewerCode() {
368368
)
369369
}
370370

371-
export function BlockViewerFileTree() {
371+
function BlockViewerFileTree() {
372372
const { tree } = useBlockViewer()
373373

374374
if (!tree) {

packages/docs-v2/components/cards/payments.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ const data: Payment[] = [
8181
},
8282
]
8383

84-
export type Payment = {
84+
type Payment = {
8585
id: string
8686
amount: number
8787
status: "pending" | "processing" | "success" | "failed"
8888
email: string
8989
}
9090

91-
export const columns: ColumnDef<Payment>[] = [
91+
const columns: ColumnDef<Payment>[] = [
9292
{
9393
id: "select",
9494
header: ({ table }) => (

packages/docs-v2/components/color-format-selector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function ColorFormatSelector({
5858
)
5959
}
6060

61-
export function ColorFormatSelectorSkeleton({
61+
function ColorFormatSelectorSkeleton({
6262
className,
6363
...props
6464
}: React.ComponentProps<typeof Skeleton>) {

packages/docs-v2/components/github-link.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function GitHubLink() {
1919
)
2020
}
2121

22-
export async function StarsCount() {
22+
async function StarsCount() {
2323
const data = await fetch("https://api.github.com/repos/siberiacancode/reactuse", {
2424
next: { revalidate: 86400 },
2525
})

0 commit comments

Comments
 (0)