feat: group stories in different categories
This commit is contained in:
@@ -4,7 +4,7 @@ import { Excel, ExcelProps } from '../src/components/Excel';
|
|||||||
|
|
||||||
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/Excel',
|
title: 'Components/Tabular/Excel',
|
||||||
component: Excel,
|
component: Excel,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { FlatUiTable, FlatUiTableProps } from '../src/components/FlatUiTable';
|
|||||||
|
|
||||||
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/FlatUiTable',
|
title: 'Components/Tabular/FlatUiTable',
|
||||||
component: FlatUiTable,
|
component: FlatUiTable,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { type Meta, type StoryObj } from '@storybook/react';
|
|||||||
import { Iframe, IframeProps } from '../src/components/Iframe';
|
import { Iframe, IframeProps } from '../src/components/Iframe';
|
||||||
|
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/Iframe',
|
title: 'Components/Embedding/Iframe',
|
||||||
component: Iframe,
|
component: Iframe,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { LineChart, LineChartProps } from '../src/components/LineChart';
|
|||||||
|
|
||||||
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/LineChart',
|
title: 'Components/Charts/LineChart',
|
||||||
component: LineChart,
|
component: LineChart,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { Map, MapProps } from '../src/components/Map';
|
|||||||
|
|
||||||
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/Map',
|
title: 'Components/Geospatial/Map',
|
||||||
component: Map,
|
component: Map,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/react';
|
|||||||
import { PdfViewer, PdfViewerProps } from '../src/components/PdfViewer';
|
import { PdfViewer, PdfViewerProps } from '../src/components/PdfViewer';
|
||||||
|
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/PdfViewer',
|
title: 'Components/Embedding/PdfViewer',
|
||||||
component: PdfViewer,
|
component: PdfViewer,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { Plotly } from '../src/components/Plotly';
|
|||||||
|
|
||||||
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/Plotly',
|
title: 'Components/Charts/Plotly',
|
||||||
component: Plotly,
|
component: Plotly,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
|
|
||||||
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/PlotlyBarChart',
|
title: 'Components/Charts/PlotlyBarChart',
|
||||||
component: PlotlyBarChart,
|
component: PlotlyBarChart,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { PlotlyLineChart, PlotlyLineChartProps } from '../src/components/PlotlyL
|
|||||||
|
|
||||||
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/PlotlyLineChart',
|
title: 'Components/Charts/PlotlyLineChart',
|
||||||
component: PlotlyLineChart,
|
component: PlotlyLineChart,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { Table, TableProps } from '../src/components/Table';
|
|||||||
|
|
||||||
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/Table',
|
title: 'Components/Tabular/Table',
|
||||||
component: Table,
|
component: Table,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { Vega } from '../src/components/Vega';
|
|||||||
|
|
||||||
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/Vega',
|
title: 'Components/Charts/Vega',
|
||||||
component: Vega,
|
component: Vega,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { VegaLite } from '../src/components/VegaLite';
|
|||||||
|
|
||||||
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Components/VegaLite',
|
title: 'Components/Charts/VegaLite',
|
||||||
component: VegaLite,
|
component: VegaLite,
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
|
|||||||
Reference in New Issue
Block a user