Skip to content

Commit cb3026e

Browse files
author
Sean Hamilton
committed
chore(release): 2.7
1 parent 1b71ef4 commit cb3026e

File tree

155 files changed

+19487
-12588
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+19487
-12588
lines changed

RELEASE-NOTES.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,71 @@
11
## RELEASE NOTES
22

3+
### Version 2.7.0 - December 21, 2018
4+
5+
### Announcement
6+
With 2019 around the corner and a lot of discussion we (core contributors) have agreed to move our core focus to FUI v3.0. This doesn't mean we won't be working on 2.x but means releases may be slowed down a little due to more work being put into v3.0. You can read more about the future of FUI and v3.0 [here](https://github.com/fomantic/Fomantic-UI/issues/319)
7+
8+
**NOTES:**
9+
- With this release we removed the dependency of `prompt-sui` which removes the child dependency of `event-stream` this ensures that the library won't be downloading any (now deprecated) malicious code. If you want to learn more about the recent security issues with `event-stream` please read [this issue](https://github.com/fomantic/Fomantic-UI/issues/268).
10+
- In this release we had a big focus on removing a lot of the `!important` usage which inturn produced lots of issues. Now with a big help from our core contributors we have removed ~85% of the usage and reduced the complexity of a lot of the color code base which makes it easier to make changes and helps reduce the size of the general code base aswell as removing duplicate code.
11+
12+
**Major Enhancements**
13+
- **Build** - Added support for gulp4 **Thanks [@ColinFrick](https://github.com/ColinFrick)** [#179](https://github.com/fomantic/Fomantic-UI/pull/179)
14+
- **Slider** - Previously known as range the slider component has been renamed **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
15+
- **Global** - Removed deprecated jQuery functions and replaced them with custom ones **Thanks [@lubber-de](https://github.com/lubber-de)** [#282](https://github.com/fomantic/Fomantic-UI/pull/282)
16+
17+
**Enhancements**
18+
- **Slider** - Added ability to have smooth or stepped sliders **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
19+
- **Slider** - Added ability to label sliders which can be smooth or stepped at the label **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
20+
- **Slider** - Added ability to have nonrestrictive steps **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
21+
- **Slider** - Added ability to reverse sliders **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
22+
- **Slider** - Added new size variations **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
23+
- **Slider** - Added keyboard support **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
24+
- **Slider** - Added basic and basic inverted variations **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
25+
- **Slider** - Added vertical slider with all features **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
26+
- **Slider** - Added a range slider variation (yes an actual range slider) **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
27+
- **Loader** - Added double variation **Thanks [@lubber-de](https://github.com/lubber-de)** [#301](https://github.com/fomantic/Fomantic-UI/pull/301)
28+
- **Loader** - Added elastic variation **Thanks [@lubber-de](https://github.com/lubber-de)** [#301](https://github.com/fomantic/Fomantic-UI/pull/301)
29+
- **Loader** - Added dimmer support **Thanks [@lubber-de](https://github.com/lubber-de)** [#301](https://github.com/fomantic/Fomantic-UI/pull/301)
30+
- **Loader** - Loader will show same color as colored segments when inside loading segments **Thanks [@lubber-de](https://github.com/lubber-de)** [#301](https://github.com/fomantic/Fomantic-UI/pull/301)
31+
- **Rating** - Added ability to change the icon to any supported icon and change to any supported color **Thanks [@lubber-de](https://github.com/lubber-de)** [#303](https://github.com/fomantic/Fomantic-UI/pull/303)
32+
- **Input** - Add support for error label state with labeled inputs **Thanks [@prudho](https://github.com/prudho)** [#257](https://github.com/fomantic/Fomantic-UI/issues/257)
33+
- **TextArea** - Added support for corner labels and icons **Thanks [@lubber-de](https://github.com/lubber-de)** [#276](https://github.com/fomantic/Fomantic-UI/pull/276)
34+
- **Search** - Added support for API results to be an array instead of needing be wrapped **Thanks [@lubber-de](https://github.com/lubber-de)** [#263](https://github.com/fomantic/Fomantic-UI/issues/263)
35+
- **Label** - Added support for inverted, basic grouping and basic tag labels **Thanks [@lubber-de](https://github.com/lubber-de)** [#116](https://github.com/fomantic/Fomantic-UI/issues/116)
36+
- **Toast** - Correct the colors and make them more consistant with other components **Thanks [@lubber-de](https://github.com/lubber-de)** [#197](https://github.com/fomantic/Fomantic-UI/pull/197)
37+
- **Table** - Added ability to use all global colors in table cells **Thanks [@lubber-de](https://github.com/lubber-de)** [#261](https://github.com/fomantic/Fomantic-UI/pull/261)
38+
- **Text** - Added ability to add color to specific text **Thanks [@lubber-de](https://github.com/lubber-de)** [#261](https://github.com/fomantic/Fomantic-UI/pull/261)
39+
- **Calendar** - Added ability to add time gaps on time selector **Thanks [@prudho](https://github.com/prudho)** [#198](https://github.com/fomantic/Fomantic-UI/pull/198)
40+
41+
**Bugs**
42+
- **Build** - Fixed bug which made gulp hang on `gulp build` when using newer versions of node **Thanks [@ColinFrick](https://github.com/ColinFrick)** [#307](https://github.com/fomantic/Fomantic-UI/issues/307)
43+
- **Global** - Improved LESS and CSS for linters **Thanks [@hammy2899](https://github.com/hammy2899)** [#292](https://github.com/fomantic/Fomantic-UI/pull/292)
44+
- **Global** - Fixed some compiled CSS errors **Thanks [@prudho](https://github.com/prudho)** [#275](https://github.com/fomantic/Fomantic-UI/pull/275)
45+
- **Dropdown** - Fixed issue with not showing "no results" when filterRemoteData was false or response was empty **Thanks [@lubber-de](https://github.com/lubber-de)** [#300](https://github.com/fomantic/Fomantic-UI/pull/300)
46+
- **Dropdown** - Fixed issue with preselected values being ignored when data value fields had different names **Thanks [@lubber-de](https://github.com/lubber-de)** [#285](https://github.com/fomantic/Fomantic-UI/pull/285)
47+
- **Dropdown** - Fixed issue with submenu positions **Thanks [@lubber-de](https://github.com/lubber-de)** [#194](https://github.com/fomantic/Fomantic-UI/issues/194)
48+
- **Dropdown** - Fixed issue which stopped already selected items from filtering from a remote API **Thanks [@lubber-de](https://github.com/lubber-de)** [#287](https://github.com/fomantic/Fomantic-UI/pull/287)
49+
- **Dropdown** - Fixed clearable dropdown initialized with HTML select always showing the clear icon **Thanks [@lubber-de](https://github.com/lubber-de)** [#271](https://github.com/fomantic/Fomantic-UI/issues/271)
50+
- **Dropdown** - Fixed issue with enter key and multiple variation dropdowns with `allowAdditions` **Thanks [@lubber-de](https://github.com/lubber-de)** [#250](https://github.com/fomantic/Fomantic-UI/pull/250)
51+
- **Modal** - Fixed top header border radius **Thanks [@lubber-de](https://github.com/lubber-de)** [#308](https://github.com/fomantic/Fomantic-UI/issues/308)
52+
- **Modal** - Fixed issue with modal dimnmers closing when clicked even when `onHide` returned `false` when `allowMultiple` was `true` **Thanks [@lubber-de](https://github.com/lubber-de)** [#284](https://github.com/fomantic/Fomantic-UI/issues/284)
53+
- **Modal** - Fixed touch scrolling issue for dropdown, focused input and content scrolling **Thanks [@lubber-de](https://github.com/lubber-de)** [#273](https://github.com/fomantic/Fomantic-UI/pull/273)
54+
- **Checkbox** - Support onChange for cursor key navigation **Thanks [@lubber-de](https://github.com/lubber-de)** [#295](https://github.com/fomantic/Fomantic-UI/pull/295)
55+
- **Visibility** - Fixed issue with sticky content having large placeholders **Thanks [@hammy2899](https://github.com/hammy2899)** [#296](https://github.com/fomantic/Fomantic-UI/issues/296)
56+
- **Form** - Fixed issue causing validation to break when id's had colon's in them **Thanks [@lubber-de](https://github.com/lubber-de)** [#286](https://github.com/fomantic/Fomantic-UI/pull/286)
57+
- **Message** - Fixed issue causing compact icon variation from having a 100% width **Thanks [@lubber-de](https://github.com/lubber-de)** [#279](https://github.com/fomantic/Fomantic-UI/pull/279)
58+
- **List** - Fixed issue with list conflicting with list icons **Thanks [@lubber-de](https://github.com/lubber-de)** [#281](https://github.com/fomantic/Fomantic-UI/pull/281)
59+
- **Popup** - Fixed correct usage for `addTouchEvents` **Thanks [@lubber-de](https://github.com/lubber-de)** [#278](https://github.com/fomantic/Fomantic-UI/pull/278)
60+
- **Table** - Fixed issue with images in table cells not working **Thanks [@lubber-de](https://github.com/lubber-de)** [#227](https://github.com/fomantic/Fomantic-UI/issues/227)
61+
- **Table** - Fixed table wide vertical text alignment **Thanks [@lubber-de](https://github.com/lubber-de)** [#251](https://github.com/fomantic/Fomantic-UI/pull/251)
62+
- **Placeholder** - Fixed issue with `image icon` getting wrong height applied **Thanks [@lubber-de](https://github.com/lubber-de)** [#248](https://github.com/fomantic/Fomantic-UI/pull/248)
63+
64+
**Security**
65+
- **Search** - Added more support for escaping insecure characters, handling untrusted data and preventing JS execution **Thanks [@lubber-de](https://github.com/lubber-de)** [#298](https://github.com/fomantic/Fomantic-UI/pull/298)
66+
- **Dropdown** - Added more support for escaping insecure characters, handling untrusted data and preventing JS execution **Thanks [@lubber-de](https://github.com/lubber-de)** [#298](https://github.com/fomantic/Fomantic-UI/pull/298)
67+
- **Build** - Removed `prompt-sui` which inturn removes `event-stream` **Thanks [@ColinFrick](https://github.com/ColinFrick)** [#309](https://github.com/fomantic/Fomantic-UI/pull/309)
68+
369
### Version 2.6.4 - November 15, 2018
470

571
**Enhancements**

dist/components/accordion.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI 2.6.4 - Accordion
2+
* # Semantic UI 2.7.0 - Accordion
33
* http://github.com/semantic-org/semantic-ui/
44
*
55
*
@@ -18,8 +18,8 @@
1818
max-width: 100%;
1919
}
2020
.ui.accordion .accordion {
21-
margin: 1em 0em 0em;
22-
padding: 0em;
21+
margin: 1em 0 0;
22+
padding: 0;
2323
}
2424

2525
/* Title */
@@ -30,7 +30,7 @@
3030

3131
/* Default Styling */
3232
.ui.accordion .title:not(.ui) {
33-
padding: 0.5em 0em;
33+
padding: 0.5em 0;
3434
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
3535
font-size: 1em;
3636
color: rgba(0, 0, 0, 0.87);
@@ -40,10 +40,10 @@
4040
.ui.accordion:not(.styled) .title ~ .content:not(.ui),
4141
.ui.accordion:not(.styled) .accordion .title ~ .content:not(.ui) {
4242
margin: '';
43-
padding: 0.5em 0em 1em;
43+
padding: 0.5em 0 1em;
4444
}
4545
.ui.accordion:not(.styled) .title ~ .content:not(.ui):last-child {
46-
padding-bottom: 0em;
46+
padding-bottom: 0;
4747
}
4848

4949
/* Arrow */
@@ -54,8 +54,8 @@
5454
opacity: 1;
5555
width: 1.25em;
5656
height: 1em;
57-
margin: 0em 0.25rem 0em 0rem;
58-
padding: 0em;
57+
margin: 0 0.25rem 0 0;
58+
padding: 0;
5959
font-size: 1em;
6060
-webkit-transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
6161
transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
@@ -74,19 +74,19 @@
7474
/* Menu */
7575
.ui.accordion.menu .item .title {
7676
display: block;
77-
padding: 0em;
77+
padding: 0;
7878
}
7979
.ui.accordion.menu .item .title > .dropdown.icon {
8080
float: right;
81-
margin: 0.21425em 0em 0em 1em;
81+
margin: 0.21425em 0 0 1em;
8282
-webkit-transform: rotate(180deg);
8383
transform: rotate(180deg);
8484
}
8585

8686
/* Header */
8787
.ui.accordion .ui.header .dropdown.icon {
8888
font-size: 1em;
89-
margin: 0em 0.25rem 0em 0rem;
89+
margin: 0 0.25rem 0 0;
9090
}
9191

9292

@@ -121,12 +121,12 @@
121121
.ui.styled.accordion .accordion {
122122
border-radius: 0.28571429rem;
123123
background: #FFFFFF;
124-
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
125-
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
124+
-webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15);
125+
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15);
126126
}
127127
.ui.styled.accordion .title,
128128
.ui.styled.accordion .accordion .title {
129-
margin: 0em;
129+
margin: 0;
130130
padding: 0.75em 1em;
131131
color: rgba(0, 0, 0, 0.4);
132132
font-weight: bold;
@@ -142,11 +142,11 @@
142142
/* Content */
143143
.ui.styled.accordion .content,
144144
.ui.styled.accordion .accordion .content {
145-
margin: 0em;
145+
margin: 0;
146146
padding: 0.5em 1em 1.5em;
147147
}
148148
.ui.styled.accordion .accordion .content {
149-
padding: 0em;
149+
margin: 0;
150150
padding: 0.5em 1em 1.5em;
151151
}
152152

dist/components/accordion.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI 2.6.4 - Accordion
2+
* # Semantic UI 2.7.0 - Accordion
33
* http://github.com/semantic-org/semantic-ui/
44
*
55
*
@@ -12,6 +12,10 @@
1212

1313
'use strict';
1414

15+
$.isFunction = $.isFunction || function(obj) {
16+
return typeof obj === "function" && typeof obj.nodeType !== "number";
17+
};
18+
1519
window = (typeof window != 'undefined' && window.Math == Math)
1620
? window
1721
: (typeof self != 'undefined' && self.Math == Math)
@@ -522,7 +526,7 @@ $.fn.accordion = function(parameters) {
522526
else if(found !== undefined) {
523527
response = found;
524528
}
525-
if($.isArray(returnedValue)) {
529+
if(Array.isArray(returnedValue)) {
526530
returnedValue.push(response);
527531
}
528532
else if(returnedValue !== undefined) {

0 commit comments

Comments
 (0)