|
1 | 1 | ## RELEASE NOTES |
2 | 2 |
|
| 3 | +### Version 2.3.0 - Feb 20, 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](https://github.com/Semantic-Org/Semantic-UI/issues/6127) **Thanks @perdian** |
| 74 | +- **Admin** - Fixes bug in admin script that caused leaked global vars **Thanks @esbena** [#6136](https://github.com/Semantic-Org/Semantic-UI/issues/6136) |
| 75 | + |
| 76 | +### Version 2.2.14 - Jan 29, 2018 |
| 77 | + |
| 78 | +**Critical Bugs** |
| 79 | +- **Form** - Fixes issue where radio checkbox would not return correct value from `get values` **Thanks @tincdev** [#5713](https://github.com/Semantic-Org/Semantic-UI/issues/5713) [#6043](https://github.com/Semantic-Org/Semantic-UI/issues/6043) |
| 80 | +- **Modal** - Fixes issue where an oversized modal would appear behind an existing modal when using `allowMultiple: true` and a second modal that is larger than the screen height. [#2423](https://github.com/Semantic-Org/Semantic-UI/issues/2423) |
| 81 | + |
| 82 | +**Enhancements** |
| 83 | +- **Button** - YouTube's red color now matches their current brand guidelines **Thanks @hammy2899** [#6110](https://github.com/Semantic-Org/Semantic-UI/issues/6110) |
| 84 | +- **Flag** - Adds missing flag for England **Thanks @zyzniewski** [#5944](https://github.com/Semantic-Org/Semantic-UI/issues/5944) |
| 85 | +- **Reveal** - `ribbon label` can now work with `reveal` [#5681](https://github.com/Semantic-Org/Semantic-UI/issues/5681) |
| 86 | +- **Dropdown** - Added new setting `ignoreCase` (defaults to false) that will prevent values from being added that match existing values (case insensitive). This is particularly useful when using allowAdditions for tagging to not allow case insensitive matches. |
| 87 | +- **Site** - Site theme now includes `@customScrollbarHeight` and specifies a default horizontal scrollbar height **Thanks @jayphelps** [#5749](https://github.com/Semantic-Org/Semantic-UI/issues/5749) |
| 88 | + |
| 89 | +**Bugs** |
| 90 | +- **Checkbox** - Fixes issue where `toggle checkbox` box shadow was missing **Thanks @banandrew** [#5096](https://github.com/Semantic-Org/Semantic-UI/issues/5096) |
| 91 | +- **Dropdown** - Fixed issue where dropdowns could incorrectly open upward and leftward opening when using `context` setting due to an incorrect offset calculation. **Thanks @dannyBies** [#5974](https://github.com/Semantic-Org/Semantic-UI/issues/5974) [#5366](https://github.com/Semantic-Org/Semantic-UI/issues/5366) |
| 92 | +- **Form Validation** - Fixed issue where default prompts for `contain` and `doesntContain` rules were swapped. **Thanks @xiongyu-git** [#5530](https://github.com/Semantic-Org/Semantic-UI/issues/5530) |
| 93 | +- **Visibility** - Fixes issue where `bottomPassed` and `topPassed` would not fire under some conditions |
| 94 | +- **Dropdown** - Fixes issue where dropdowns might accidentally animate closed two times when quickly tabbing through fields |
| 95 | +- **Popup** - Fixed an error which could cause popup not to move to right offset context when using a different target setting. |
| 96 | +- **Dropdown** - Fixed issue where using `ui input` in a dropdown menu could cause the input to be too wide in some cases **Thanks @banandrew** [#5085](https://github.com/Semantic-Org/Semantic-UI/issues/5085) |
| 97 | +- **Menu / Popup** - Fixed issue where `inverted menu` rules would cause popup inside a menu to have incorrect link styling in `link list` **Thanks @banandrew** [#5585](https://github.com/Semantic-Org/Semantic-UI/issues/5585) [#5603](https://github.com/Semantic-Org/Semantic-UI/issues/5603) |
| 98 | +- **CSS Build** - Fixed issue where package `gulp-clone` was only set to use > `1.0` causing issues with gulp builds due to upstream error [#6067](https://github.com/Semantic-Org/Semantic-UI/issues/6067) |
| 99 | + |
3 | 100 | ### Version 2.2.13 - Aug 07, 2017 |
4 | 101 |
|
5 | 102 | **Hotfix** (2) |
6 | 103 | - **Install** - Some interactive install script issues may be fixed. Forked `gulp-prompt` plugin to allow for updated `inquirer` version |
7 | | -- **Build Tools** - Fixes typo causing fix for build tools to fail [#5391](https://github.com/Semantic-Org/Semantic-UI/issues/5391) |
| 104 | +- **Build Tools** - Fixes typo causing fix for build tools to fail [#5391](https://github.com/Semantic-Org/Semantic-UI/issues/5391) |
8 | 105 |
|
9 | 106 | ### Version 2.2.12 - Aug 07, 2017 |
10 | 107 |
|
|
0 commit comments