Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0d760f2
Separate calcState and statsState
mattlean May 25, 2020
8089953
Add create columns flag
mattlean May 25, 2020
79763da
Refactor column validation, UI update, and draw code to potentially s…
mattlean May 26, 2020
5dec99c
Calculate row grid in panel UI
mattlean May 26, 2020
d42afa8
Update reset for cols & rows
mattlean May 26, 2020
8fef963
Progress on drawing rows
mattlean May 26, 2020
5658892
Progress on drawing rows
mattlean May 26, 2020
b6e2ded
Properly name row groups
mattlean May 26, 2020
6a5b71c
Fix bug where attemptRowGridHeightCalc does not validate correctly
mattlean May 26, 2020
d18473d
Draw row fields
mattlean May 27, 2020
4624627
Draw row gridlines
mattlean May 27, 2020
8582c64
Remove deprecated ESLint config property
mattlean May 27, 2020
a815f55
Fix bug where some row stats are swapped
mattlean May 27, 2020
7425c61
Merge branch 'master' into rows2
mattlean May 27, 2020
c7b3861
Update features in README
mattlean May 27, 2020
957208e
Update features in README
mattlean May 27, 2020
14575f4
Fix bug where canvas width and height values swap when updating manua…
mattlean May 30, 2020
ac65f34
Merge branch 'rows2' of https://github.com/mattlean/gridnik into rows2
mattlean May 30, 2020
0018237
Fix bug where top & bottom margins blur event running attemptColGutte…
mattlean May 30, 2020
0e6e68d
Fix bug where col draw errs if draw fields & gridlines aren't both se…
mattlean Jun 3, 2020
5a5147d
Fix bug where row draw errs if draw fields & gridlines aren't both se…
mattlean Jun 3, 2020
1395f4c
Fix bug where draw fields & gridlines checkboxes are changed when cre…
mattlean Jun 3, 2020
586836d
Update UI, update devDependencies
mattlean Jun 7, 2020
148b5b7
Recalculate col width or row height when floorVals or canvas size is …
mattlean Jun 8, 2020
de9e4a7
Progress on fixing margin calc bug
mattlean Jun 8, 2020
81c7f7d
Fix margin bug on rows
mattlean Jun 8, 2020
8848420
Minor updates
mattlean Jun 8, 2020
be1868f
Fix bug with calc & update calc tests
mattlean Jun 8, 2020
d46d5a3
Test margin recalculation for calcColWidth
mattlean Jun 8, 2020
6a5c2d6
Update comments, adjust margins if necessary when calcing gutter
mattlean Jun 9, 2020
aac686d
Fix bugs that occur when cols or rows is 1
mattlean Jun 15, 2020
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
3 changes: 0 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"plugin:react/recommended",
"plugin:prettier/recommended"
],
"ecmaFeatures": {
"experimentalObjectRestSpread": true
},
"env": {
"browser": true,
"es6": true,
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ The plugin's name is based on Dutch graphic designer [Wim Crouwel](https://en.wi
## Features

- Create an unlimited amount of layout grids with varying dimensions, columns, gutters, and margins
- Build grids and overlay them upon any object: artboards, rectangles, polygons, text, etc.
- Construct grids with columns or rows or both
- Produce grids as rectangle fills or gridlines or both
- Build grids that fit into any object: artboards, rectangles, polygons, text, etc.
- Use auto-calculations to make sure your grids hold your desired structure while still being valid
- Support for grid construction using decimals
- Produce grids as rectangle fills or gridlines or both
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
"watch": "nodemon -w src -e js,jsx,css -w webpack.config.js -x yarn build"
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-transform-react-jsx": "^7.10.1",
"babel-loader": "^8.1.0",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^6.0.0",
"css-loader": "^3.5.3",
"eslint": "^7.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.13.1",
Expand All @@ -24,19 +28,14 @@
"jest": "^26.0.1",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"style-loader": "^1.2.1",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
"webpack-cli": "^3.3.11",
"yarn": "^1.22.4"
},
"dependencies": {
"@babel/core": "^7.9.6",
"babel-core": "^6.26.3",
"babel-loader": "^8.1.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"css-loader": "^3.5.3",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"style-loader": "^1.2.1",
"yarn": "^1.22.4"
"react-dom": "^16.13.1"
}
}
Loading