From 7e2b41ef3afa5367f634d8a8a61da9dd15b197c0 Mon Sep 17 00:00:00 2001 From: Severin Landolt Date: Sun, 5 Nov 2023 01:27:38 +0100 Subject: [PATCH] Restructure Storybook --- src/stories/chart-elements/AreaChart.stories.tsx | 2 +- src/stories/chart-elements/BarChart.stories.tsx | 2 +- src/stories/chart-elements/DonutChart.stories.tsx | 2 +- src/stories/chart-elements/LineChart.stories.tsx | 2 +- src/stories/chart-elements/ScatterChart.stories.tsx | 2 +- src/stories/icon-elements/Badge.stories.tsx | 2 +- src/stories/icon-elements/BadgeDelta.stories.tsx | 2 +- src/stories/icon-elements/Icon.stories.tsx | 2 +- src/stories/input-elements/Button.stories.tsx | 2 +- src/stories/input-elements/DatePicker.stories.tsx | 2 +- src/stories/input-elements/DateRangePicker.stories.tsx | 2 +- src/stories/input-elements/MultiSelect.stories.tsx | 2 +- src/stories/input-elements/NumberInput.stories.tsx | 2 +- src/stories/input-elements/SearchSelect.stories.tsx | 2 +- src/stories/input-elements/Select.stories.tsx | 2 +- src/stories/input-elements/Switch.stories.tsx | 2 +- src/stories/input-elements/TabGroup.stories.tsx | 2 +- src/stories/input-elements/TextArea.stories.tsx | 2 +- src/stories/input-elements/TextInput.stories.tsx | 2 +- src/stories/layout-elements/Accordion.stories.tsx | 2 +- src/stories/layout-elements/AccordionList.stories.tsx | 2 +- src/stories/layout-elements/Card.stories.tsx | 2 +- src/stories/layout-elements/Divider.stories.tsx | 2 +- src/stories/layout-elements/Flex.stories.tsx | 2 +- src/stories/layout-elements/Grid.stories.tsx | 2 +- src/stories/list-elements/List.stories.tsx | 2 +- src/stories/list-elements/Table.stories.tsx | 2 +- src/stories/spark-elements/SparkAreaChart.stories.tsx | 2 +- src/stories/spark-elements/SparkBarChart.stories.tsx | 2 +- src/stories/spark-elements/SparkLineChart.stories.tsx | 2 +- src/stories/text-elements/Callout.stories.tsx | 2 +- src/stories/text-elements/Legend.stories.tsx | 2 +- src/stories/text-elements/Metric.stories.tsx | 2 +- src/stories/text-elements/Subtitle.stories.tsx | 2 +- src/stories/text-elements/Text.stories.tsx | 2 +- src/stories/text-elements/TextElements.stories.tsx | 2 +- src/stories/text-elements/Title.stories.tsx | 2 +- src/stories/vis-elements/BarList.stories.tsx | 2 +- src/stories/vis-elements/CategoryBar.stories.tsx | 2 +- src/stories/vis-elements/DeltaBar.stories.tsx | 2 +- src/stories/vis-elements/MarkerBar.stories.tsx | 2 +- src/stories/vis-elements/ProgressBar.stories.tsx | 2 +- src/stories/vis-elements/ProgressCircle.stories.tsx | 2 +- src/stories/vis-elements/Tracker.stories.tsx | 2 +- 44 files changed, 44 insertions(+), 44 deletions(-) diff --git a/src/stories/chart-elements/AreaChart.stories.tsx b/src/stories/chart-elements/AreaChart.stories.tsx index 8924c2fbf..134adad33 100644 --- a/src/stories/chart-elements/AreaChart.stories.tsx +++ b/src/stories/chart-elements/AreaChart.stories.tsx @@ -15,7 +15,7 @@ import { import { valueFormatter } from "./helpers/utils"; const meta: Meta = { - title: "Components/Chart/AreaChart", + title: "Visualizations/Chart/AreaChart", component: AreaChart, args: { categories: ["Sales", "Successful Payments"], index: "month", data, className: "h-72" }, // parameters: { layout: "centered" }, diff --git a/src/stories/chart-elements/BarChart.stories.tsx b/src/stories/chart-elements/BarChart.stories.tsx index 2acdb03be..2ce20813c 100644 --- a/src/stories/chart-elements/BarChart.stories.tsx +++ b/src/stories/chart-elements/BarChart.stories.tsx @@ -13,7 +13,7 @@ import { } from "./helpers/testData"; const meta: Meta = { - title: "Components/Chart/BarChart", + title: "Visualizations/Chart/BarChart", component: BarChart, args: { categories: ["Sales", "Successful Payments"], index: "month", data, className: "h-72" }, // parameters: { layout: "centered" }, diff --git a/src/stories/chart-elements/DonutChart.stories.tsx b/src/stories/chart-elements/DonutChart.stories.tsx index a55558c9a..b47978394 100644 --- a/src/stories/chart-elements/DonutChart.stories.tsx +++ b/src/stories/chart-elements/DonutChart.stories.tsx @@ -12,7 +12,7 @@ import { } from "stories/chart-elements/helpers/testData"; const meta: Meta = { - title: "Components/Chart/DonutChart", + title: "Visualizations/Chart/DonutChart", component: DonutChart, args: { category: "sales", index: "city", data }, // parameters: { layout: "centered" }, diff --git a/src/stories/chart-elements/LineChart.stories.tsx b/src/stories/chart-elements/LineChart.stories.tsx index c46134f92..d85809279 100644 --- a/src/stories/chart-elements/LineChart.stories.tsx +++ b/src/stories/chart-elements/LineChart.stories.tsx @@ -15,7 +15,7 @@ import { import { valueFormatter } from "./helpers/utils"; const meta: Meta = { - title: "Components/Chart/LineChart", + title: "Visualizations/Chart/LineChart", component: LineChart, args: { categories: ["Sales", "Successful Payments"], index: "month", data, className: "h-72" }, // parameters: { layout: "centered" }, diff --git a/src/stories/chart-elements/ScatterChart.stories.tsx b/src/stories/chart-elements/ScatterChart.stories.tsx index b420ef70a..4a0a3415f 100644 --- a/src/stories/chart-elements/ScatterChart.stories.tsx +++ b/src/stories/chart-elements/ScatterChart.stories.tsx @@ -11,7 +11,7 @@ import { } from "./helpers/testDataScatterChart"; const meta: Meta = { - title: "Components/Chart/ScatterChart", + title: "Visualizations/Chart/ScatterChart", component: ScatterChart, args: { x: "x", y: "y", size: "z", category: "location", data, className: "h-72" }, // parameters: { layout: "centered" }, diff --git a/src/stories/icon-elements/Badge.stories.tsx b/src/stories/icon-elements/Badge.stories.tsx index 81422a5e7..a2661aa4e 100644 --- a/src/stories/icon-elements/Badge.stories.tsx +++ b/src/stories/icon-elements/Badge.stories.tsx @@ -8,7 +8,7 @@ import { ArrowUpIcon } from "assets"; import { Badge, Grid } from "components"; const meta: Meta = { - title: "Components/Icon/Badge", + title: "UI/Icon/Badge", component: Badge, args: { children: "Live", diff --git a/src/stories/icon-elements/BadgeDelta.stories.tsx b/src/stories/icon-elements/BadgeDelta.stories.tsx index b5abd38e3..0d25be7e0 100644 --- a/src/stories/icon-elements/BadgeDelta.stories.tsx +++ b/src/stories/icon-elements/BadgeDelta.stories.tsx @@ -7,7 +7,7 @@ import { DeltaTypes as InputDeltaTypes, Sizes as InputSizes } from "lib/constant import { BadgeDelta, Grid } from "components"; const meta: Meta = { - title: "Components/Icon/BadgeDelta", + title: "UI/Icon/BadgeDelta", component: BadgeDelta, args: { children: "12.5%", diff --git a/src/stories/icon-elements/Icon.stories.tsx b/src/stories/icon-elements/Icon.stories.tsx index 6fd2787ec..b5d9791c8 100644 --- a/src/stories/icon-elements/Icon.stories.tsx +++ b/src/stories/icon-elements/Icon.stories.tsx @@ -11,7 +11,7 @@ import { IconVariants } from "components/icon-elements/Icon/Icon"; import Icon from "components/icon-elements/Icon/Icon"; const meta: Meta = { - title: "Components/Icon/Icon", + title: "UI/Icon/Icon", component: Icon, args: { icon: ArrowUpIcon, diff --git a/src/stories/input-elements/Button.stories.tsx b/src/stories/input-elements/Button.stories.tsx index faf7d94db..bd407ebbb 100644 --- a/src/stories/input-elements/Button.stories.tsx +++ b/src/stories/input-elements/Button.stories.tsx @@ -6,7 +6,7 @@ import { Button, Grid } from "components"; import { BaseColors, Sizes as InputSizes } from "lib/constants"; const meta: Meta = { - title: "Components/Input/Button", + title: "UI/Input/Button", component: Button, }; diff --git a/src/stories/input-elements/DatePicker.stories.tsx b/src/stories/input-elements/DatePicker.stories.tsx index 41e3576d5..fccec3d73 100644 --- a/src/stories/input-elements/DatePicker.stories.tsx +++ b/src/stories/input-elements/DatePicker.stories.tsx @@ -6,7 +6,7 @@ import { Button, DatePicker } from "components"; import { fr } from "date-fns/locale"; const meta: Meta = { - title: "Components/Input/DatePicker", + title: "UI/Input/DatePicker", component: DatePicker, }; diff --git a/src/stories/input-elements/DateRangePicker.stories.tsx b/src/stories/input-elements/DateRangePicker.stories.tsx index d250d84f6..5dd6cb126 100644 --- a/src/stories/input-elements/DateRangePicker.stories.tsx +++ b/src/stories/input-elements/DateRangePicker.stories.tsx @@ -7,7 +7,7 @@ import { fr } from "date-fns/locale"; import { dateRangePickerData } from "stories/input-elements/helpers/testData"; const meta: Meta = { - title: "Components/Input/DateRangePicker", + title: "UI/Input/DateRangePicker", component: DateRangePicker, decorators: [(Story) => ], }; diff --git a/src/stories/input-elements/MultiSelect.stories.tsx b/src/stories/input-elements/MultiSelect.stories.tsx index 5b18fea86..eee97dd28 100644 --- a/src/stories/input-elements/MultiSelect.stories.tsx +++ b/src/stories/input-elements/MultiSelect.stories.tsx @@ -6,7 +6,7 @@ import { SimpleMultiSelect, SimpleMultiSelectControlled } from "./helpers/Simple import { CalendarIcon } from "assets"; const meta: Meta = { - title: "Components/Input/MultiSelect", + title: "UI/Input/MultiSelect", component: MultiSelect, }; diff --git a/src/stories/input-elements/NumberInput.stories.tsx b/src/stories/input-elements/NumberInput.stories.tsx index e2ff815fe..38de80074 100644 --- a/src/stories/input-elements/NumberInput.stories.tsx +++ b/src/stories/input-elements/NumberInput.stories.tsx @@ -5,7 +5,7 @@ import { NumberInput } from "components"; import { SimpleNumberInput, SimpleNumberInputControlled } from "./helpers/SimpleNumberInput"; const meta: Meta = { - title: "Components/Input/NumberInput", + title: "UI/Input/NumberInput", component: NumberInput, }; diff --git a/src/stories/input-elements/SearchSelect.stories.tsx b/src/stories/input-elements/SearchSelect.stories.tsx index 83c417652..a5971737d 100644 --- a/src/stories/input-elements/SearchSelect.stories.tsx +++ b/src/stories/input-elements/SearchSelect.stories.tsx @@ -6,7 +6,7 @@ import { SimpleSearchSelect, SimpleSearchSelectControlled } from "./helpers/Simp import { CalendarIcon } from "assets"; const meta: Meta = { - title: "Components/Input/SearchSelect", + title: "UI/Input/SearchSelect", component: SearchSelect, }; diff --git a/src/stories/input-elements/Select.stories.tsx b/src/stories/input-elements/Select.stories.tsx index 82b021f62..a4e8159cf 100644 --- a/src/stories/input-elements/Select.stories.tsx +++ b/src/stories/input-elements/Select.stories.tsx @@ -6,7 +6,7 @@ import { SimpleSelect, SimpleSelectControlled } from "./helpers/SimpleSelect"; import { CalendarIcon } from "assets"; const meta: Meta = { - title: "Components/Input/Select", + title: "UI/Input/Select", component: Select, }; diff --git a/src/stories/input-elements/Switch.stories.tsx b/src/stories/input-elements/Switch.stories.tsx index 8f25b7d08..db3bf095e 100644 --- a/src/stories/input-elements/Switch.stories.tsx +++ b/src/stories/input-elements/Switch.stories.tsx @@ -3,7 +3,7 @@ import { Switch } from "components"; import { SimpleSwitch, SimpleIdSwitch } from "./helpers/SimpleSwitch"; const meta: Meta = { - title: "Components/Input/Switch", + title: "UI/Input/Switch", component: Switch, }; diff --git a/src/stories/input-elements/TabGroup.stories.tsx b/src/stories/input-elements/TabGroup.stories.tsx index 9186a4c11..892a10372 100644 --- a/src/stories/input-elements/TabGroup.stories.tsx +++ b/src/stories/input-elements/TabGroup.stories.tsx @@ -7,7 +7,7 @@ import { Button, Tab, TabGroup, TabList, TabPanel, TabPanels } from "components" import { BaseColors, Color } from "lib"; const meta: Meta = { - title: "Components/Input/TabGroup", + title: "UI/Input/TabGroup", component: TabGroup, }; diff --git a/src/stories/input-elements/TextArea.stories.tsx b/src/stories/input-elements/TextArea.stories.tsx index 7697d094f..c780e9d6b 100644 --- a/src/stories/input-elements/TextArea.stories.tsx +++ b/src/stories/input-elements/TextArea.stories.tsx @@ -3,7 +3,7 @@ import { Button, Textarea } from "components"; import React from "react"; const meta: Meta = { - title: "Components/Input/Textarea", + title: "UI/Input/Textarea", component: Textarea, }; diff --git a/src/stories/input-elements/TextInput.stories.tsx b/src/stories/input-elements/TextInput.stories.tsx index fd6073e54..f7df3c049 100644 --- a/src/stories/input-elements/TextInput.stories.tsx +++ b/src/stories/input-elements/TextInput.stories.tsx @@ -5,7 +5,7 @@ import { TextInput } from "components"; import { SimpleTextInput } from "./helpers/SimpleTextInput"; const meta: Meta = { - title: "Components/Input/TextInput", + title: "UI/Input/TextInput", component: TextInput, }; diff --git a/src/stories/layout-elements/Accordion.stories.tsx b/src/stories/layout-elements/Accordion.stories.tsx index 25c5e31a9..9431904c4 100644 --- a/src/stories/layout-elements/Accordion.stories.tsx +++ b/src/stories/layout-elements/Accordion.stories.tsx @@ -4,7 +4,7 @@ import { Accordion } from "components"; import { SimpleAccordion } from "./helpers/SimpleAccordion"; const meta: Meta = { - title: "Components/Layout/Accordion", + title: "UI/Layout/Accordion", component: Accordion, }; diff --git a/src/stories/layout-elements/AccordionList.stories.tsx b/src/stories/layout-elements/AccordionList.stories.tsx index ab12dab73..c81db92fd 100644 --- a/src/stories/layout-elements/AccordionList.stories.tsx +++ b/src/stories/layout-elements/AccordionList.stories.tsx @@ -6,7 +6,7 @@ import { AccordionList } from "components"; import { SimpleAccordion, SimpleAccordionList } from "./helpers/SimpleAccordion"; const meta: Meta = { - title: "Components/Layout/AccordionList", + title: "UI/Layout/AccordionList", component: AccordionList, }; diff --git a/src/stories/layout-elements/Card.stories.tsx b/src/stories/layout-elements/Card.stories.tsx index 88ae97994..24d691803 100644 --- a/src/stories/layout-elements/Card.stories.tsx +++ b/src/stories/layout-elements/Card.stories.tsx @@ -7,7 +7,7 @@ import { SimpleCard } from "./helpers/SimpleCard"; import type { Meta, StoryObj } from "@storybook/react"; const meta: Meta = { - title: "Components/Layout/Card", + title: "UI/Layout/Card", component: Card, }; diff --git a/src/stories/layout-elements/Divider.stories.tsx b/src/stories/layout-elements/Divider.stories.tsx index b2c06e132..1d7b0e8e7 100644 --- a/src/stories/layout-elements/Divider.stories.tsx +++ b/src/stories/layout-elements/Divider.stories.tsx @@ -6,7 +6,7 @@ import { Divider } from "components"; import { SimpleCard } from "stories/layout-elements/helpers/SimpleCard"; const meta: Meta = { - title: "Components/Layout/Divider", + title: "UI/Layout/Divider", component: Divider, }; diff --git a/src/stories/layout-elements/Flex.stories.tsx b/src/stories/layout-elements/Flex.stories.tsx index dcf22f2c4..8df967c5f 100644 --- a/src/stories/layout-elements/Flex.stories.tsx +++ b/src/stories/layout-elements/Flex.stories.tsx @@ -7,7 +7,7 @@ import { SimpleCard } from "stories/layout-elements/helpers/SimpleCard"; import { SimpleText } from "stories/layout-elements/helpers/SimpleText"; const meta: Meta = { - title: "Components/Layout/Flex", + title: "UI/Layout/Flex", component: Flex, }; diff --git a/src/stories/layout-elements/Grid.stories.tsx b/src/stories/layout-elements/Grid.stories.tsx index 898be280f..89aaa0230 100644 --- a/src/stories/layout-elements/Grid.stories.tsx +++ b/src/stories/layout-elements/Grid.stories.tsx @@ -7,7 +7,7 @@ import { SimpleCard } from "./helpers/SimpleCard"; import { SimpleText } from "./helpers/SimpleText"; const meta: Meta = { - title: "Components/Layout/Grid", + title: "UI/Layout/Grid", component: Grid, }; diff --git a/src/stories/list-elements/List.stories.tsx b/src/stories/list-elements/List.stories.tsx index 2f2ada00e..b92cb410a 100644 --- a/src/stories/list-elements/List.stories.tsx +++ b/src/stories/list-elements/List.stories.tsx @@ -4,7 +4,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import { List, ListItem } from "components"; const meta: Meta = { - title: "Components/List/List", + title: "UI/List/List", component: List, }; diff --git a/src/stories/list-elements/Table.stories.tsx b/src/stories/list-elements/Table.stories.tsx index 384645c22..aee0e32c5 100644 --- a/src/stories/list-elements/Table.stories.tsx +++ b/src/stories/list-elements/Table.stories.tsx @@ -16,7 +16,7 @@ import BadgeDelta from "components/icon-elements/BadgeDelta/BadgeDelta"; import { DeltaType } from "lib"; const meta: Meta = { - title: "Components/List/Table", + title: "UI/List/Table", component: Table, }; diff --git a/src/stories/spark-elements/SparkAreaChart.stories.tsx b/src/stories/spark-elements/SparkAreaChart.stories.tsx index 6e60ee5bb..749e0d472 100644 --- a/src/stories/spark-elements/SparkAreaChart.stories.tsx +++ b/src/stories/spark-elements/SparkAreaChart.stories.tsx @@ -12,7 +12,7 @@ import { SparkAreaChart } from "components/spark-elements"; import ExampleCard from "./helpers/ExampleCard"; const meta: Meta = { - title: "Components/Chart/SparkAreaChart", + title: "Visualizations/Chart/SparkAreaChart", component: SparkAreaChart, args: { categories: ["Sales", "Successful Payments"], diff --git a/src/stories/spark-elements/SparkBarChart.stories.tsx b/src/stories/spark-elements/SparkBarChart.stories.tsx index 017888d5f..e00fc6b4f 100644 --- a/src/stories/spark-elements/SparkBarChart.stories.tsx +++ b/src/stories/spark-elements/SparkBarChart.stories.tsx @@ -12,7 +12,7 @@ import { SparkBarChart } from "components/spark-elements"; import ExampleCard from "./helpers/ExampleCard"; const meta: Meta = { - title: "Components/Chart/SparkBarChart", + title: "Visualizations/Chart/SparkBarChart", component: SparkBarChart, args: { categories: ["Sales", "Successful Payments"], diff --git a/src/stories/spark-elements/SparkLineChart.stories.tsx b/src/stories/spark-elements/SparkLineChart.stories.tsx index c806d14c4..e97f76ff2 100644 --- a/src/stories/spark-elements/SparkLineChart.stories.tsx +++ b/src/stories/spark-elements/SparkLineChart.stories.tsx @@ -12,7 +12,7 @@ import { SparkLineChart } from "components/spark-elements"; import ExampleCard from "./helpers/ExampleCard"; const meta: Meta = { - title: "Components/Chart/SparkLineChart", + title: "Visualizations/Chart/SparkLineChart", component: SparkLineChart, args: { categories: ["Sales", "Successful Payments"], diff --git a/src/stories/text-elements/Callout.stories.tsx b/src/stories/text-elements/Callout.stories.tsx index 38a6cf31e..6e7b8b785 100644 --- a/src/stories/text-elements/Callout.stories.tsx +++ b/src/stories/text-elements/Callout.stories.tsx @@ -7,7 +7,7 @@ import { Callout } from "components"; import { BaseColors } from "lib/constants"; const meta: Meta = { - title: "Components/Text/Callout", + title: "UI/Text/Callout", component: Callout, }; diff --git a/src/stories/text-elements/Legend.stories.tsx b/src/stories/text-elements/Legend.stories.tsx index 0d319bb8b..791a8b4b9 100644 --- a/src/stories/text-elements/Legend.stories.tsx +++ b/src/stories/text-elements/Legend.stories.tsx @@ -4,7 +4,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import { Legend } from "components"; const meta: Meta = { - title: "Components/Text/Legend", + title: "UI/Text/Legend", component: Legend, args: { categories: [ diff --git a/src/stories/text-elements/Metric.stories.tsx b/src/stories/text-elements/Metric.stories.tsx index f42fe35be..e3f330ec8 100644 --- a/src/stories/text-elements/Metric.stories.tsx +++ b/src/stories/text-elements/Metric.stories.tsx @@ -5,7 +5,7 @@ import { Metric } from "components"; import { BaseColors } from "lib/constants"; const meta: Meta = { - title: "Components/Text/Metric", + title: "UI/Text/Metric", component: Metric, }; diff --git a/src/stories/text-elements/Subtitle.stories.tsx b/src/stories/text-elements/Subtitle.stories.tsx index d5ee3ac21..00680d171 100644 --- a/src/stories/text-elements/Subtitle.stories.tsx +++ b/src/stories/text-elements/Subtitle.stories.tsx @@ -3,7 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import Subtitle from "components/text-elements/Subtitle/Subtitle"; const meta: Meta = { - title: "Components/Text/Subtitle", + title: "UI/Text/Subtitle", component: Subtitle, }; diff --git a/src/stories/text-elements/Text.stories.tsx b/src/stories/text-elements/Text.stories.tsx index ba392788a..4d4aae778 100644 --- a/src/stories/text-elements/Text.stories.tsx +++ b/src/stories/text-elements/Text.stories.tsx @@ -3,7 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import { Text } from "components"; const meta: Meta = { - title: "Components/Text/Text", + title: "UI/Text/Text", component: Text, args: { children: diff --git a/src/stories/text-elements/TextElements.stories.tsx b/src/stories/text-elements/TextElements.stories.tsx index 3f08ddd77..0724139f0 100644 --- a/src/stories/text-elements/TextElements.stories.tsx +++ b/src/stories/text-elements/TextElements.stories.tsx @@ -5,7 +5,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import { Bold, Italic, Text, Title } from "components"; const meta: Meta = { - title: "Components/Text/TextElements", + title: "UI/Text/TextElements", component: Title, }; diff --git a/src/stories/text-elements/Title.stories.tsx b/src/stories/text-elements/Title.stories.tsx index b86f4f6dd..a5a8aeedb 100644 --- a/src/stories/text-elements/Title.stories.tsx +++ b/src/stories/text-elements/Title.stories.tsx @@ -5,7 +5,7 @@ import { Meta, StoryObj } from "@storybook/react"; import { Title } from "components"; const meta: Meta = { - title: "Components/Text/Title", + title: "UI/Text/Title", component: Title, }; diff --git a/src/stories/vis-elements/BarList.stories.tsx b/src/stories/vis-elements/BarList.stories.tsx index 0432d82ae..7dc68242e 100644 --- a/src/stories/vis-elements/BarList.stories.tsx +++ b/src/stories/vis-elements/BarList.stories.tsx @@ -8,7 +8,7 @@ import { BarListProps } from "components/vis-elements/BarList/BarList"; import { BaseColors } from "lib"; const meta: Meta = { - title: "Components/Vis/BarList", + title: "Visualizations/Vis/BarList", component: BarList, }; diff --git a/src/stories/vis-elements/CategoryBar.stories.tsx b/src/stories/vis-elements/CategoryBar.stories.tsx index 2ae1d9658..0d0feda46 100644 --- a/src/stories/vis-elements/CategoryBar.stories.tsx +++ b/src/stories/vis-elements/CategoryBar.stories.tsx @@ -4,7 +4,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import CategoryBar from "components/vis-elements/CategoryBar/CategoryBar"; const meta: Meta = { - title: "Components/Vis/CategoryBar", + title: "Visualizations/Vis/CategoryBar", component: CategoryBar, render: (args) => , }; diff --git a/src/stories/vis-elements/DeltaBar.stories.tsx b/src/stories/vis-elements/DeltaBar.stories.tsx index 276a67970..65bb6c7e2 100644 --- a/src/stories/vis-elements/DeltaBar.stories.tsx +++ b/src/stories/vis-elements/DeltaBar.stories.tsx @@ -4,7 +4,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import { DeltaBar } from "components"; const meta: Meta = { - title: "Components/Vis/DeltaBar", + title: "Visualizations/Vis/DeltaBar", component: DeltaBar, render: (args) => , }; diff --git a/src/stories/vis-elements/MarkerBar.stories.tsx b/src/stories/vis-elements/MarkerBar.stories.tsx index 90bf29b8a..f3c3ed5ab 100644 --- a/src/stories/vis-elements/MarkerBar.stories.tsx +++ b/src/stories/vis-elements/MarkerBar.stories.tsx @@ -5,7 +5,7 @@ import MarkerBar from "components/vis-elements/MarkerBar/MarkerBar"; import { BaseColors } from "lib/constants"; const meta: Meta = { - title: "Components/Vis/MarkerBar", + title: "Visualizations/Vis/MarkerBar", component: MarkerBar, render: (args) => , }; diff --git a/src/stories/vis-elements/ProgressBar.stories.tsx b/src/stories/vis-elements/ProgressBar.stories.tsx index cd65f9e0e..61a6f12ce 100644 --- a/src/stories/vis-elements/ProgressBar.stories.tsx +++ b/src/stories/vis-elements/ProgressBar.stories.tsx @@ -7,7 +7,7 @@ import { ProgressBar } from "components"; import { BaseColors } from "lib/constants"; const meta: Meta = { - title: "Components/Vis/ProgressBar", + title: "Visualizations/Vis/ProgressBar", component: ProgressBar, render: (args) => , }; diff --git a/src/stories/vis-elements/ProgressCircle.stories.tsx b/src/stories/vis-elements/ProgressCircle.stories.tsx index 43975e2bb..08dad8086 100644 --- a/src/stories/vis-elements/ProgressCircle.stories.tsx +++ b/src/stories/vis-elements/ProgressCircle.stories.tsx @@ -5,7 +5,7 @@ import { ProgressCircle } from "components"; import { BaseColors, Sizes } from "lib/constants"; const meta: Meta = { - title: "Components/Vis/ProgressCircle", + title: "Visualizations/Vis/ProgressCircle", component: ProgressCircle, render: (args) => , }; diff --git a/src/stories/vis-elements/Tracker.stories.tsx b/src/stories/vis-elements/Tracker.stories.tsx index 360f4262e..9f7f645b1 100644 --- a/src/stories/vis-elements/Tracker.stories.tsx +++ b/src/stories/vis-elements/Tracker.stories.tsx @@ -5,7 +5,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import { Tracker } from "components"; const meta: Meta = { - title: "Components/Vis/Tracker", + title: "Visualizations/Vis/Tracker", component: Tracker, args: { data: [