Skip to content

Commit 0303c54

Browse files
committed
Revert "docs(Table): migrate to Storybook"
This reverts commit be2ccca.
1 parent 8b8033d commit 0303c54

9 files changed

Lines changed: 15 additions & 633 deletions

File tree

.storybook/docgen-output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12882,7 +12882,7 @@
1288212882
]
1288312883
}
1288412884
],
12885-
"src/components/display/table/Table.tsx": [
12885+
"src/components/display/Table.tsx": [
1288612886
{
1288712887
"description": "",
1288812888
"methods": [],
File renamed without changes.

src/components/display/table/Table.test.tsx renamed to src/components/display/Table.test.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import React from 'react';
99
import { faker } from '@faker-js/faker';
1010
import { act, screen, within } from '@testing-library/react';
1111

12-
import { Table, StyledCheckbox } from './Table';
1312
import type { THeader, TRow } from './Table';
14-
import { ICONS, SELECTORS } from '../../../tests/constants';
15-
import { setup } from '../../../tests/utils';
16-
import { Icon } from '../../basic/icon/Icon';
17-
import { Container } from '../../layout/container/Container';
13+
import { Table, StyledCheckbox } from './Table';
14+
import { ICONS, SELECTORS } from '../../tests/constants';
15+
import { setup } from '../../tests/utils';
16+
import { Icon } from '../basic/icon/Icon';
17+
import { Container } from '../layout/container/Container';
1818

1919
describe('Table', () => {
2020
function getRowByColumnLabel(label: string): HTMLElement {
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ import React, { useEffect, useRef, useReducer, useCallback, useMemo } from 'reac
1010
import { css } from '@emotion/react';
1111
import styled from '@emotion/styled';
1212

13-
import type { NonEmptyArray, SingleItemArray } from '../../../types/utils';
14-
import { Icon } from '../../basic/icon/Icon';
15-
import { Text } from '../../basic/text/Text';
16-
import { Checkbox } from '../../inputs/checkbox/Checkbox';
17-
import type { MultipleSelectionOnChange, SelectProps } from '../../inputs/select/Select';
18-
import { Select } from '../../inputs/select/Select';
19-
import { Container } from '../../layout/container/Container';
20-
import { Row } from '../../layout/Row';
13+
import type { NonEmptyArray, SingleItemArray } from '../../types/utils';
14+
import { Icon } from '../basic/icon/Icon';
15+
import { Text } from '../basic/text/Text';
16+
import { Checkbox } from '../inputs/checkbox/Checkbox';
17+
import type { MultipleSelectionOnChange, SelectProps } from '../inputs/select/Select';
18+
import { Select } from '../inputs/select/Select';
19+
import { Container } from '../layout/container/Container';
20+
import { Row } from '../layout/Row';
2121

2222
const StyledCheckbox = styled(Checkbox)<{
2323
$show: boolean;

src/components/display/table/Table.mdx

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/components/display/table/Table.stories.normal.tsx

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)