From 4ebc0af75df23d8249933a402591a899ba8a611f Mon Sep 17 00:00:00 2001 From: zernonia Date: Mon, 15 Apr 2024 00:32:05 +0800 Subject: [PATCH] chore: build registry --- .../src/public/registry/styles/default/chart-area.json | 4 ++-- .../www/src/public/registry/styles/default/chart-bar.json | 4 ++-- .../src/public/registry/styles/default/chart-line.json | 4 ++-- apps/www/src/public/registry/styles/default/chart.json | 8 ++++---- .../src/public/registry/styles/new-york/chart-area.json | 4 ++-- .../src/public/registry/styles/new-york/chart-bar.json | 4 ++-- .../src/public/registry/styles/new-york/chart-donut.json | 4 ++-- .../src/public/registry/styles/new-york/chart-line.json | 4 ++-- apps/www/src/public/registry/styles/new-york/chart.json | 6 +++--- 9 files changed, 21 insertions(+), 21 deletions(-) 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 cfd53a15..6ecb0121 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" + "content": "\n\n\n" }, { "name": "index.ts", @@ -20,4 +20,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} 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 ed811ba4..66789a94 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" + "content": "\n\n\n" }, { "name": "index.ts", @@ -20,4 +20,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} 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 25c2b7e7..6a9aa146 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" + "content": "\n\n\n" }, { "name": "index.ts", @@ -20,4 +20,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/src/public/registry/styles/default/chart.json b/apps/www/src/public/registry/styles/default/chart.json index 8498e5cd..5f9e2190 100644 --- a/apps/www/src/public/registry/styles/default/chart.json +++ b/apps/www/src/public/registry/styles/default/chart.json @@ -12,11 +12,11 @@ "files": [ { "name": "ChartCrosshair.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "ChartLegend.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "ChartSingleTooltip.vue", @@ -28,8 +28,8 @@ }, { "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\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" + "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(--vis-secondary-color) / ${1 - (1 / secondaryCount) * i})`),\n ]\n}\n" } ], "type": "components:ui" -} \ No newline at end of file +} 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 74a07a26..9088bc8d 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" + "content": "\n\n\n" }, { "name": "index.ts", @@ -20,4 +20,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} 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 22276e5c..5187fcc7 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" + "content": "\n\n\n" }, { "name": "index.ts", @@ -20,4 +20,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} 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 376a7067..dfd814d8 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" + "content": "\n\n\n" }, { "name": "index.ts", @@ -20,4 +20,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} 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 b24bc62d..f12153fb 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" + "content": "\n\n\n" }, { "name": "index.ts", @@ -20,4 +20,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} 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 5bd3d8f8..6bb3216c 100644 --- a/apps/www/src/public/registry/styles/new-york/chart.json +++ b/apps/www/src/public/registry/styles/new-york/chart.json @@ -12,7 +12,7 @@ "files": [ { "name": "ChartCrosshair.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "ChartLegend.vue", @@ -28,8 +28,8 @@ }, { "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\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" + "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(--vis-secondary-color) / ${1 - (1 / secondaryCount) * i})`),\n ]\n}\n" } ], "type": "components:ui" -} \ No newline at end of file +}