You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+26-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
<aname="0.5.1"></a>
2
-
## v0.5.1 (In progress)
1
+
<aname="0.6.0"></a>
2
+
## v0.6.0
3
3
4
4
5
5
#### Bug Fixes
@@ -14,10 +14,28 @@
14
14
* Support for two off-canvas elements ([52a76560](https://github.com/a2labs/barekit/commit/52a7656034e6d26328597ae77ac5831e3417e7cf))
15
15
* Added ability to input custom value to breakpoint mixin ([2372edc0](https://github.com/a2labs/barekit/commit/2372edc07b9082bf7ef6c2a90f93e19ade26855f))
* Toggle "triggers" now get an active class (`toggle-trigger-shown`) added when toggled.
18
+
* Can now specify that a toggled element be hidden when clicking anywhere else on the page (new data attr: `closeOnClick`) ([56a12737](https://github.com/a2labs/barekit/commit/56a127377bb08d2b83707b72e02ee2e63e446cb0))
17
19
18
20
19
21
#### Breaking Changes
20
22
23
+
***Grid class names have changed** ([6b3b0dba](https://github.com/a2labs/barekit/commit/6b3b0dbafdeea83c5a6707d068273b5a6a799184))
24
+
25
+
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.
26
+
27
+
So if you want to still use the "grid" (not just the width classes), a line that previously looked like this:
28
+
29
+
```
30
+
<div class="sm-12 md-6 lg-1" style="background: #e1e1e1">1</div>
31
+
```
32
+
33
+
will now need to look like this:
34
+
35
+
```
36
+
<div class="sm-12 md-6 lg-1 has-gutter" style="background: #e1e1e1">1</div>
37
+
```
38
+
21
39
***Off-canvas class names have changed** ([52a76560](https://github.com/a2labs/barekit/commit/52a7656034e6d26328597ae77ac5831e3417e7cf))
22
40
23
41
In order to support two off-canvas elements instead of one, the class names needed to set up off-canvas have changed.
@@ -57,4 +75,9 @@ Now needs to look like this:
57
75
</div>
58
76
```
59
77
60
-
`right-align` and `left-align` classes have been removed from the `.off-canvas-contain` element and `-right`/`-left` have been appended to the `.off-canvas` and `.off-canvas-trigger` elements.
78
+
`right-align` and `left-align` classes have been removed from the `.off-canvas-contain` element and `-right`/`-left` have been appended to the `.off-canvas` and `.off-canvas-trigger` elements.
0 commit comments