Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.7 Release #320

Merged
merged 53 commits into from
Dec 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
43de5c6
fix(placeholder): Respect a possible 'image icon' not occupying the s…
lubber-de Nov 15, 2018
3393191
fix(dropdown): stop event on enterkey and multiple allowadditions to …
lubber-de Nov 15, 2018
86e88af
fix(table): thead and tbody missed alignment inheritance
lubber-de Nov 15, 2018
4dcf070
fix(table): restore default vertical alignment
lubber-de Nov 15, 2018
e09dae7
style(readme): improve consistency
Nov 16, 2018
06ba456
fix(placeholder): respect a possible 'image icon' not occupying the s…
Nov 16, 2018
52d7502
fix(dropdown): suppress events on enter key with multiple allowAdditions
Nov 16, 2018
28c557a
fix(table): table wide vertical text alignment
Nov 16, 2018
8464d20
style(readme): improve consistency
Nov 16, 2018
a83a7d4
build: update to gulp4
ColinFrick Nov 16, 2018
9516519
fix(table): images in tables did not display properly
lubber-de Nov 19, 2018
ab2dfab
feat(toast): changed title class to header
lubber-de Nov 19, 2018
58ac7e7
feat(toast): use the same color on every inverted toast
lubber-de Nov 19, 2018
3af89df
fix(placeholder): append .loadUIOverrides() to the bottom
ColinFrick Nov 21, 2018
3df1d57
feat(label): add inverted variant, basic grouping and basic tag
lubber-de Nov 27, 2018
f25f32e
feat(search): wrap result into object when original result is an array
lubber-de Nov 28, 2018
79f24a9
fix(security): changed event-stream version
Nov 28, 2018
4f34d88
feat(input): add red border around `error labeled input`
prudho Nov 28, 2018
652c99d
fix(dropdown): fix select always showing remove icon
lubber-de Dec 3, 2018
10bd528
fix(popup): fix correct usage for addTouchEvents=false
lubber-de Dec 3, 2018
2b2fd30
fix(list): make sure list settings are not applied to any "list icon"
lubber-de Dec 3, 2018
f7c0229
fix(modal): touch scrolling (dropdown, content, focussed input) fixed
lubber-de Dec 3, 2018
41c4d3d
feat(input,textarea): support corner label and icon for textarea
lubber-de Dec 3, 2018
536a5c1
fix(message): fixed compact icon message width
lubber-de Dec 3, 2018
f979cfb
fix(dropdown): filter already selected items when using remote api
lubber-de Dec 5, 2018
9c0900c
fix(form, dropdown): formvalidation broke when id had colon in it
lubber-de Dec 5, 2018
a6e303f
fix(dropdown): fixes submenu positioning
lubber-de Dec 5, 2018
501b61c
fix(dropdown): preselected values are ignored when data has individua…
lubber-de Dec 5, 2018
d84fb23
fix(modal): dimmer click closed modal when allowMultiple=true even if…
lubber-de Dec 6, 2018
ee4b02c
refactor: remove deprecated jquery functions
lubber-de Dec 7, 2018
991a195
style: fix some css errors
prudho Dec 7, 2018
fba5c8c
fix(visibility): rename placeholder class to constraint
Dec 11, 2018
426d6bd
feat(api): add ability to handle array responses in onResponse handler
lubber-de Dec 12, 2018
0000ce9
security: prevent JS execution from manual entries or untrusted remot…
lubber-de Dec 13, 2018
0572fa9
fix(checkbox): support onChange for cursor keynav
lubber-de Dec 13, 2018
26b3875
fix(dropdown): filter preselected entries from #287 was not working f…
lubber-de Dec 13, 2018
9a80898
build(travis): fix package-lock sha512 checksum error
prudho Dec 17, 2018
574830e
fix(modal): fix top border radius when allowMultiple is true
lubber-de Dec 17, 2018
67f3b70
feat(rating): add individual icons and colors instead of fixed star &…
lubber-de Dec 17, 2018
68b1d7a
fix(dropdown): show "no results" when filterRemoteData is false and r…
lubber-de Dec 17, 2018
8914e0b
style: remove trailing CSS unit values & duplicate properties
Dec 18, 2018
2438edb
build(gulp): hangs on 'create install files'
ColinFrick Dec 18, 2018
fd909d0
docs(readme): add package quality badge & change jsDelivr to rounded …
lubber-de Dec 18, 2018
d466262
refactor(slider): turn range into slider and add new features
prudho Dec 20, 2018
9d5c4f1
feat(loader): add new variants, module support and refactor colors
lubber-de Dec 20, 2018
68b7b00
docs(issue template): remove old template
Dec 21, 2018
6e4994d
feat(colors): add central dynamic color map for every component
lubber-de Dec 21, 2018
2d69ae2
fix(text): add text component to gulp tasks
Dec 21, 2018
1b71ef4
feat(calendar): add timegap setting to expand time selector
Dec 21, 2018
cb3026e
chore(release): 2.7
Dec 21, 2018
112f7d5
fix(menu, loader): hotfixes for 2.7
lubber-de Dec 21, 2018
54f3ea6
chore(release): update dist files
Dec 21, 2018
875ef40
docs(release notes): add gulp4 upgrade notice
ColinFrick Dec 21, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

33 changes: 16 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
![Fomantic Logo](http://fomantic-ui.com/images/logo.png#128)

<p align="center">
<img src="http://fomantic-ui.com/images/logo.png#128">
</p>
<h1 align="center">Fomantic UI</h1>
<h4 align="center">A community fork of the popular Semantic-UI framework</h4>
# Fomantic UI
A community fork of the popular Semantic-UI framework

<p align="center">
<a href="https://discord.gg/YChxjJ3"><img src="https://img.shields.io/discord/453127116427493376.svg?label=Discord"></a>
<a href="https://www.npmjs.com/package/fomantic-ui"><img src="https://img.shields.io/npm/dw/fomantic-ui.svg"></a>
<a href="https://www.npmjs.com/package/fomantic-ui"><img src="https://img.shields.io/npm/v/fomantic-ui.svg"></a>
<a href="https://github.com/fomantic/Fomantic-UI/commits/master"><img src="https://img.shields.io/github/last-commit/hammy2899/fomantic-ui.svg"></a>
</p>
[![Discord Server](https://img.shields.io/discord/453127116427493376.svg?label=Discord)](https://discord.gg/YChxjJ3)
[![npm downloads](https://img.shields.io/npm/dw/fomantic-ui.svg?label=npm%20downloads)](https://www.npmjs.com/package/fomantic-ui)
[![npm version](https://img.shields.io/npm/v/fomantic-ui.svg)](https://www.npmjs.com/package/fomantic-ui)
[![last commit](https://img.shields.io/github/last-commit/fomantic/fomantic-ui.svg)](https://github.com/fomantic/Fomantic-UI/commits/master)
[![jsdelivr](https://data.jsdelivr.com/v1/package/npm/fomantic-ui/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fomantic-ui)
[![Package Quality](https://npm.packagequality.com/shield/fomantic-ui.svg)](https://packagequality.com/#?package=fomantic-ui)
---

*NOTE:* Fomantic was created to continue active development of Semantic-UI and has the intent to be merged back into the master repository once active development can restart. For more info please read the following issues https://github.com/Semantic-Org/Semantic-UI/issues/6109 https://github.com/Semantic-Org/Semantic-UI/issues/6413

Fomantic allows developers to build beautiful websites fast, with **concise HTML**, **intuitive javascript**, and **simplified debugging**, helping make front-end development a delightful experience. Fomantic is responsively designed allowing your website to scale on multiple devices.

## :satellite: Installation
## 📡 Installation

```bash
$ npm install fomantic-ui --save
Expand All @@ -27,7 +26,7 @@ Fomantic UI includes an interactive installer to help setup your project.
* For more details on setup visit our [getting started guide](http://fomantic-ui.com/introduction/getting-started.html).
* To learn more about theming please read our [theming guide](http://fomantic-ui.com/usage/theming.html)

### :computer: Browser Support
### 💻 Browser Support

* Last 2 Versions FF, Chrome, Safari Mac
* IE 11+
Expand All @@ -37,20 +36,20 @@ Fomantic UI includes an interactive installer to help setup your project.

Although some components will work in IE9, [grids](http://semantic-ui.com/collections/grid.html) and other [flexbox](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes) components are not supported by IE9 and may not appear correctly.

## :speech_balloon: Community
## 💬 Community

### :bulb: Getting Help
### 💡 Getting Help

If you have a usage question please **do not post** post it to GitHub Issues. You can ask for usage help via our [Discord](https://discord.gg/YChxjJ3) server.
Please only create Github issues for bug's and feature requests or any other related issue.

### :bug: Submitting Bugs and Enhancements
### 🐛 Submitting Bugs and Enhancements
[GitHub Issues](https://github.com/fomantic/Fomantic-UI/issues) is for suggesting enhancements and reporting bugs. Before submiting a bug make sure you do the following:
* Check to see if the issue has already been raised.
* [Fork this boilerplate JSFiddle](https://jsfiddle.net/31d6y7mn) to create a test case for your bug. If a bug is apparent in the docs, that's ok as a test case, just make it clear exactly how to reproduce the issue. Only bugs that include a test case can be triaged.
* If submitting an enhancement try and create it in the [JSFiddle](https://jsfiddle.net/31d6y7mn) if not it's fine but explain clearly what you want.

### :memo: Pull Requests
### 📝 Pull Requests

Before creating a pull request be sure to read the [contributing](CONTRIBUTING.md) guide, this is where we explain everything you need to know about contributing to Fomantic-UI.

Expand Down
74 changes: 74 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,79 @@
## 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.

**UPGRADE NOTES:**
Gulp 4.0 introduced a new syntax to define tasks, that's why we had to introduce some changes to our gulpfile.js.

The new gulpfile.js can be found under `tasks\config\npm\gulpfile.js`. If you haven't changed the generated gulpfile.js in your fomantic destination folder you can just replace it with the new one. Otherwise you have to adopt the changes introduced in the file yourself.

For example if your fomantic destination directory is `semantic`:
- semantic\tasks\config\npm\gulpfile.js => semantic\gulpfile.js

**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**
Expand Down
32 changes: 16 additions & 16 deletions dist/components/accordion.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.6.4 - Accordion
* # Semantic UI 2.7.0 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -18,8 +18,8 @@
max-width: 100%;
}
.ui.accordion .accordion {
margin: 1em 0em 0em;
padding: 0em;
margin: 1em 0 0;
padding: 0;
}

/* Title */
Expand All @@ -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);
Expand All @@ -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 */
Expand All @@ -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;
Expand All @@ -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;
}


Expand Down Expand Up @@ -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;
Expand All @@ -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;
}

Expand Down
8 changes: 6 additions & 2 deletions dist/components/accordion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.6.4 - Accordion
* # Semantic UI 2.7.0 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -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)
Expand Down Expand Up @@ -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) {
Expand Down
Loading