Commit Graph

462 Commits

Author SHA1 Message Date
Antoine Boulanger
e036dfd475 Merge pull request #59 from locomotivemtl/baker-events
JS events consts and namespaces
2017-06-08 16:27:24 -04:00
Antoine Boulanger
868fd8ff60 Fix destroy 2017-05-30 12:26:24 -04:00
Antoine Boulanger
f6595c3172 JS events consts and namespaces 2017-05-30 12:16:13 -04:00
Quentin Hocdé
50dd8042dd Layout, fix $gutter left padding 2017-05-17 11:04:04 -04:00
Julien Martins Da Costa
0baf4ae436 Fix arguments for barba linkClicked event 2017-05-01 15:36:43 -04:00
Chauncey McAskill
06ad6b0cb3 Simplified [data-module] split 2017-05-01 14:52:44 -04:00
Antoine Boulanger
5e58ed9115 Fix alignment 2017-04-27 16:00:45 -04:00
Antoine Boulanger
61d875f52d Readd layout reverse modifier 2017-04-25 10:13:13 -04:00
Antoine Boulanger
6711fb7010 Reorganize _layout.scss 2017-04-25 10:03:52 -04:00
Dominic Lord
8b9ee3d0ec Cleanup uid once module destroyed + destroy parent class + added example 2017-04-06 14:04:29 -04:00
Julien Martins Da Costa
af01ff20ee Fix undefined variable in and 2017-03-22 16:14:35 -04:00
Antoine Boulanger
f32f111836 Add version 0 to package.json for update 2017-03-22 12:06:25 -04:00
Antoine Boulanger
57c8feaf58 Breakpoint settings change big 2017-03-20 16:43:15 -04:00
Dominic Lord
295d8f282b Merge pull request #56 from locomotivemtl/mcaskill-has-js
Mcaskill has js
2017-03-02 12:36:25 -05:00
Chauncey McAskill
8a93c9d178 Added ‘.has-no-js’ and ‘.has-js’ to <html>
Useful for CSS, e.g.:

```
.has-js .hide-if-js,
.has-no-js .hide-if-no-js {
    display: none;
}
```
2017-03-02 12:35:52 -05:00
Dominic Lord
6c0f8251a5 Merge pull request #53 from locomotivemtl/mcaskill-scss
Refactored Sass
2017-03-02 12:28:19 -05:00
Dominic Lord
39f703501e Merge branch 'master' into mcaskill-scss 2017-03-02 12:28:01 -05:00
Dominic Lord
c5d34fb0ab Added scoped module deletion
- Ability to search through a DOM element and destroy any modules within it
- Added an init() hook on AbstractModule. Used to execute any code that does not belong in a constructor (which is most of what we do)
2017-03-02 11:55:55 -05:00
Dominic Lord
992c851303 Compiled scripts 2017-03-02 09:55:07 -05:00
Dominic Lord
9e8fbed232 Removing any vars + Improved module ident split 2017-03-02 09:52:12 -05:00
Dominic Lord
5eec3941c3 Added a simply debounce util to avoid using throttle plugins 2017-03-02 09:46:51 -05:00
Dominic Lord
3483e1530b Barba as a service 2017-03-02 09:43:20 -05:00
Dominic Lord
c9c3950f8b Reorganization of globals
- Simplified globals usage in App
- Removed global App
2017-03-02 09:42:37 -05:00
Dominic Lord
e22b938741 Adding scoped module creation 2017-03-02 09:22:46 -05:00
Dominic Lord
cc547e484b Cleanup example modules (todo: add in documentation) 2017-03-02 08:57:46 -05:00
Dominic Lord
c9cedfa727 Cleanup example modules (todo: add in documentation) 2017-03-02 08:53:44 -05:00
Dominic Lord
a1695c499f Split dependencies into different concerns + add barba 2017-03-02 08:52:19 -05:00
Antoine Boulanger
6464eefc8b Add version 0 to package.json for npm-check-updates 2017-02-08 13:39:15 -05:00
Antoine Boulanger
3528615a48 Add context to config, removed from core 2017-02-08 12:08:34 -05:00
Antoine Boulanger
55fe0f372a Consistency in comments, names and structure; simplify some stuff, remove and add things, tweak stuff for how we work with design
Still some work has to be done while testing like for layouts.
2017-02-08 11:43:28 -05:00
Dominic Lord
405034a3f2 Merge pull request #52 from locomotivemtl/mcaskill-es6
ES6 Revisions
2017-01-12 14:11:37 -05:00
Chauncey McAskill
2ac2d523cc Refactored Sass
Merged SCSS from various recent projects and implemented some of the latest features from InuitCSS.

When using the SCSS structure in your own project, modify the ‘settings/config*.scss’ files and leave ‘settings/core.scss’ intact.

Changes:
- Updated Normalize to 5.0.0;
- Migrated imports to ‘main.scss’;
- Split ‘settings.scss’ into smaller parts;
- Revised variable names for settings;
- Added spacing unit variables;
- Replaced ‘objects/grid.scss’ with ‘objects/layout.scss’ (from inuitcss);
- Added ‘objects/crop.scss’ and ‘objects/ratio.scss’ (from inuitcss);
- Added @font-face mixin/function from Bourbon;
- Added various new functions and mixins (widths, font-size, truncation,…);
- Renamed Trumps to Utilities;
- Added vatious new Utilities (print, states, spacing, widths);
- Reorganized Utilities into topics;
2016-12-19 13:43:35 -05:00
Julien Martins Da Costa
3c8ee03690 Merge pull request #54 from locomotivemtl/jdacosta-master
Add babel-plugin-transform-export-extensions package
2016-12-19 10:03:13 -05:00
Julien Martins Da Costa
8e886933ac Add babel-plugin-transform-export-extensions package 2016-12-19 09:58:05 -05:00
Chauncey McAskill
0facd79d7e Revised JS
Changes:
- Added constants for APP_NAME, DATA_API_KEY;
- Added constants for Event and Selector to the Button and Title modules;
- Cleaned up syntax for JS modules;
2016-12-18 15:45:52 -05:00
Chauncey McAskill
3c95ab0c46 Modified .gitignore
Changes:
- Removed OS-related rules (those should be globally ignored);
- Ignore Lockfiles;
2016-12-18 14:22:53 -05:00
Chauncey McAskill
57368f164a Modified NPM Manifest
Changes:
- Replace “0.0.0” with “” as per NPM documentation to (matches any version);
- Moved SVG4Everybody from “devDependencies” tp “dependencies”;
2016-12-18 14:16:17 -05:00
Chauncey McAskill
6f23c38765 Improved module ident split 2016-12-16 20:48:40 -05:00
Chauncey McAskill
553f76f2ca Cast node data to natural types 2016-12-16 16:12:06 -05:00
Julien Martins Da Costa
05386df953 Add babel-plugin-transform-export-extensions package 2016-11-22 14:51:33 -05:00
Antoine Boulanger
0c748984aa Same 2016-11-10 11:38:11 -05:00
Antoine Boulanger
1be5a4c99d Fix watch svg for sprite 2016-11-10 11:31:01 -05:00
Joel Alphonso
1dff1b9451 _ratio.scss tool added to restrain a container to an unitary or fractional proportion 2016-10-27 16:26:17 -04:00
Chauncey McAskill
b9ddc6ee25 Merge pull request #49 from locomotivemtl/mcaskill-editorconfig
Applied EditorConfig Recommendations
2016-09-07 18:31:05 -04:00
Chauncey McAskill
79219e0659 Updated EditorConfig Recommendations
Applied 4-spaces for everything as per: https://locomotivemtl.teamwork.com/tasks/7113032
2016-09-07 18:30:36 -04:00
Chauncey McAskill
3953fbca7b Merge pull request #46 from locomotivemtl/mcaskill-svg-sprite
Added 'grunt-svg-sprite' plugin
2016-09-07 18:24:06 -04:00
Chauncey McAskill
b7233b7ddb Really delete htaccess 2016-09-07 18:19:36 -04:00
Chauncey McAskill
a0f74506d2 Added 'grunt-svg-sprite' plugin
The plugin replaces 'svgmin' and 'svgstore' with an all-in-one and highly flexible solution for managing SVG assets.

Changes:
- Deleted 'assets/images/sprite/', SVG images can live anywhere within the source image directory;
- When compiled to 'www/assets/images/sprite.svg', the plugin generates an HTML file in 'assets/images/sprite.symbol.html' that serves as an index of the spritesheet's contents;
- A separator ("--") is used when traversing a directory structure for the symbol ID (e.g, 'sprite.svg#icons--social--twitter');
2016-08-22 09:33:07 -04:00
dominiclord
bf0c7e148c Adding commonly used scrollTo + cleaning up utils + cleaning up globals 2016-07-19 10:21:09 -04:00
dominiclord
64858642ef Doing some cleaning up 2016-07-19 10:19:52 -04:00