semantic-ui-sass 2.1.8.0 → 2.2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/app/assets/javascripts/semantic-ui.js +21465 -24
- data/app/assets/javascripts/semantic-ui/accordion.js +20 -6
- data/app/assets/javascripts/semantic-ui/api.js +41 -16
- data/app/assets/javascripts/semantic-ui/checkbox.js +31 -9
- data/app/assets/javascripts/semantic-ui/colorize.js +233 -227
- data/app/assets/javascripts/semantic-ui/dimmer.js +27 -9
- data/app/assets/javascripts/semantic-ui/dropdown.js +485 -207
- data/app/assets/javascripts/semantic-ui/embed.js +50 -13
- data/app/assets/javascripts/semantic-ui/form.js +58 -23
- data/app/assets/javascripts/semantic-ui/modal.js +28 -13
- data/app/assets/javascripts/semantic-ui/nag.js +28 -7
- data/app/assets/javascripts/semantic-ui/popup.js +136 -76
- data/app/assets/javascripts/semantic-ui/progress.js +177 -62
- data/app/assets/javascripts/semantic-ui/rating.js +41 -8
- data/app/assets/javascripts/semantic-ui/search.js +109 -56
- data/app/assets/javascripts/semantic-ui/shape.js +52 -19
- data/app/assets/javascripts/semantic-ui/sidebar.js +21 -7
- data/app/assets/javascripts/semantic-ui/site.js +2 -2
- data/app/assets/javascripts/semantic-ui/state.js +20 -7
- data/app/assets/javascripts/semantic-ui/sticky.js +48 -19
- data/app/assets/javascripts/semantic-ui/tab.js +57 -27
- data/app/assets/javascripts/semantic-ui/transition.js +24 -8
- data/app/assets/javascripts/semantic-ui/video.js +6 -14
- data/app/assets/javascripts/semantic-ui/visibility.js +89 -22
- data/app/assets/javascripts/semantic-ui/visit.js +13 -5
- data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +4 -5
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +91 -85
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +41 -37
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +138 -94
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +74 -55
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +80 -68
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +458 -305
- data/app/assets/stylesheets/semantic-ui/elements/_container.scss +1 -2
- data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +2 -4
- data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +2 -3
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +46 -46
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +812 -252
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +7 -3
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +35 -35
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +127 -127
- data/app/assets/stylesheets/semantic-ui/elements/_list.scss +37 -25
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +101 -38
- data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +24 -4
- data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +9 -6
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +92 -51
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +42 -23
- data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -6
- data/app/assets/stylesheets/semantic-ui/globals/_site.scss +7 -9
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +7 -6
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +40 -37
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +7 -8
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +107 -88
- data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +6 -7
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +9 -10
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +6 -7
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +415 -36
- data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +47 -48
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +12 -13
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +21 -21
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +11 -8
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +31 -14
- data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +2 -3
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -2
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -2
- data/app/assets/stylesheets/semantic-ui/views/_ad.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/views/_card.scss +62 -42
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +2 -3
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +5 -6
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +11 -12
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +44 -45
- data/app/helpers/semantic_icon_helper.rb +6 -3
- data/lib/semantic/ui/sass/engine.rb +5 -1
- data/lib/semantic/ui/sass/version.rb +2 -2
- data/spec/helpers/semantic_icon_helper_spec.rb +22 -10
- metadata +3 -3
@@ -2,35 +2,47 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe SemanticIconHelper do
|
4
4
|
it "render icon with name" do
|
5
|
-
|
5
|
+
render text: semantic_icon('add')
|
6
|
+
assert_select 'i[class="add icon"]'
|
6
7
|
end
|
7
8
|
|
8
9
|
it "render icon with names with string" do
|
9
|
-
|
10
|
+
render text: semantic_icon('add sign')
|
11
|
+
assert_select 'i[class="add sign icon"]'
|
10
12
|
end
|
11
13
|
|
12
14
|
it "render icon with names with params" do
|
13
|
-
|
15
|
+
render text: semantic_icon('add', 'sign')
|
16
|
+
assert_select 'i[class="add sign icon"]'
|
14
17
|
end
|
15
18
|
|
16
19
|
it "render icon with names with sym params" do
|
17
|
-
|
20
|
+
render text: semantic_icon(:add, :sign)
|
21
|
+
assert_select 'i[class="add sign icon"]'
|
18
22
|
end
|
19
23
|
|
20
24
|
it "render icon with name and id" do
|
21
|
-
|
25
|
+
render text: semantic_icon('add', id: 'id')
|
26
|
+
assert_select 'i[class="add icon"][id="id"]'
|
27
|
+
end
|
28
|
+
|
29
|
+
it "render icon with arbitrary attributes" do
|
30
|
+
render text: semantic_icon('add', id: 'id', data: {foo: 'bar'})
|
31
|
+
assert_select 'i[class="add icon"][id="id"][data-foo="bar"]'
|
22
32
|
end
|
23
33
|
|
24
34
|
it "render icon with names with string and id" do
|
25
|
-
|
35
|
+
render text: semantic_icon('add sign', id: 'id')
|
36
|
+
assert_select 'i[class="add sign icon"][id="id"]'
|
26
37
|
end
|
27
38
|
|
28
39
|
it "render icon with names with params and id" do
|
29
|
-
|
40
|
+
render text: semantic_icon('add', 'sign', id: 'id')
|
41
|
+
assert_select 'i[class="add sign icon"][id="id"]'
|
30
42
|
end
|
31
43
|
|
32
44
|
it "render icon with names with sym params and id" do
|
33
|
-
|
45
|
+
render text: semantic_icon(:add, :sign, id: 'id')
|
46
|
+
assert_select 'i[class="add sign icon"][id="id"]'
|
34
47
|
end
|
35
|
-
|
36
|
-
end
|
48
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semantic-ui-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- doabit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -308,7 +308,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
308
308
|
version: '0'
|
309
309
|
requirements: []
|
310
310
|
rubyforge_project:
|
311
|
-
rubygems_version: 2.
|
311
|
+
rubygems_version: 2.5.1
|
312
312
|
signing_key:
|
313
313
|
specification_version: 4
|
314
314
|
summary: Semantic UI, converted to Sass and ready to drop into Rails & Compass.
|