Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: table component #788

Merged
merged 27 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bdbfd56
feat: table component
Jan 8, 2024
96e67ed
feat: table component
bariskaraca Jan 16, 2024
dcfe2bf
feat: table component
bariskaraca Jan 30, 2024
107b9cb
feat: table component
bariskaraca Jan 31, 2024
bcd17df
feat: table component
bariskaraca Jan 31, 2024
69b2e10
refactor(table): improve the readability of selection logic
leventozen Jan 31, 2024
7326d4c
refactor(table): improve the readability of selection logic
leventozen Jan 31, 2024
257f124
feat: table component
bariskaraca Feb 5, 2024
bedf87b
feat: table component
bariskaraca Feb 14, 2024
aa291f5
feat: table component
bariskaraca Feb 20, 2024
cf07014
feat: table story
bariskaraca Feb 20, 2024
c0ec976
docs(table): added missing stories
leventozen Feb 20, 2024
d2770e8
Merge branch 'feature/datatable' of https://github.com/Trendyol/bakla…
leventozen Feb 20, 2024
ac275e4
feat: table story
bariskaraca Feb 20, 2024
d76c8d5
feat: table component
bariskaraca Feb 20, 2024
54cb550
feat: edit table story title
bariskaraca Feb 20, 2024
6bc4df1
feat: table component
bariskaraca Feb 20, 2024
749cc56
feat: table component
bariskaraca Feb 20, 2024
e348470
Merge branch 'next' into feature/datatable
leventozen Feb 26, 2024
0db9f0e
chore(table): rename event and attributes
Feb 26, 2024
5282e35
chore(table): rename selectedValues attribute
Feb 26, 2024
631531d
refactor(table): remove unneeded lifecyle methods & fix table header …
Enes5519 Feb 27, 2024
4d5406e
refactor(table): rename header sticky attribute
Feb 27, 2024
627b58b
feat: table component
bariskaraca Feb 27, 2024
4e0adb8
feat: table component
bariskaraca Feb 27, 2024
e4f09a9
feat: table component
bariskaraca Feb 27, 2024
03b0066
refactor(table): improve accessibility
Feb 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module.exports = {
"textarea",
"popover",
"notification",
"table",
],
],
},
Expand Down
6 changes: 6 additions & 0 deletions src/baklava.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ export { default as BlDropdownGroup } from "./components/dropdown/group/bl-dropd
export { default as BlSwitch } from "./components/switch/bl-switch";
export { default as BlNotification } from "./components/notification/bl-notification";
export { default as BlNotificationCard } from "./components/notification/card/bl-notification-card";
export { default as BlTable } from "./components/table/bl-table";
export { default as BlTableHeader } from "./components/table/table-header/bl-table-header";
export { default as BlTableBody } from "./components/table/table-body/bl-table-body";
export { default as BlTableRow } from "./components/table/table-row/bl-table-row";
export { default as BlTableHeaderCell } from "./components/table/table-header-cell/bl-table-header-cell";
export { default as BlTableCell } from "./components/table/table-cell/bl-table-cell";
export { getIconPath, setIconPath } from "./utilities/asset-paths";
2 changes: 2 additions & 0 deletions src/components/icon/icon-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ const icons = [
"shopping_bag_discount",
"shopping_bag_return",
"sorting",
"sorting_asc",
"sorting_desc",
"sound_off",
"sound_on",
"split_money",
Expand Down
4 changes: 4 additions & 0 deletions src/components/icon/icons/sorting_asc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/components/icon/icons/sorting_desc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/components/table/bl-table.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
:host {
display: block;
height: 100%;
}

.table-wrapper {
overflow: auto;
border: 1px solid var(--bl-color-neutral-lighter);
border-radius: var(--bl-size-3xs);
position: relative;
max-height: 100%;
}

.table {
width: 100%;
display: table;
border-spacing: 0;
}
564 changes: 564 additions & 0 deletions src/components/table/bl-table.stories.mdx

Large diffs are not rendered by default.

Loading
Loading