Commit graph

30 commits

Author SHA1 Message Date
Eric Liu
71c15db2ca
expand headers type in DataTableSkeleton, fix DataTableRow type to require "id" (#415)
* feat(data-table-skeleton): support object type for headers

* fix(data-table): require "id" in DataTableRow interface
2020-11-26 10:28:07 -08:00
Eric Liu
0d8064043f
fix(types): export component types (#411) 2020-11-25 10:19:11 -08:00
Eric Liu
eed617433b test: add TS types 2020-11-19 14:16:01 -08:00
Eric Liu
75d4b4cf03 refactor(types): shorten ref, id JSDocs, use CarbonIcon type, export component props 2020-11-06 11:30:46 -08:00
Eric Liu
d38e6d8be6 refactor: update/fix JSDoc props 2020-11-04 06:04:25 -08:00
Eric Liu
3c02829e73 feat(data-table): support empty table body columns 2020-10-26 11:55:58 -07:00
Eric Liu
a0caa12a27 fix(data-table): cancelling selection should uncheck batch selection checkbox 2020-10-26 08:24:20 -07:00
Eric Liu
a2b375f32e feat(data-table): hide batch actions if overflow visible 2020-10-26 08:15:31 -07:00
Eric Liu
425a259e65 fix(data-table): remove redundant bx--toolbar-content element 2020-10-26 07:57:47 -07:00
Eric Liu
c39427670a feat(data-table): add ToolbarMenu
Requires menuRef from OverflowMenu to be exported.
2020-10-26 07:43:54 -07:00
Eric Liu
f22dfd52a6
Merge pull request #356 from albertms10/datatable-sort-fix
fix(datatable): fix sort parameters
2020-10-24 15:03:09 -07:00
Eric Liu
d8104d9c48 refactor(table-row): remove unused prop 2020-10-24 13:59:30 -07:00
Eric Liu
73036aea4a feat(data-table): dispatch row mouseenter, mouseleave events
Add a row id for easier querying.
Add missing selected row class.
2020-10-24 13:58:49 -07:00
Eric Liu
f43b132088 feat(data-table): support radio, selectable variants with batch actions 2020-10-24 13:37:00 -07:00
Eric Liu
611d72bcf3 feat(data-table): add toolbar, toolbar search 2020-10-24 11:10:31 -07:00
albert
d0750d1fa2 fix(datatable): fix sort parameters 2020-10-23 16:08:02 +02:00
albert
2ad9072abd feat: add display and sort methods in header object 2020-10-21 23:39:25 +02:00
Eric Liu
c0fbd24e2a feat(data-table): make cells slottable 2020-10-17 14:31:57 -07:00
Eric Liu
1a809c9c3a fix(data-table): fix JSDoc type for expandableRowIds 2020-10-17 13:45:15 -07:00
Eric Liu
0a927ae512 feat(data-table): add expandable DataTable
#14
2020-10-17 13:33:26 -07:00
Eric Liu
410d2c8656 fix(data-table): fix misaligned tall row table headers
"bx--table-header-label" should be a div, not a span element
2020-10-16 11:28:12 -07:00
Eric Liu
378fe06e03 chore: remove storybook 2020-10-14 16:23:44 -07:00
josefaidt
398887a3d3 feat(prettier): add svelteBracketNewLine 2020-09-24 10:50:34 -05:00
albert
100de475bc fix: change DataTable.svelte headers prop type 2020-09-19 23:58:17 +02:00
Eric Liu
42b8159b1c chore(prettier): use svelteStrictMode 2020-09-04 16:35:49 -07:00
Eric Liu
25e437b746 chore: add prettier to format definitions/svelte files 2020-08-11 06:21:06 -07:00
Eric Liu
a10693659e chore: remove trailing semicolono from jsdoc types 2020-07-27 06:23:31 -07:00
Eric Liu
f30755b237 chore: complete first pass of apply jsdoc annotations to component props 2020-07-26 17:42:12 -07:00
Eric Liu
773b18d314 chore: add more prop annotations 2020-07-25 06:26:49 -07:00
Eric Liu
2200b29b92 chore: lift components folder 2020-07-19 09:06:08 -07:00