Alex Windett
fe6d3e3228
adding function to check node_env ( #414 )
2017-03-29 09:52:33 +01:00
Alex Windett
e0130d5522
splitting mock state into reusable objects
2017-03-28 13:39:07 +01:00
Sérgio Ramos
5e21ff1e64
add icons to ui ( #347 )
...
fixes #282
fixes #297
fixes #333
Not only adds icons (as svgs) but also removes the assets folder which adds some
side effects:
- move fonts to it's own component (currently only exposing libre-franlin)
- Base.global requires fonts and injects them
- update webpack and babelrc to ignore/include that new folder
Having to deal with those side effects, I took the opportunity to add some
improvements:
- rename "regular" to "normal" which conforms to the font-weight rule options
- apply family and weight to buttons (which default to system-ui)
- replace all font-weight to use the typography composer
- only use "Libra Franklin" as the family name, using weight to vary between
files
2017-03-03 15:29:03 +00:00
Sérgio Ramos
2589ad59a7
remove eslint-loader
...
fixes #349
2017-03-03 15:06:32 +00:00
Sérgio Ramos
62bd05ffb8
replace file-loader with babel-plugin-inline-react-svg
...
fixes #299
2017-03-02 14:23:18 +00:00
Sérgio Ramos
ff83b4990f
fix Base.global fonts
2017-02-24 13:29:50 +00:00
Sérgio Ramos
1dc5f6ec7f
fix source-maps
2017-02-24 13:27:52 +00:00
Sérgio Ramos
e6a745db9a
fix baseline grid
2017-02-24 12:17:01 +00:00
Sérgio Ramos
5307fc0c9d
fix Base.global import
2017-02-24 12:10:28 +00:00
Sérgio Ramos
7ce458fe2d
fix production "Unexpected token" error
2017-02-23 17:24:38 +00:00
Sérgio Ramos
520b685e28
convert commonjs to es2015 modules ( fixes #234 )
2017-02-23 15:09:27 +00:00
Alex Windett
33e899b923
adding in eslint for trailing commas
2017-02-21 16:08:24 +00:00
Alex Windett
c21072ae74
updating eslint config to ignore "debugger" in browser"
2017-02-09 15:09:40 +00:00
Sérgio Ramos
31e004781f
give higher priority for modules in frontend 💅
...
this fixes a bug where it would not be possible to extend styled-components from UI because they would require a different instance of styled-components
2017-02-09 11:05:02 +00:00
Sérgio Ramos
572d44230c
fix missing plugins instantiation
2017-02-09 11:04:45 +00:00
Sérgio Ramos
f54c22b732
for eslint pre loader, use create-react-app's
2017-02-09 11:04:26 +00:00
Sérgio Ramos
6d5922e399
improve webpack config
...
- better stack traces
- disable hmr (for now)
- runtime eslint
- remove all async/await stuff (untill we actually need it)
- reaload when modules change
- show full path in compiled requires
- ignore node dependencies
- don't instantiate plugins unless required
2017-02-07 15:54:35 +00:00
Sérgio Ramos
a7f992e69f
fix rr dep in ui
2017-02-07 09:40:27 +00:00
Alex Windett
cf723f5010
fixing bug in font loader. Including only UI font path, and adding new loader for SVG only
2017-02-01 15:12:17 +00:00
Tom Gallacher
84becdb73f
Adding back missing images
2017-01-24 17:06:10 +00:00
Alex Windett
139247fc09
fixing linting errors
2017-01-23 16:29:48 +00:00
Tom Gallacher
c1d1661a22
Fix broken production deployments
2017-01-23 11:00:07 +00:00
Alex Windett
acbf130c2c
Seperating Normalization and Bootstrap Reboot
...
- Moving normalizae styles out of <Base> component.
- Creating CSS file for normalize css in vendor
- Moving assets directory
- Updating npm storybook script to include new normalize css
- Adding normalize css to <head> of storybook
- Adding css-loader to frontend webpack
- Including normalize.css in root of frontend
2017-01-18 14:32:17 +00:00
Tom Gallacher
abd113d009
Fixing UI and frontend compilation
2017-01-18 12:39:28 +00:00
Tom Gallacher
4953ae36ea
Fixing fonts
2017-01-13 18:14:25 +00:00
Tom Gallacher
6e7b83b82f
Fixing docker deployment
2017-01-06 16:24:37 +00:00
Tom Gallacher
10cd424568
Build frontend from production
2017-01-03 17:11:18 +00:00
Sérgio Ramos
4bd334cb31
local node_modules as first resolve path
2016-12-19 12:24:00 +00:00
Sérgio Ramos
cd24d8397a
link dashboard and org pages
2016-12-13 22:13:46 +00:00
Sérgio Ramos
fffa1192d6
fix @ui require
2016-12-13 22:13:45 +00:00
Alex Windett
2ca23fe16e
commenting out unused constant
2016-12-12 12:18:44 +00:00
Sérgio Ramos
43af2d0785
upgrade frontend to styled-components
2016-12-12 10:56:48 +00:00
Sérgio Ramos
52b9645052
ignore css in test
2016-12-06 11:17:38 +00:00
Sérgio Ramos
9376818a4b
handle aliases in webpack test
2016-12-06 11:14:48 +00:00
Sérgio Ramos
0189d7d29a
re-organize webpack configuration
...
- detach plugins configuration
- use aliases
- add project root to frontend module resolver
2016-12-05 20:11:55 +00:00
Sérgio Ramos
8733a60acb
use some common joyent lint rules
2016-10-26 10:51:40 +01:00
Sérgio Ramos
410f5a93e5
ui grid system - grid, row and column
2016-10-24 21:58:09 +01:00
Sérgio Ramos
73ab7705af
fix "Unexpected token ,"
2016-10-24 18:03:47 +01:00
Sérgio Ramos
f9a631f26e
fix postcss loader configuration
2016-10-24 17:38:45 +01:00
Sérgio Ramos
efe109067e
fix "base.config.concat is not a function"
2016-10-24 14:37:30 +01:00
Sérgio Ramos
ada55f14fd
lint frontend
2016-10-24 14:11:50 +01:00
Sérgio Ramos
eefaf1d625
reuse post-css configration for tests
2016-10-24 12:41:17 +01:00
Sérgio Ramos
7412d28277
fix .css loading in tests
2016-10-24 12:23:05 +01:00
Sérgio Ramos
6b558b7c08
use extract-text-webpack-plugin for frontend
2016-10-24 11:02:18 +01:00
Sérgio Ramos
979e2ece71
internationalization suppport
2016-10-24 11:02:18 +01:00
Alex Windett
2ae82c95ec
implimenting react-css-modules and updating file structure
2016-10-24 11:02:18 +01:00
Sérgio Ramos
06f7b29fc3
internationalization suppport
2016-10-20 20:42:39 +01:00
Sérgio Ramos
d75ca9ffd4
bootstrap frontend
2016-10-20 10:58:19 +01:00