Skip to content

Commit

Permalink
Feature/transpile (#51)
Browse files Browse the repository at this point in the history
* Moved away from webpack compilation to do babel transpilation, changed to use less variables instead of CSS variables to support older browsers

* Added 'none' classes

* Changed from image to psuedo element for select arrow

* Fixed conversion typo

* Docz update

* Updated deps, switched npm script names
  • Loading branch information
jfurfaro authored and zepfan committed Aug 15, 2018
1 parent 42b836a commit e8e751b
Show file tree
Hide file tree
Showing 34 changed files with 7,174 additions and 9,008 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["@babel/env", "@babel/react"],
"plugins": ["@babel/proposal-object-rest-spread", "@babel/proposal-class-properties"]
}
11 changes: 11 additions & 0 deletions docz/index.doc.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Intro
route: /
order: 1
---

import '../src/styles.less';

# Public Records React UI Kit!

Select a component on the left to view its documentation
15 changes: 0 additions & 15 deletions doczrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@ export default {
styles: {
container: {
width: 1100
},
pre: {
padding: ['0.5em', '0.5em'],
border: 'none',
borderRadius: '5px !important',
width: '100%',
marginBottom: '2em !important',
backgroundColor: '#f7f7f7'
},
code: {
borderRadius: '4px'
},
playground: {
padding: '0 0 10px',
border: 'none'
}
}
},
Expand Down
Loading

0 comments on commit e8e751b

Please sign in to comment.