From de0ba4b753c2347197caa36d876e8b95a22de013 Mon Sep 17 00:00:00 2001 From: zernonia Date: Tue, 5 Dec 2023 13:23:43 +0800 Subject: [PATCH] chore: build registry --- apps/www/src/public/registry/styles/default/calendar.json | 2 +- apps/www/src/public/registry/styles/default/chart-area.json | 2 +- apps/www/src/public/registry/styles/default/chart-bar.json | 2 +- apps/www/src/public/registry/styles/default/chart-donut.json | 2 +- apps/www/src/public/registry/styles/default/chart-line.json | 2 +- apps/www/src/public/registry/styles/default/chart.json | 2 +- apps/www/src/public/registry/styles/default/checkbox.json | 2 +- apps/www/src/public/registry/styles/default/dropdown-menu.json | 2 +- apps/www/src/public/registry/styles/default/input.json | 2 +- apps/www/src/public/registry/styles/new-york/calendar.json | 2 +- apps/www/src/public/registry/styles/new-york/chart-area.json | 2 +- apps/www/src/public/registry/styles/new-york/chart-bar.json | 2 +- apps/www/src/public/registry/styles/new-york/chart-donut.json | 2 +- apps/www/src/public/registry/styles/new-york/chart-line.json | 2 +- apps/www/src/public/registry/styles/new-york/chart.json | 2 +- apps/www/src/public/registry/styles/new-york/checkbox.json | 2 +- apps/www/src/public/registry/styles/new-york/command.json | 2 +- apps/www/src/public/registry/styles/new-york/dropdown-menu.json | 2 +- apps/www/src/public/registry/styles/new-york/input.json | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/apps/www/src/public/registry/styles/default/calendar.json b/apps/www/src/public/registry/styles/default/calendar.json index 84aa0701..585f8f5a 100644 --- a/apps/www/src/public/registry/styles/default/calendar.json +++ b/apps/www/src/public/registry/styles/default/calendar.json @@ -11,7 +11,7 @@ "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/default/chart-area.json b/apps/www/src/public/registry/styles/default/chart-area.json index 2c45eee5..cb4c142e 100644 --- a/apps/www/src/public/registry/styles/default/chart-area.json +++ b/apps/www/src/public/registry/styles/default/chart-area.json @@ -12,7 +12,7 @@ "files": [ { "name": "AreaChart.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/default/chart-bar.json b/apps/www/src/public/registry/styles/default/chart-bar.json index fa0c39c0..1498a8c5 100644 --- a/apps/www/src/public/registry/styles/default/chart-bar.json +++ b/apps/www/src/public/registry/styles/default/chart-bar.json @@ -12,7 +12,7 @@ "files": [ { "name": "BarChart.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/default/chart-donut.json b/apps/www/src/public/registry/styles/default/chart-donut.json index fb6c895f..6728d097 100644 --- a/apps/www/src/public/registry/styles/default/chart-donut.json +++ b/apps/www/src/public/registry/styles/default/chart-donut.json @@ -12,7 +12,7 @@ "files": [ { "name": "DonutChart.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/default/chart-line.json b/apps/www/src/public/registry/styles/default/chart-line.json index 90e64845..d4dc3e41 100644 --- a/apps/www/src/public/registry/styles/default/chart-line.json +++ b/apps/www/src/public/registry/styles/default/chart-line.json @@ -12,7 +12,7 @@ "files": [ { "name": "LineChart.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/default/chart.json b/apps/www/src/public/registry/styles/default/chart.json index 525ebba9..8498e5cd 100644 --- a/apps/www/src/public/registry/styles/default/chart.json +++ b/apps/www/src/public/registry/styles/default/chart.json @@ -28,7 +28,7 @@ }, { "name": "index.ts", - "content": "export { default as ChartTooltip } from './ChartTooltip.vue'\nexport { default as ChartSingleTooltip } from './ChartSingleTooltip.vue'\nexport { default as ChartLegend } from './ChartLegend.vue'\nexport { default as ChartCrosshair } from './ChartCrosshair.vue'\n\nconst COLOR_COUNT = 3\nexport const defaultColors = [\n ...Array.from(Array(COLOR_COUNT).keys()).map(i => `hsl(var(--primary) / ${1 - (1 / COLOR_COUNT) * i})`),\n ...Array.from(Array(COLOR_COUNT).keys()).map(i => `hsl(var(--secondary) / ${1 - (1 / COLOR_COUNT) * i})`),\n]\n" + "content": "export { default as ChartTooltip } from './ChartTooltip.vue'\nexport { default as ChartSingleTooltip } from './ChartSingleTooltip.vue'\nexport { default as ChartLegend } from './ChartLegend.vue'\nexport { default as ChartCrosshair } from './ChartCrosshair.vue'\n\nexport function defaultColors(count: number = 3) {\n const quotient = Math.floor(count / 2)\n const remainder = count % 2\n\n const primaryCount = quotient + remainder\n const secondaryCount = quotient\n return [\n ...Array.from(Array(primaryCount).keys()).map(i => `hsl(var(--primary) / ${1 - (1 / primaryCount) * i})`),\n ...Array.from(Array(secondaryCount).keys()).map(i => `hsl(var(--border) / ${1 - (1 / secondaryCount) * i})`),\n ]\n}\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/checkbox.json b/apps/www/src/public/registry/styles/default/checkbox.json index 2b9bc597..b6da0eba 100644 --- a/apps/www/src/public/registry/styles/default/checkbox.json +++ b/apps/www/src/public/registry/styles/default/checkbox.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} +} \ No newline at end of file diff --git a/apps/www/src/public/registry/styles/default/dropdown-menu.json b/apps/www/src/public/registry/styles/default/dropdown-menu.json index 3ae58255..63d40577 100644 --- a/apps/www/src/public/registry/styles/default/dropdown-menu.json +++ b/apps/www/src/public/registry/styles/default/dropdown-menu.json @@ -9,7 +9,7 @@ "files": [ { "name": "DropdownMenu.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "DropdownMenuCheckboxItem.vue", diff --git a/apps/www/src/public/registry/styles/default/input.json b/apps/www/src/public/registry/styles/default/input.json index 9aff41dc..4290905d 100644 --- a/apps/www/src/public/registry/styles/default/input.json +++ b/apps/www/src/public/registry/styles/default/input.json @@ -9,7 +9,7 @@ "files": [ { "name": "Input.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/calendar.json b/apps/www/src/public/registry/styles/new-york/calendar.json index 9029ca0f..b03e1e38 100644 --- a/apps/www/src/public/registry/styles/new-york/calendar.json +++ b/apps/www/src/public/registry/styles/new-york/calendar.json @@ -11,7 +11,7 @@ "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/chart-area.json b/apps/www/src/public/registry/styles/new-york/chart-area.json index d55410e4..87d7bd36 100644 --- a/apps/www/src/public/registry/styles/new-york/chart-area.json +++ b/apps/www/src/public/registry/styles/new-york/chart-area.json @@ -12,7 +12,7 @@ "files": [ { "name": "AreaChart.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/chart-bar.json b/apps/www/src/public/registry/styles/new-york/chart-bar.json index 0dc3fc18..f5540f90 100644 --- a/apps/www/src/public/registry/styles/new-york/chart-bar.json +++ b/apps/www/src/public/registry/styles/new-york/chart-bar.json @@ -12,7 +12,7 @@ "files": [ { "name": "BarChart.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/chart-donut.json b/apps/www/src/public/registry/styles/new-york/chart-donut.json index d61cea53..28ab718f 100644 --- a/apps/www/src/public/registry/styles/new-york/chart-donut.json +++ b/apps/www/src/public/registry/styles/new-york/chart-donut.json @@ -12,7 +12,7 @@ "files": [ { "name": "DonutChart.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/chart-line.json b/apps/www/src/public/registry/styles/new-york/chart-line.json index ae73b8c6..8633dd01 100644 --- a/apps/www/src/public/registry/styles/new-york/chart-line.json +++ b/apps/www/src/public/registry/styles/new-york/chart-line.json @@ -12,7 +12,7 @@ "files": [ { "name": "LineChart.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/chart.json b/apps/www/src/public/registry/styles/new-york/chart.json index 43cb6afd..5bd3d8f8 100644 --- a/apps/www/src/public/registry/styles/new-york/chart.json +++ b/apps/www/src/public/registry/styles/new-york/chart.json @@ -28,7 +28,7 @@ }, { "name": "index.ts", - "content": "export { default as ChartTooltip } from './ChartTooltip.vue'\nexport { default as ChartSingleTooltip } from './ChartSingleTooltip.vue'\nexport { default as ChartLegend } from './ChartLegend.vue'\nexport { default as ChartCrosshair } from './ChartCrosshair.vue'\n\nconst COLOR_COUNT = 3\nexport const defaultColors = [\n ...Array.from(Array(COLOR_COUNT).keys()).map(i => `hsl(var(--primary) / ${1 - (1 / COLOR_COUNT) * i})`),\n ...Array.from(Array(COLOR_COUNT).keys()).map(i => `hsl(var(--secondary) / ${1 - (1 / COLOR_COUNT) * i})`),\n]\n" + "content": "export { default as ChartTooltip } from './ChartTooltip.vue'\nexport { default as ChartSingleTooltip } from './ChartSingleTooltip.vue'\nexport { default as ChartLegend } from './ChartLegend.vue'\nexport { default as ChartCrosshair } from './ChartCrosshair.vue'\n\nexport function defaultColors(count: number = 3) {\n const quotient = Math.floor(count / 2)\n const remainder = count % 2\n\n const primaryCount = quotient + remainder\n const secondaryCount = quotient\n return [\n ...Array.from(Array(primaryCount).keys()).map(i => `hsl(var(--primary) / ${1 - (1 / primaryCount) * i})`),\n ...Array.from(Array(secondaryCount).keys()).map(i => `hsl(var(--border) / ${1 - (1 / secondaryCount) * i})`),\n ]\n}\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/new-york/checkbox.json b/apps/www/src/public/registry/styles/new-york/checkbox.json index d7aa75bc..010edfa0 100644 --- a/apps/www/src/public/registry/styles/new-york/checkbox.json +++ b/apps/www/src/public/registry/styles/new-york/checkbox.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} +} \ No newline at end of file diff --git a/apps/www/src/public/registry/styles/new-york/command.json b/apps/www/src/public/registry/styles/new-york/command.json index 208942c8..b191fb03 100644 --- a/apps/www/src/public/registry/styles/new-york/command.json +++ b/apps/www/src/public/registry/styles/new-york/command.json @@ -10,7 +10,7 @@ "files": [ { "name": "Command.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "CommandDialog.vue", diff --git a/apps/www/src/public/registry/styles/new-york/dropdown-menu.json b/apps/www/src/public/registry/styles/new-york/dropdown-menu.json index e1b6aeea..18fa2b12 100644 --- a/apps/www/src/public/registry/styles/new-york/dropdown-menu.json +++ b/apps/www/src/public/registry/styles/new-york/dropdown-menu.json @@ -9,7 +9,7 @@ "files": [ { "name": "DropdownMenu.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "DropdownMenuCheckboxItem.vue", diff --git a/apps/www/src/public/registry/styles/new-york/input.json b/apps/www/src/public/registry/styles/new-york/input.json index 7bce11f9..26a6a806 100644 --- a/apps/www/src/public/registry/styles/new-york/input.json +++ b/apps/www/src/public/registry/styles/new-york/input.json @@ -9,7 +9,7 @@ "files": [ { "name": "Input.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts",