Permalink
Browse files

chore(release): 2.7

  • Loading branch information...
hammy2899 committed Dec 21, 2018
1 parent 1b71ef4 commit cb3026ed46714ef19b87938ea7bd884d1ab2d92d
Showing with 19,487 additions and 12,588 deletions.
  1. +66 −0 RELEASE-NOTES.md
  2. +16 −16 dist/components/accordion.css
  3. +6 −2 dist/components/accordion.js
  4. +2 −2 dist/components/accordion.min.css
  5. +11 −1 dist/components/accordion.min.js
  6. +6 −6 dist/components/ad.css
  7. +1 −1 dist/components/ad.min.css
  8. +10 −3 dist/components/api.js
  9. +11 −1 dist/components/api.min.js
  10. +7 −7 dist/components/breadcrumb.css
  11. +1 −1 dist/components/breadcrumb.min.css
  12. +2,281 −2,415 dist/components/button.css
  13. +2 −2 dist/components/button.min.css
  14. +1 −1 dist/components/calendar.css
  15. +26 −13 dist/components/calendar.js
  16. +1 −1 dist/components/calendar.min.css
  17. +11 −1 dist/components/calendar.min.js
  18. +103 −133 dist/components/card.css
  19. +1 −1 dist/components/card.min.css
  20. +23 −23 dist/components/checkbox.css
  21. +40 −3 dist/components/checkbox.js
  22. +1 −1 dist/components/checkbox.min.css
  23. +11 −1 dist/components/checkbox.min.js
  24. +26 −26 dist/components/comment.css
  25. +1 −1 dist/components/comment.min.css
  26. +1 −1 dist/components/container.css
  27. +1 −1 dist/components/container.min.css
  28. +32 −32 dist/components/dimmer.css
  29. +26 −6 dist/components/dimmer.js
  30. +2 −2 dist/components/dimmer.min.css
  31. +11 −1 dist/components/dimmer.min.js
  32. +10 −10 dist/components/divider.css
  33. +2 −2 dist/components/divider.min.css
  34. +128 −155 dist/components/dropdown.css
  35. +131 −48 dist/components/dropdown.js
  36. +2 −2 dist/components/dropdown.min.css
  37. +11 −1 dist/components/dropdown.min.js
  38. +13 −13 dist/components/embed.css
  39. +6 −2 dist/components/embed.js
  40. +1 −1 dist/components/embed.min.css
  41. +11 −1 dist/components/embed.min.js
  42. +27 −27 dist/components/feed.css
  43. +1 −1 dist/components/feed.min.css
  44. +81 −81 dist/components/flag.css
  45. +2 −2 dist/components/flag.min.css
  46. +59 −83 dist/components/form.css
  47. +25 −20 dist/components/form.js
  48. +2 −2 dist/components/form.min.css
  49. +11 −1 dist/components/form.min.js
  50. +110 −124 dist/components/grid.css
  51. +2 −2 dist/components/grid.min.css
  52. +178 −191 dist/components/header.css
  53. +2 −2 dist/components/header.min.css
  54. +71 −103 dist/components/icon.css
  55. +2 −2 dist/components/icon.min.css
  56. +8 −8 dist/components/image.css
  57. +1 −1 dist/components/image.min.css
  58. +61 −40 dist/components/input.css
  59. +2 −2 dist/components/input.min.css
  60. +54 −54 dist/components/item.css
  61. +2 −2 dist/components/item.min.css
  62. +1,087 −444 dist/components/label.css
  63. +2 −2 dist/components/label.min.css
  64. +69 −69 dist/components/list.css
  65. +2 −2 dist/components/list.min.css
  66. +476 −155 dist/components/loader.css
  67. +2 −2 dist/components/loader.min.css
  68. +261 −236 dist/components/menu.css
  69. +1 −1 dist/components/menu.min.css
  70. +155 −118 dist/components/message.css
  71. +2 −2 dist/components/message.min.css
  72. +50 −48 dist/components/modal.css
  73. +34 −18 dist/components/modal.js
  74. +2 −2 dist/components/modal.min.css
  75. +11 −1 dist/components/modal.min.js
  76. +15 −15 dist/components/nag.css
  77. +6 −2 dist/components/nag.js
  78. +1 −1 dist/components/nag.min.css
  79. +11 −1 dist/components/nag.min.js
  80. +20 −14 dist/components/placeholder.css
  81. +2 −2 dist/components/placeholder.min.css
  82. +50 −50 dist/components/popup.css
  83. +11 −6 dist/components/popup.js
  84. +2 −2 dist/components/popup.min.css
  85. +11 −1 dist/components/popup.min.js
  86. +30 −44 dist/components/progress.css
  87. +6 −2 dist/components/progress.js
  88. +2 −2 dist/components/progress.min.css
  89. +11 −1 dist/components/progress.min.js
  90. +26 −26 dist/components/rail.css
  91. +1 −1 dist/components/rail.min.css
  92. +137 −111 dist/components/rating.css
  93. +22 −7 dist/components/rating.js
  94. +2 −2 dist/components/rating.min.css
  95. +11 −1 dist/components/rating.min.js
  96. +1 −1 dist/components/reset.css
  97. +1 −1 dist/components/reset.min.css
  98. +8 −8 dist/components/reveal.css
  99. +1 −1 dist/components/reveal.min.css
  100. +24 −28 dist/components/search.css
  101. +44 −28 dist/components/search.js
  102. +2 −2 dist/components/search.min.css
  103. +11 −1 dist/components/search.min.js
  104. +180 −216 dist/components/segment.css
  105. +2 −2 dist/components/segment.min.css
  106. +6 −6 dist/components/shape.css
  107. +6 −2 dist/components/shape.js
  108. +1 −1 dist/components/shape.min.css
  109. +11 −1 dist/components/shape.min.js
  110. +29 −29 dist/components/sidebar.css
  111. +8 −4 dist/components/sidebar.js
  112. +1 −1 dist/components/sidebar.min.css
  113. +11 −1 dist/components/sidebar.min.js
  114. +11 −20 dist/components/site.css
  115. +7 −3 dist/components/site.js
  116. +2 −2 dist/components/site.min.css
  117. +11 −1 dist/components/site.min.js
  118. +768 −0 dist/components/slider.css
  119. +1,216 −0 dist/components/slider.js
  120. +1 −0 dist/components/slider.min.css
  121. +11 −0 dist/components/slider.min.js
  122. +6 −2 dist/components/state.js
  123. +11 −1 dist/components/state.min.js
  124. +138 −108 dist/components/statistic.css
  125. +2 −2 dist/components/statistic.min.css
  126. +34 −39 dist/components/step.css
  127. +2 −2 dist/components/step.min.css
  128. +3 −3 dist/components/sticky.css
  129. +6 −2 dist/components/sticky.js
  130. +1 −1 dist/components/sticky.min.css
  131. +11 −1 dist/components/sticky.min.js
  132. +10 −14 dist/components/tab.css
  133. +11 −4 dist/components/tab.js
  134. +2 −2 dist/components/tab.min.css
  135. +11 −1 dist/components/tab.min.js
  136. +332 −145 dist/components/table.css
  137. +2 −2 dist/components/table.min.css
  138. +114 −0 dist/components/text.css
  139. +9 −0 dist/components/text.min.css
  140. +27 −16 dist/components/toast.css
  141. +7 −3 dist/components/toast.js
  142. +2 −2 dist/components/toast.min.css
  143. +11 −1 dist/components/toast.min.js
  144. +1 −1 dist/components/transition.css
  145. +7 −3 dist/components/transition.js
  146. +1 −1 dist/components/transition.min.css
  147. +11 −1 dist/components/transition.min.js
  148. +7 −3 dist/components/visibility.js
  149. +11 −1 dist/components/visibility.min.js
  150. +8,260 −6,221 dist/semantic.css
  151. +1,689 −479 dist/semantic.js
  152. +85 −85 dist/semantic.min.css
  153. +2 −2 dist/semantic.min.js
  154. +1 −1 package-lock.json
  155. +1 −1 package.json
@@ -1,5 +1,71 @@
## RELEASE NOTES

### Version 2.7.0 - December 21, 2018

### Announcement
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)

**NOTES:**
- 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).
- 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.

**Major Enhancements**
- **Build** - Added support for gulp4 **Thanks [@ColinFrick](https://github.com/ColinFrick)** [#179](https://github.com/fomantic/Fomantic-UI/pull/179)
- **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)
- **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)

**Enhancements**
- **Slider** - Added ability to have smooth or stepped sliders **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
- **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)
- **Slider** - Added ability to have nonrestrictive steps **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
- **Slider** - Added ability to reverse sliders **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
- **Slider** - Added new size variations **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
- **Slider** - Added keyboard support **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
- **Slider** - Added basic and basic inverted variations **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
- **Slider** - Added vertical slider with all features **Thanks [@prudho](https://github.com/prudho)** [#290](https://github.com/fomantic/Fomantic-UI/pull/290)
- **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)
- **Loader** - Added double variation **Thanks [@lubber-de](https://github.com/lubber-de)** [#301](https://github.com/fomantic/Fomantic-UI/pull/301)
- **Loader** - Added elastic variation **Thanks [@lubber-de](https://github.com/lubber-de)** [#301](https://github.com/fomantic/Fomantic-UI/pull/301)
- **Loader** - Added dimmer support **Thanks [@lubber-de](https://github.com/lubber-de)** [#301](https://github.com/fomantic/Fomantic-UI/pull/301)
- **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)
- **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)
- **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)
- **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)
- **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)
- **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)
- **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)
- **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)
- **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)
- **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)

**Bugs**
- **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)
- **Global** - Improved LESS and CSS for linters **Thanks [@hammy2899](https://github.com/hammy2899)** [#292](https://github.com/fomantic/Fomantic-UI/pull/292)
- **Global** - Fixed some compiled CSS errors **Thanks [@prudho](https://github.com/prudho)** [#275](https://github.com/fomantic/Fomantic-UI/pull/275)
- **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)
- **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)
- **Dropdown** - Fixed issue with submenu positions **Thanks [@lubber-de](https://github.com/lubber-de)** [#194](https://github.com/fomantic/Fomantic-UI/issues/194)
- **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)
- **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)
- **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)
- **Modal** - Fixed top header border radius **Thanks [@lubber-de](https://github.com/lubber-de)** [#308](https://github.com/fomantic/Fomantic-UI/issues/308)
- **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)
- **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)
- **Checkbox** - Support onChange for cursor key navigation **Thanks [@lubber-de](https://github.com/lubber-de)** [#295](https://github.com/fomantic/Fomantic-UI/pull/295)
- **Visibility** - Fixed issue with sticky content having large placeholders **Thanks [@hammy2899](https://github.com/hammy2899)** [#296](https://github.com/fomantic/Fomantic-UI/issues/296)
- **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)
- **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)
- **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)
- **Popup** - Fixed correct usage for `addTouchEvents` **Thanks [@lubber-de](https://github.com/lubber-de)** [#278](https://github.com/fomantic/Fomantic-UI/pull/278)
- **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)
- **Table** - Fixed table wide vertical text alignment **Thanks [@lubber-de](https://github.com/lubber-de)** [#251](https://github.com/fomantic/Fomantic-UI/pull/251)
- **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)

**Security**
- **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)
- **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)
- **Build** - Removed `prompt-sui` which inturn removes `event-stream` **Thanks [@ColinFrick](https://github.com/ColinFrick)** [#309](https://github.com/fomantic/Fomantic-UI/pull/309)

### Version 2.6.4 - November 15, 2018

**Enhancements**
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.6.4 - Accordion
* # Semantic UI 2.7.0 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*
@@ -18,8 +18,8 @@
max-width: 100%;
}
.ui.accordion .accordion {
margin: 1em 0em 0em;
padding: 0em;
margin: 1em 0 0;
padding: 0;
}

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

/* Default Styling */
.ui.accordion .title:not(.ui) {
padding: 0.5em 0em;
padding: 0.5em 0;
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-size: 1em;
color: rgba(0, 0, 0, 0.87);
@@ -40,10 +40,10 @@
.ui.accordion:not(.styled) .title ~ .content:not(.ui),
.ui.accordion:not(.styled) .accordion .title ~ .content:not(.ui) {
margin: '';
padding: 0.5em 0em 1em;
padding: 0.5em 0 1em;
}
.ui.accordion:not(.styled) .title ~ .content:not(.ui):last-child {
padding-bottom: 0em;
padding-bottom: 0;
}

/* Arrow */
@@ -54,8 +54,8 @@
opacity: 1;
width: 1.25em;
height: 1em;
margin: 0em 0.25rem 0em 0rem;
padding: 0em;
margin: 0 0.25rem 0 0;
padding: 0;
font-size: 1em;
-webkit-transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
@@ -74,19 +74,19 @@
/* Menu */
.ui.accordion.menu .item .title {
display: block;
padding: 0em;
padding: 0;
}
.ui.accordion.menu .item .title > .dropdown.icon {
float: right;
margin: 0.21425em 0em 0em 1em;
margin: 0.21425em 0 0 1em;
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}

/* Header */
.ui.accordion .ui.header .dropdown.icon {
font-size: 1em;
margin: 0em 0.25rem 0em 0rem;
margin: 0 0.25rem 0 0;
}


@@ -121,12 +121,12 @@
.ui.styled.accordion .accordion {
border-radius: 0.28571429rem;
background: #FFFFFF;
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
-webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15);
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15);
}
.ui.styled.accordion .title,
.ui.styled.accordion .accordion .title {
margin: 0em;
margin: 0;
padding: 0.75em 1em;
color: rgba(0, 0, 0, 0.4);
font-weight: bold;
@@ -142,11 +142,11 @@
/* Content */
.ui.styled.accordion .content,
.ui.styled.accordion .accordion .content {
margin: 0em;
margin: 0;
padding: 0.5em 1em 1.5em;
}
.ui.styled.accordion .accordion .content {
padding: 0em;
margin: 0;
padding: 0.5em 1em 1.5em;
}

@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.6.4 - Accordion
* # Semantic UI 2.7.0 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*
@@ -12,6 +12,10 @@

'use strict';

$.isFunction = $.isFunction || function(obj) {
return typeof obj === "function" && typeof obj.nodeType !== "number";
};

window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof self != 'undefined' && self.Math == Math)
@@ -522,7 +526,7 @@ $.fn.accordion = function(parameters) {
else if(found !== undefined) {
response = found;
}
if($.isArray(returnedValue)) {
if(Array.isArray(returnedValue)) {
returnedValue.push(response);
}
else if(returnedValue !== undefined) {
Oops, something went wrong.

0 comments on commit cb3026e

Please sign in to comment.