Skip to content

Commit 0607b4a

Browse files
committed
fix(Footer): add proper semantics
1 parent 15e7d60 commit 0607b4a

16 files changed

+33
-25
lines changed

.storybook/preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export const parameters = {
4646
['Base', ...Features],
4747
'Features',
4848
Features,
49+
'Mixing Features',
4950
'Theming',
5051
['Themes', 'CSS Class', 'Imperative Style'],
5152
'Library Themes',
@@ -57,7 +58,6 @@ export const parameters = {
5758
'Bootstrap (WIP)',
5859
'Ant Design (WIP)',
5960
],
60-
'Composites',
6161
['Sort & Select', 'Tree & Select', 'Tree & Sort'],
6262
'Types',
6363
['Data', 'Compact Table', 'Composed Table', ...Features, 'Virtualized'],

.storybook/stories/Composites/hide-horizontal.story.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { useTheme } from '@table-library/react-table-library/theme';
1515

1616
import { nodes } from '../data';
1717

18-
storiesOf('Composites/Column Hide & Horizontal', module)
18+
storiesOf('Mixing Features/Column Hide & Horizontal', module)
1919
.addParameters({ component: Table })
2020
.add('base', () => {
2121
const data = { nodes };

.storybook/stories/Composites/hide-resize.story.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414

1515
import { nodes } from '../data';
1616

17-
storiesOf('Composites/Column Hide & Resize', module)
17+
storiesOf('Mixing Features/Column Hide & Resize', module)
1818
.addParameters({ component: Table })
1919
.add('base', () => {
2020
const data = { nodes };

.storybook/stories/Composites/resize-fixed-column.story.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { useTheme } from '@table-library/react-table-library/theme';
1414

1515
import { nodes } from '../data';
1616

17-
storiesOf('Composites/Resize & Fixed Column', module)
17+
storiesOf('Mixing Features/Resize & Fixed Column', module)
1818
.addParameters({ component: Table })
1919
.add('base', () => {
2020
const data = { nodes };

.storybook/stories/Composites/resize-horizontal.story.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { useTheme } from '@table-library/react-table-library/theme';
1414

1515
import { nodes } from '../data';
1616

17-
storiesOf('Composites/Resize & Horizontal', module)
17+
storiesOf('Mixing Features/Resize & Horizontal', module)
1818
.addParameters({ component: Table })
1919
.add('base', () => {
2020
const data = { nodes };

.storybook/stories/Composites/sort-select.story.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121

2222
import { nodes } from '../data';
2323

24-
storiesOf('Composites/Sort & Select', module)
24+
storiesOf('Mixing Features/Sort & Select', module)
2525
.addParameters({ component: Table })
2626
.add('base', () => {
2727
const data = { nodes };

.storybook/stories/Composites/tree-select.story.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222

2323
import { nodes } from '../data';
2424

25-
storiesOf('Composites/Tree & Select', module)
25+
storiesOf('Mixing Features/Tree & Select', module)
2626
.addParameters({ component: Table })
2727
.add('base', () => {
2828
const data = { nodes };

.storybook/stories/Composites/tree-sort.story.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { useSort, HeaderCellSort } from '@table-library/react-table-library/sort
1616

1717
import { nodes } from '../data';
1818

19-
storiesOf('Composites/Tree & Sort', module)
19+
storiesOf('Mixing Features/Tree & Sort', module)
2020
.addParameters({ component: Table })
2121
.add('base', () => {
2222
const data = { nodes };

.storybook/stories/Types/theme.story.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ import { Meta } from '@storybook/addon-docs';
88
export type Theme = {
99
Table?: string,
1010
Header?: string,
11+
Footer?: string,
1112
Body?: string,
1213
BaseRow?: string,
1314
HeaderRow?: string,
15+
FooterRow?: string,
1416
Row?: string,
1517
BaseCell?: string,
1618
HeaderCell?: string,

src/table/Cell/Cell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const Cell: React.FC<CellProps> = ({
2929
if (colSpan) {
3030
colSpanStyle = {
3131
...colSpanStyle,
32-
'grid-column': `span ${colSpan} / ${index + colSpan + previousColSpans + 1}`,
32+
gridColumn: `span ${colSpan} / ${index + colSpan + previousColSpans + 1}`,
3333
};
3434
}
3535

0 commit comments

Comments
 (0)