-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #396 from Infineon/117-table-v1-basic-version
Table using agGrid library
- Loading branch information
Showing
38 changed files
with
6,514 additions
and
2,317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,5 @@ jobs: | |
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: | | ||
cd packages/components | ||
npm install | ||
npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3,138 changes: 2,528 additions & 610 deletions
3,138
examples/wrapper-components/react-javascript/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
examples/wrapper-components/react-javascript/src/components/BasicTable/BasicTable.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
import { IfxBasicTable } from '@infineon/infineon-design-system-react'; | ||
|
||
function BasicTable() { | ||
const cols = [ | ||
{ headerName: 'Make', field: 'make', sortable: true, sort: 'desc', unSortIcon: true }, | ||
{ headerName: 'Model', field: 'model', sortable: true, unSortIcon: true }, | ||
{ headerName: 'Price', field: 'price' }, | ||
{ headerName: 'Age', field: 'age' } | ||
]; | ||
const rows = [ | ||
{ make: 'Toyota', model: 'Celica', price: 35000, age: 10 }, | ||
{ make: 'Ford', model: 'Mondeo', price: 32000, age: 12 }, | ||
{ make: 'Porsche', model: 'Boxster', price: 72000 } | ||
]; | ||
|
||
|
||
return ( | ||
<IfxBasicTable row-height='default' | ||
cols={JSON.stringify(cols)} | ||
rows={JSON.stringify(rows)} | ||
table-height='auto'> | ||
</IfxBasicTable> | ||
|
||
); | ||
} | ||
|
||
export default BasicTable; |
3,600 changes: 2,808 additions & 792 deletions
3,600
examples/wrapper-components/vue-javascript/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
examples/wrapper-components/vue-javascript/src/components/BasicTable.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
|
||
<template> | ||
<div> | ||
<h2>Table</h2> | ||
<ifx-basic-table row-height='default' | ||
cols='[{"headerName":"Make","field":"make","sortable":true,"sort":"desc","unSortIcon":true},{"headerName":"Model","field":"model","sortable":true,"unSortIcon":true},{"headerName":"Price","field":"price"},{"headerName":"Age","field":"age"}]' | ||
rows='[{"make":"Toyota","model":"Celica","price":35000,"age":10},{"make":"Ford","model":"Mondeo","price":32000,"age":12},{"make":"Porsche","model":"Boxster","price":72000}]' | ||
table-height='auto'> | ||
</ifx-basic-table> | ||
<br /> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
</script> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"version": "0.0.0", | ||
"version": "20.13.0", | ||
"command": { | ||
"publish": { | ||
"verifyAccess": false | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.