Skip to content

Commit a6e95aa

Browse files
authored
fix(data-table): Fix notes and lint (#4636)
* fix release note and add proptypes * fix new line lint
1 parent 07d4537 commit a6e95aa

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

ui/components/breadcrumbs/kinetics/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
margin-left: 0;
4545
}
4646
}
47-
}
47+
}

ui/components/buttons/kinetics/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,4 +249,4 @@ $kx-button-gradient-size: 140px;
249249
opacity: 0;
250250
transform: scale(7);
251251
}
252-
}
252+
}

ui/components/data-tables/RELEASENOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# 2.15.2
88

9-
- Added `<caption>`, and alternatively, `aria-labelledby` and `aria-label` to allow adding additional table context for screen readers
9+
- Added `aria-label`, and alternatively, `aria-labelledby` to allow adding additional table context for screen readers
1010
# 2.14.0
1111

1212
### Added

ui/components/data-tables/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ export const Table = props => {
125125
};
126126
Table.displayName = 'Table';
127127
Table.propTypes = {
128-
caption: PropTypes.string,
128+
ariaLabel: PropTypes.string,
129+
ariaLabelledBy: PropTypes.string,
129130
children: PropTypes.node,
130131
hasCellBuffer: PropTypes.bool,
131132
hasHiddenHeader: PropTypes.bool,

0 commit comments

Comments
 (0)