Skip to content

Commit

Permalink
feat(@h6s/table): Initial commit (#165)
Browse files Browse the repository at this point in the history
* feat(@h6s/table): Initial commit

* fix(@h6s/table): Rename tabler to table

* fix(@h6s/table): Extract mock dataset

* fix(@h6s/table): Fix build error

* chore(@h6s/table): Add scope to test script

* fix(@h6s/table): Remove useless return value - headerTree

* fix(@h6s/table): Fix bug in buildFooters

Sub last colSpan in colSpanQueue when exist tail footer

* chore(@h6s/table): Supply mock dataset

* chore(@h6s/table): Arrange storybook code

* feat(@h6s/table): Expose headerIds

* chore(@h6s/table): Add controls to stories

* feat(@h6s/table): Add `extendsFooter` rules

* fix(@h6s/table): Arrange code

* chore(@h6s/table): Add buildFooters test

* chore(@h6s/table): Add TableCore test code

* chore(@h6s/table): Add unstable_rendererModel for testing

* chore(@h6s/table): Add composeDataset use case

* fix: replace new foramt

* fix: remove unstable word

* fix: replace to new interface (2)

* fix: rebranding to TableModel

* fix: footers -> tfoots

* fix: rebranding to thead

* fix: rebranding to headMeta

* fix: Header to Head

* fix: change RowData generic type to Row

* fix: add type to get function

* fix: use TableCore.compose

* chore: update gitignore

* chore: supply test code for coverage

* fix: render interface

* fix: header to head

* fix: footer to foot
  • Loading branch information
JaeYeopHan authored Feb 2, 2022
1 parent e7ef1f9 commit 7b53fd9
Show file tree
Hide file tree
Showing 42 changed files with 2,692 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ temp
lerna-debug.log
website/.yarn/.cache/**/*
playwright-report
coverage
24 changes: 24 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/table/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# [@h6s/table](https://h6s.dev/docs/table/get-started)
48 changes: 48 additions & 0 deletions packages/table/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "@h6s/table",
"version": "0.0.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "esm/index.js",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"scripts": {
"prepack": "yarn build",
"prebuild": "rimraf dist cjs",
"build:type": "yarn run -T tsc --emitDeclarationOnly --declaration",
"build": "yarn build:type && node ../../scripts/build.js",
"lint": "yarn run -T eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "yarn lint --fix",
"typecheck": "yarn run -T tsc",
"test": "yarn run -T jest --config ../../jest.config.js --roots './packages/table/src'",
"test:playwright": "playwright test",
"test:cov": "yarn test --coverage",
"test:watch": "yarn test --watch",
"semantic-release": "semantic-release"
},
"devDependencies": {
"@playwright/test": "1.17.1",
"@storybook/react": "6.4.9",
"@testing-library/react-hooks": "7.0.2",
"@types/jest": "27.4.0",
"@types/node": "17.0.5",
"@types/react": "17.0.38",
"playwright": "1.17.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-test-renderer": "17.0.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
}
}
Loading

0 comments on commit 7b53fd9

Please sign in to comment.