364 Commits

Author SHA1 Message Date
Faris Ansari
18fa7d2eca fix(style): Make cell take full height in firefox 2018-07-19 14:59:44 +05:30
Faris Ansari
7417b0fdcd fix(style): Namespace CSS variables to avoid clash with foreign CSS variables 2018-07-19 14:42:30 +05:30
Faris Ansari
1f387c9079 fix(theme): Include CSS variables in the final css build
CSS Variables should be built into the distributable css file for theme support
2018-07-19 14:28:03 +05:30
Faris Ansari
312335d419 chore(cdn): Add filepath in package.json for CDNs
Add the filepath for CDNs unpkg and jsdelivr so that they serve minified files by default
v1.1.3
2018-07-14 11:43:25 +05:30
Faris Ansari
0856f6cdf7 fix(css): Table cell border fix for firefox and edge browser
Firefox and Edge paints the cell background over the border of the cell. This fixes that.
2018-07-14 11:32:16 +05:30
Faris Ansari
226aea24df fix(toggleFilter): Return early if inlineFilter is disabled 2018-07-14 11:31:45 +05:30
Faris Ansari
8db22e9db2
Merge pull request #39 from frappe/npm-bundle-size-badge
Add npm bundle size badge
2018-07-12 23:30:41 +05:30
Faris Ansari
cc6128b2b6
Add npm bundle size badge 2018-07-12 23:29:20 +05:30
Faris Ansari
bddb3c27ce fix(destroy): Cleanup event listeners on destroy
Event listeners attached to elements inside the root datatable wrapper are automatically removed
when the root element is removed from DOM. But, there are event listeners which are attached to
window and body, those have to be manually removed. This commit introduces an internal event system,
through which we destroy global event handlers.
v1.1.2
2018-07-10 12:00:41 +05:30
Faris Ansari
f9714673b4 fix(rowmanager): Fire onCheckRow event on checkAll
When checkAll is triggered via API or UI input, onCheckRow event fires

Closes #38
v1.1.1
2018-07-09 17:35:59 +05:30
Faris Ansari
78666f8ab2 fix(theme): More CSS variables for themes
Add CSS variables for header cell background and toast message border for more flexible themeing
v1.1.0
2018-07-08 23:17:11 +05:30
Faris Ansari
1b5292a7f0 feat(theme): Add dark theme
Add a new stylesheet which overrides the css variables in the core stylesheet to obtain a dark theme
2018-07-08 19:13:21 +05:30
Faris Ansari
2cf2191f0f fix(treeView): Decrease left padding of tree node cells v1.0.1 2018-07-08 17:35:16 +05:30
Faris Ansari
9e4d0bb9c8 chore(lint): Add lint step in travis
Add lint step in travis, add lint and commit script in package.json. Update Contributing information
in Readme
2018-07-07 23:49:45 +05:30
Faris Ansari
5f25514639 chore(readme): Add semantic release badge 2018-07-07 23:29:37 +05:30
Faris Ansari
9ed446194d chore(release): Build files before running tests
Files should be built before running tests, since Cypress requires those files
v1.0.0
2018-07-07 22:30:15 +05:30
Faris Ansari
48e0034eb1 test: Remove default sort and let test pass 2018-07-07 22:28:29 +05:30
Faris Ansari
47aa83dce8 chore(release): Add semantic release and commitizen 2018-07-07 22:10:15 +05:30
Faris Ansari
d225308151 feat(sort): Apply sortOrder in initialization 2018-07-07 22:07:16 +05:30
Faris Ansari
cab9fff5e6 v0.0.10 2018-07-05 13:25:15 +05:30
Faris Ansari
3a050cdfb6 [fix] Cells with 0 value should be right aligned 2018-07-05 13:23:56 +05:30
Faris Ansari
cd4645e5b3
Cache npm and cache directories, and run test using npm (#34) 2018-06-06 23:19:16 +05:30
Faris Ansari
f040f5c584 v0.0.9 2018-06-05 16:09:01 +05:30
Faris Ansari
978682e1df
getEditor (#33)
* chore

- Add rollup devDependency
- Add tsconfig for cypress intellisense

* getEditor: getValue can now return a Promise that resolves to the value
2018-06-05 15:58:39 +05:30
Faris Ansari
2af2cebf14 Update cypress to 3.0.1 2018-06-03 17:08:46 +05:30
Faris Ansari
2130a46c21 [tests] Edit cell 2018-06-03 17:08:36 +05:30
Faris Ansari
96a9235a12
Update README.md (#32) 2018-05-31 00:16:16 +05:30
Faris Ansari
c95fa505dd
Update npm version badge (#31)
* Update npm version badge

* Update license badge
2018-05-30 15:02:04 +05:30
Faris Ansari
bc3bd3accb
Merge pull request #30 from frappe/shields
Add badges
2018-05-30 08:35:44 +05:30
Faris Ansari
291cc101f5 Badges in center 2018-05-30 08:33:33 +05:30
Faris Ansari
fe79d6b2ec Update badge links 2018-05-30 08:31:01 +05:30
Faris Ansari
11ae5d6be4 formatting 2018-05-30 08:19:27 +05:30
Faris Ansari
2559ae3119 formatting 2018-05-30 08:18:01 +05:30
Faris Ansari
2987fcd302 Add shields 2018-05-30 08:15:53 +05:30
Faris Ansari
27cfc76a7e
Merge pull request #29 from frappe/cypress
Setup Cypress and tests
2018-05-30 08:12:03 +05:30
Faris Ansari
e02af2077c Add test command and travis.yml 2018-05-30 08:05:40 +05:30
Faris Ansari
2d1bb23cda Comment out "cell edit" test for now 2018-05-30 08:05:21 +05:30
Faris Ansari
c387c649a5 Basic Tests for Cell, Column and Row functionalities 2018-05-30 07:48:15 +05:30
Faris Ansari
4a8cdd0362 Merge remote-tracking branch 'upstream/master' into cypress 2018-05-30 05:52:24 +05:30
Faris Ansari
db82d7fff4 v0.0.8 2018-05-23 18:16:53 +05:30
Faris Ansari
b61f7fdcab [fix] sortIndicator 2018-05-23 18:14:50 +05:30
Faris Ansari
faeef3856c v0.0.7 2018-05-23 18:04:48 +05:30
Faris Ansari
e6a8cb8d7f Deactivate filter on esc key 2018-05-23 18:03:17 +05:30
Faris Ansari
f3a8b465ef bindMoveColumn on every call of refreshHeader 2018-05-23 17:52:17 +05:30
Faris Ansari
f9775ecdf2 Better implementation of setStyle
- handle overridding of styles by itself
2018-05-23 17:51:39 +05:30
Faris Ansari
737430671e Init Cypress 2018-05-22 13:48:18 +05:30
Faris Ansari
00b8000d49 v0.0.6 2018-05-18 12:23:35 +05:30
Faris Ansari
c61e53da8c [fix] headerDropdown option merge 2018-05-18 12:18:30 +05:30
Faris Ansari
a64c51bfdf Merge branch 'master' of https://github.com/frappe/datatable 2018-05-18 12:17:20 +05:30
Faris Ansari
e1a54de352 updateRow: minor fix 2018-05-09 18:10:45 +05:30