-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SuperQuery
synthax rewrite, new api design
.
* `SuperQuery` was rebuilt in order to improve its syntax and readability. * REMOVED: `configureBreakpoints()` to set custom breakpoints, use `SuperQuery(myCustombreakpoints)` instead * NEW: **No more `parentheses`**! Now `SuperQuery` has a fluid and human likely style. * Before: `SuperQuery().all().and().maxWidth().md().css...` * Now: `SuperQuery().all.and.maxWidth.md.css...` * NEW: `.of(value)` method is introduced for all the cases you need to declare a value. * E.g. `SperQuery().minWidth.of('300px').css...` * `Server Side Render` tested.
- Loading branch information
1 parent
49cfb00
commit 6ef1f9d
Showing
35 changed files
with
7,648 additions
and
8,524 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 |
---|---|---|
@@ -1,13 +1,28 @@ | ||
{ | ||
"comments": false, | ||
"presets": [ | ||
["es2015", { | ||
"loose": true, | ||
}], | ||
"react" | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"loose": true | ||
} | ||
], | ||
"@babel/preset-react" | ||
], | ||
"plugins": [ | ||
"transform-class-properties", | ||
["transform-object-rest-spread", { "useBuiltIns": true }] | ||
"@babel/plugin-proposal-class-properties", | ||
[ | ||
"@babel/plugin-proposal-object-rest-spread", | ||
{ | ||
"useBuiltIns": true | ||
} | ||
], | ||
[ | ||
"@babel/plugin-proposal-pipeline-operator", | ||
{ | ||
"proposal": "minimal" | ||
} | ||
], | ||
"@babel/plugin-proposal-export-default-from" | ||
] | ||
} |
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
Oops, something went wrong.