Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Chart component and Fixed Alert and Accordion Component API Duplicate file issue. #22

Merged
merged 4 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions Routes/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ export const docsRoutes = ref<RouterPath[]>([
tag: false,
deprecate: false,
},
{
id: generatedID.v4(),
name: "Area Chart",
href: "/docs/components/area-chart",
tag: false,
deprecate: false,
},
{
id: generatedID.v4(),
name: "Avatar",
Expand All @@ -48,14 +41,6 @@ export const docsRoutes = ref<RouterPath[]>([
tag: false,
deprecate: false,
},
{
id: generatedID.v4(),
name: "Bar Chart",

href: "/docs/components/bar-chart",
tag: false,
deprecate: false,
},
{
id: generatedID.v4(),
name: "BreadCrumb",
Expand Down Expand Up @@ -148,14 +133,6 @@ export const docsRoutes = ref<RouterPath[]>([
tag: false,
deprecate: false,
},
{
id: generatedID.v4(),
name: "Line Chart",

href: "/docs/components/line-chart",
tag: false,
deprecate: false,
},
{
id: generatedID.v4(),
name: "Modal",
Expand Down Expand Up @@ -187,14 +164,6 @@ export const docsRoutes = ref<RouterPath[]>([
tag: false,
deprecate: false,
},
{
id: generatedID.v4(),
name: "Pie Chart",

href: "/docs/components/pie-chart",
tag: false,
deprecate: false,
},
{
id: generatedID.v4(),
name: "Popover",
Expand Down
33 changes: 31 additions & 2 deletions components/content/docs/components/accordion/AccordionApi.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,37 @@
<script lang="ts" setup>
import ComponentApiTable from "~/components/content/ComponentApiTable.vue";
import { accordionApiData } from "./accordionApi";
const accordionApiData = [
{
id: 1,
propsName: "default-value",
propsType: "string",
propsDescription: "Keep selected panel always open.",
},
{
id: 2,
propsName: "flush",
propsType: "boolean",
propsDescription: "Accordion without outer border and and background color",
default: "false",
},
{
id: 3,
propsName: "type",
propsType: ["single", "multiple"],
propsDescription:
"Determines whether a single or multiple items can be pressed at a time.",
default: "single",
},
{
id: 4,
propsName: "disabled",
propsType: "boolean",
propsDescription: "Disable interaction with the accordion.",
default: "false",
},
];
</script>

<template>
<ComponentApiTable :data="accordionApiData"></ComponentApiTable>
<ComponentApiTable :data="accordionApiData" />
</template>
30 changes: 0 additions & 30 deletions components/content/docs/components/accordion/accordionApi.ts

This file was deleted.

26 changes: 24 additions & 2 deletions components/content/docs/components/alert/AlertApi.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
<script lang="ts" setup>
import ComponentApiTable from "~/components/content/ComponentApiTable.vue";
import { alertApiData } from "./alertApi";
const alertApiData = [
{
id: 1,
propsName: "color",
propsDescription: "The color variant of the alert.",
propsType: ["primary", "secondary", "success", "warning", "error"],
default: "primary",
},
{
id: 2,
propsName: "dismiss",
propsDescription: "Enables or disables the dismiss icon.",
propsType: "boolean",
default: "false",
},
{
id: 3,
propsName: "withBg",
propsDescription: "Enables background color.",
propsType: "boolean",
default: "false",
},
];
</script>

<template>
<ComponentApiTable :data="alertApiData"></ComponentApiTable>
<ComponentApiTable :data="alertApiData" />
</template>
23 changes: 0 additions & 23 deletions components/content/docs/components/alert/alertApi.ts

This file was deleted.

190 changes: 0 additions & 190 deletions components/content/docs/components/areaChart/DefaultAreaChart.vue

This file was deleted.

Loading