|
1 | 1 | ## RELEASE NOTES |
2 | 2 |
|
| 3 | +### Version 2.3.0 - Feb 19, 2018 |
| 4 | + |
| 5 | +**Major Enhancements** |
| 6 | +- **Icons** - Font Awesome 5 is now included in Semantic UI **Thanks @hammy2899** [#6085]((https://github.com/Semantic-Org/Semantic-UI/issues/6085) |
| 7 | + |
| 8 | +- **Search** - Category search can now work with local search by adding a `category` property to any result and specifying `type: 'category'` |
| 9 | + |
| 10 | +```javascript |
| 11 | + var categoryContent = [ |
| 12 | + { category: 'South America', title: 'Brazil' }, |
| 13 | + { category: 'South America', title: 'Peru' }, |
| 14 | + { category: 'North America', title: 'Canada' }, |
| 15 | + { category: 'Asia', title: 'South Korea' }, |
| 16 | + { category: 'Asia', title: 'Japan' }, |
| 17 | + { category: 'Asia', title: 'China' }, |
| 18 | + { category: 'Europe', title: 'Denmark' }, |
| 19 | + { category: 'Europe', title: 'England' }, |
| 20 | + { category: 'Europe', title: 'France' }, |
| 21 | + { category: 'Europe', title: 'Germany' }, |
| 22 | + { category: 'Africa', title: 'Ethiopia' }, |
| 23 | + { category: 'Africa', title: 'Nigeria' }, |
| 24 | + { category: 'Africa', title: 'Zimbabwe' }, |
| 25 | + ]; |
| 26 | + $('.ui.search') |
| 27 | + .search({ |
| 28 | + type: 'category', |
| 29 | + source: categoryContent |
| 30 | + }) |
| 31 | + ; |
| 32 | +``` |
| 33 | + |
| 34 | +- **Popup** - Popup can now position elements correctly even when they have a different offset context than their activating element. Like in [this example](https://jsfiddle.net/g853mc03/). |
| 35 | + |
| 36 | +- **Popup** - Popup will now align the center of the arrow (not the edge of the popup) when it would be reasonable (up to 2x arrow's offset from edge). [See this explanation](http://oi66.tinypic.com/2zr2ckk.jpg) |
| 37 | + |
| 38 | +To preserve functionality `movePopup` default has remained as `true` (moving the popup to the same offset context), however now setting `movePopup: false` should now always position correctly. Be sure to use `movePopup: true` to avoid issues with `ui popup` inside `menu`, `input` or other places where it may inherit rules from its activating element or its context. |
| 39 | + |
| 40 | +- **Transition** - Adds new `glow` transition for highlighting an element on the page, and `zoom` animation for scaling elements without opacity tween. |
| 41 | + |
| 42 | +- **Modal** - Modal has been rewritten to use `flexbox`. No need to call `refresh()` to recalculate vertical centering. |
| 43 | + |
| 44 | +- **Modal** - Modals now have a setting `centered` which can be used to disable vertical centering. This can be useful for modals with content that changes dynamically to prevent content from jumping in position. |
| 45 | + |
| 46 | +**Minor Enhancements** |
| 47 | +- **Theming** - Added global variables for reassigning `normal` and `bold` font weights for custom font stacks. **Thanks @jaridmargolin** [#6167]((https://github.com/Semantic-Org/Semantic-UI/issues/6167) |
| 48 | +- **Search** - Category results now has `exact` setting matching dropdown for `fullTextSearch` preventing fuzzy search |
| 49 | +- **Search** - Category results will now responsively adjust `title` row if titles are long instead of forcing a title width |
| 50 | +- **Dimmer** - Dimmers now have centered content with a single wrapping `content` element. |
| 51 | +- **Modal** - You can now modify `closable` setting after init **Thanks @mdehoog** [#3396]((https://github.com/Semantic-Org/Semantic-UI/issues/3396) |
| 52 | +- **Accordion** - Added `onChanging` callback for accordion that occurs before animation in both directions **Thanks @GammeGames** [#5892](https://github.com/Semantic-Org/Semantic-UI/pull/5892) |
| 53 | + |
| 54 | +**Tiny Enhancements** |
| 55 | +- **Popup** - `arrowBackground` now inherits from `background` [#6059]((https://github.com/Semantic-Org/Semantic-UI/issues/6059) **Thanks @devsli** |
| 56 | +- **Popup** - Adds new variable `headerFontWeight` |
| 57 | +- **Search** - Search now has responsive styles for mobile to prevent results being large than page width. |
| 58 | + |
| 59 | +**Bugs** |
| 60 | +- **Modal** - Modal `autofocus` setting now checks to see if currently focused element is in modal, avoiding issues where focus could be set in `onVisible` or `onShow` |
| 61 | +- **Menu** - Fixes `big` and `huge` sizes being swapped in menu **Thanks @jeremy091** [#5902]((https://github.com/Semantic-Org/Semantic-UI/issues/5902) [#5899]((https://github.com/Semantic-Org/Semantic-UI/issues/5899) |
| 62 | +- **Table** - Fixes tr not having correct border on first row when using multiple `tbody` **Thanks @Mlukman** [#4458]((https://github.com/Semantic-Org/Semantic-UI/issues/4458) |
| 63 | +- **Popup** - Popup will now use `content` specified in settings before `title` attribute [#4614]((https://github.com/Semantic-Org/Semantic-UI/issues/4614) **Thanks @aaronbhansen** |
| 64 | +- **Form Validation** - Fixes bug where `on: 'change'` would still show validation prompts on `blur` when using `inline: true` [#4423]((https://github.com/Semantic-Org/Semantic-UI/issues/4423) **Thanks @avalanche1** |
| 65 | +- **Dimmer** - Fixes issue with `inverted dimmer` with `content` having wrong text color **Thanks @rijk** [#4631]((https://github.com/Semantic-Org/Semantic-UI/issues/4631) |
| 66 | +- **Images / Transition** - Fixed issue where `ui images` would show nested images with `transition hidden` as block (Fixes sequential img animation demo in docs) |
| 67 | + |
| 68 | +**Doc Updates** |
| 69 | +- **Icons** - Icon documentation now has a search that will copy the relevent icon html to clipboard |
| 70 | +- **Icons** - Icon documentation now lists publicly all icon aliases |
| 71 | + |
| 72 | +**Doc Bugs** |
| 73 | +- **UI Examples** - Fixe some improper html in UI examples included with repo #6127 **Thanks @perdian** |
| 74 | + |
3 | 75 | ### Version 2.2.14 - Jan 29, 2018 |
4 | 76 |
|
5 | 77 | **Critical Bugs** |
|
0 commit comments