Skip to content

Commit 5ba3b0a

Browse files
committed
first commit
0 parents  commit 5ba3b0a

27 files changed

+101988
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/node_modules
2+
/package-lock.json

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Todo
2+
3+
- ***Possible feature?*** May want to replace context with an external store
4+
5+
6+
7+
### Filters
8+
`Equal: =`
9+
`Not equal: field__ne`
10+
`Greater than or equal: field__gte`
11+
`Less than or equal: field__lte`
12+
`Greater than: field__gt`
13+
`Less than: field__lt`
14+
`In: field__in`
15+
`Is blank: field__isnull`
16+
`Starts with: field__istartswith`
17+
`Ends with: field__iendswith`
18+
`Contains: field__icontains`

package.json

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"name": "datatable",
3+
"version": "0.1.0",
4+
"private": true,
5+
"dependencies": {
6+
"@floating-ui/react": "^0.24.8",
7+
"@testing-library/jest-dom": "^5.16.5",
8+
"@testing-library/react": "^13.4.0",
9+
"@testing-library/user-event": "^13.5.0",
10+
"@types/jest": "^27.5.2",
11+
"@types/node": "^16.18.38",
12+
"@types/react": "^18.2.14",
13+
"@types/react-dom": "^18.2.6",
14+
"react": "^18.2.0",
15+
"react-dom": "^18.2.0",
16+
"react-scripts": "5.0.1",
17+
"typescript": "^4.9.5",
18+
"web-vitals": "^2.1.4"
19+
},
20+
"overrides": {
21+
"nth-check": "^2.0.1"
22+
},
23+
"scripts": {
24+
"start": "react-scripts start",
25+
"build": "react-scripts build",
26+
"test": "react-scripts test",
27+
"eject": "react-scripts eject"
28+
},
29+
"eslintConfig": {
30+
"extends": [
31+
"react-app",
32+
"react-app/jest"
33+
]
34+
},
35+
"browserslist": {
36+
"production": [
37+
">0.2%",
38+
"not dead",
39+
"not op_mini all"
40+
],
41+
"development": [
42+
"last 1 chrome version",
43+
"last 1 firefox version",
44+
"last 1 safari version"
45+
]
46+
},
47+
"jest": {
48+
"testMatch": [
49+
"<rootDir>/src/**/*.test.{js,jsx,ts,tsx}"
50+
],
51+
"coverageThreshold": {
52+
"global": {
53+
"branches": 90,
54+
"functions": 90,
55+
"lines": 90,
56+
"statements": 90
57+
}
58+
},
59+
"coverageReporters": [
60+
"text"
61+
]
62+
},
63+
"devDependencies": {
64+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
65+
"@faker-js/faker": "^8.0.2"
66+
},
67+
"description": "A ready to use react js server side datatable.",
68+
"keywords": [
69+
"datatable",
70+
"react-datatable",
71+
"react-js",
72+
"table",
73+
"react-table",
74+
"server-side-datatable"
75+
],
76+
"author": "Joshua Joseph Myers",
77+
"license": "ISC"
78+
}

public/favicon.ico

3.78 KB
Binary file not shown.

public/index.html

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="theme-color" content="#000000" />
8+
<meta
9+
name="description"
10+
content="Web site created using create-react-app"
11+
/>
12+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13+
<!--
14+
manifest.json provides metadata used when your web app is installed on a
15+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16+
-->
17+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18+
<!--
19+
Notice the use of %PUBLIC_URL% in the tags above.
20+
It will be replaced with the URL of the `public` folder during the build.
21+
Only files inside the `public` folder can be referenced from the HTML.
22+
23+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24+
work correctly both with client-side routing and a non-root public URL.
25+
Learn how to configure a non-root public URL by running `npm run build`.
26+
-->
27+
<title>React App</title>
28+
</head>
29+
<body>
30+
<style>
31+
html, body, #root {
32+
margin: 0px;
33+
height: 100%;
34+
}
35+
</style>
36+
<noscript>You need to enable JavaScript to run this app.</noscript>
37+
<div id="root"></div>
38+
<!--
39+
This HTML file is a template.
40+
If you open it directly in the browser, you will see an empty page.
41+
42+
You can add webfonts, meta tags, or analytics to this file.
43+
The build step will place the bundled scripts into the <body> tag.
44+
45+
To begin the development, run `npm start` or `yarn start`.
46+
To create a production bundle, use `npm run build` or `yarn build`.
47+
-->
48+
</body>
49+
</html>

public/logo192.png

5.22 KB
Loading

public/logo512.png

9.44 KB
Loading

public/manifest.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "React App",
3+
"name": "Create React App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}

public/robots.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://www.robotstxt.org/robotstxt.html
2+
User-agent: *
3+
Disallow:

0 commit comments

Comments
 (0)