├── .bowercc ├── .editorconfig ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── bower.json ├── css ├── barekit.css ├── barekit.css.map ├── barekit.scss ├── barekit.styl ├── sass │ ├── global │ │ ├── _functions.scss │ │ ├── _mixins.scss │ │ ├── _utility.scss │ │ └── _variables.scss │ ├── lib │ │ └── _normalize.scss │ └── module │ │ ├── _accordion.scss │ │ ├── _dropdown-nav.scss │ │ ├── _form.scss │ │ ├── _grid-extends.scss │ │ ├── _grid.scss │ │ ├── _modal.scss │ │ ├── _off-canvas.scss │ │ ├── _tabs.scss │ │ └── _toggle.scss └── stylus │ ├── global │ ├── _functions.styl │ ├── _mixins.styl │ ├── _utility.styl │ └── _variables.styl │ ├── lib │ └── _normalize.styl │ └── module │ ├── _accordion.styl │ ├── _dropdown-nav.styl │ ├── _form.styl │ ├── _grid-extends.styl │ ├── _grid.styl │ ├── _modal.styl │ ├── _off-canvas.styl │ ├── _tabs.styl │ └── _toggle.styl ├── example.html ├── gruntfile.js ├── gulpfile.js ├── js ├── barekit.js └── barekit.min.js ├── package.json ├── spec ├── index.html └── tests.js └── src ├── modules ├── accordion.js ├── core.js ├── dropdown-nav.js ├── modal.js ├── off-canvas.js ├── tabs.js └── toggle.js ├── prefix.js └── suffix.js /.bowercc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "bower_components" 3 | } -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | indent_style = space 7 | indent_size = 4 8 | end_of_line = lf 9 | charset = utf-8 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bower_components 2 | node_modules 3 | .sass-cache 4 | .DS_Store 5 | .idea -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | ## v0.7.0 3 | 4 | #### Bug Fixes 5 | 6 | * Added back in defaults to breakpoints to allow the overriding of them in a settings file ([906089e3](https://github.com/trevanhetzel/barekit/commit/906089e39a70d08081d36839bfdea385fe31c174)) 7 | * Added direct child selector to improve nesting in tabs ([71981377](https://github.com/trevanhetzel/barekit/commit/71981377c019288e92b41c0a5dd0785eabd199ef)) 8 | * Prevent default for non-absolute links in accordion ([b5417a2c](https://github.com/trevanhetzel/barekit/commit/b5417a2cfe0356324ea0180c54d0bcb402722e70)) 9 | * Added direct child trigger selector to trigger only true accordion "triggers" ([1b3a2dde](https://github.com/trevanhetzel/barekit/commit/1b3a2dde2fc2b7381838b9d35f6f8e7a80c4a8d3)) 10 | 11 | #### Features 12 | 13 | * Added Docco task ([eb883e59](https://github.com/trevanhetzel/barekit/commit/eb883e59a52bc7559a6f93ac038177690befd2a2)) 14 | 15 | #### Breaking Changes 16 | 17 | * A new default class of `df-` has been added to the grid. The `sm-` classes have been moved inside a media query, so using `sm-` as your default class will no longer kick in until the viewport has reached the value of the `$small` breakpoint. ([a2d2116b](https://github.com/trevanhetzel/barekit/commit/a2d2116b59fc1454b3feb9c050f818af29a5ed81)) 18 | 19 | 20 | ## v0.6.2 21 | 22 | #### Bug Fixes 23 | 24 | * Fix modal background issue ([0e3d60b1](https://github.com/trevanhetzel/barekit/commit/0e3d60b1085a237d2fc57ad4c06007a8d78e87e6)) 25 | * Change the default dropdown behavior to trigger on hover instead of click ([ed2e206a](https://github.com/trevanhetzel/barekit/commit/ed2e206aaca6c95816e799e67ab455ff5e71b7eb)) 26 | 27 | #### Features 28 | 29 | * Added QUnit (no tests have been written yet) ([c977f7d6](https://github.com/trevanhetzel/barekit/commit/c977f7d6116ae0e4b1ca0f7705200e492170b4ec)) 30 | 31 | #### Breaking Changes 32 | 33 | * JavaScript has been re-organized. Compiled JS is still in the `js` folder (along with a new unminified version), but source JS has moved to a `src` folder ([c977f7d6](https://github.com/trevanhetzel/barekit/commit/c977f7d6116ae0e4b1ca0f7705200e492170b4ec)) 34 | 35 | 36 | ## v0.6.1 37 | 38 | #### Bug Fixes 39 | 40 | * Fix to allow `.off-canvas-trigger-` child elements to trigger the off-canvas module. 41 | 42 | 43 | ## v0.6.0 44 | 45 | #### Bug Fixes 46 | 47 | * Tidied up checkboxes and radios to be formatted/positioned correctly by default ([d2aa4a34](https://github.com/trevanhetzel/barekit/commit/d2aa4a3472bd959b2d6fb211a05038dca2df31da)) 48 | * Fixed z-index issue with modals ([62fddc1f](https://github.com/trevanhetzel/barekit/commit/62fddc1f5c6d9318cb69b167e5c89166843e3665)) 49 | * Allow multiple modals on the same page ([607af9cd](https://github.com/trevanhetzel/barekit/commit/607af9cd49da3c1f3e1e774f12550c16d4f1ed24)) 50 | 51 | 52 | #### Features 53 | 54 | * Support for two off-canvas elements ([52a76560](https://github.com/trevanhetzel/barekit/commit/52a7656034e6d26328597ae77ac5831e3417e7cf)) 55 | * Added ability to input custom value to breakpoint mixin ([2372edc0](https://github.com/trevanhetzel/barekit/commit/2372edc07b9082bf7ef6c2a90f93e19ade26855f)) 56 | * Added `.editorconfig` file. ([26175e87](https://github.com/trevanhetzel/barekit/commit/26175e87d9ad1b2df8dbecdeb4e418fe27d4f73e)) 57 | * Toggle "triggers" now get an active class (`toggle-trigger-shown`) added when toggled. 58 | * Can now specify that a toggled element be hidden when clicking anywhere else on the page (new data attr: `closeOnClick`) ([56a12737](https://github.com/trevanhetzel/barekit/commit/56a127377bb08d2b83707b72e02ee2e63e446cb0)) 59 | 60 | 61 | #### Breaking Changes 62 | 63 | * **Grid class names have changed** ([6b3b0dba](https://github.com/trevanhetzel/barekit/commit/6b3b0dbafdeea83c5a6707d068273b5a6a799184)) 64 | 65 | Previously, BareKit was using some very generic selectors to select all elements that start with `sm`, `md` and `lg` and give them some box model properties (`float` and `padding`). This caused some trouble, so I decided to separate out those box model properties to their own new class: `has-gutter`. This way, you can still use classes like `sm-6` for widths, but aren't tied down to the padding and float if you don't want to be. 66 | 67 | So if you want to still use the "grid" (not just the width classes), a line that previously looked like this: 68 | 69 | ``` 70 |
I am the main content of the page that gets pushed over when the off-canvas is open. I also contain the off-canvas trigger.
94 |I am the main content of the page that gets pushed over when the off-canvas is open. I also contain the off-canvas trigger.
114 |