tabler-rubygem 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60166d212ee7839763c9884d6ead9ed4c79562ad3b710b180969e543373e9f1a
4
- data.tar.gz: 7d77b2c1698b0855462aa525a39fc38139a509d29047dd28d59a4222c92db7e5
3
+ metadata.gz: d5b08151ddc90eb25da874712b7b59992962c231fcc2fd6103c71d86b09530ee
4
+ data.tar.gz: 8bcda6dc6c6a332885c0f1664ef9ffd3ba1d578b5eb8ae85659f0f742deb753a
5
5
  SHA512:
6
- metadata.gz: ed186a66c9dd925444f6615f7050d46ed7737d09b181ee5e9702f201c9127ec3f780e9940afce8bfa277d41bcf7bc8e910b37f7683a9da64f14b4c18b21a4cd3
7
- data.tar.gz: dc35945981f81b4a231359582a88182ff0b03a6e647406689b2c8e18104e93161621afc97a4fb2c1d275763d3e5ad4febf90f10bf7a7b8e1695f0f49837fd3bb
6
+ metadata.gz: 1001f8e4ed774935292e4a9b2741b0ae14018fd5169e4f739068f69e09da8ac60c2171b218b601c05b9d1edc2999a10a093688b0ce5fdacd9532a0e0daa56de5
7
+ data.tar.gz: ef15e3b2e3ac0848ac6729af0825b6f4f3c12f3ec0b1a9222b10e44cf7f4d2e568c7c7f0ccf2e0ec81ee199fd2d5079ff5af15c92d9ed447dc9a2f4565bce131
data/README.md CHANGED
@@ -13,6 +13,14 @@ Please see the appropriate guide for your environment of choice:
13
13
 
14
14
  ### a. Ruby on Rails
15
15
 
16
+ ------------------------
17
+
18
+ **v0.1.4 BREAKING CHANGE:**
19
+
20
+ Icons are no longer included by default. Instead, you can include all the icon sets or the specific icon sets you want (either browser, flag, and/or payments). Read below for more info on how to do this.
21
+
22
+ ------------
23
+
16
24
  Add `bootstrap` and `tabler-rubygem` to your Gemfile:
17
25
 
18
26
  ```ruby
@@ -24,14 +32,15 @@ Ensure that `sprockets-rails` is at least v2.3.2.
24
32
 
25
33
  `bundle install` and restart your server to make the files available through the pipeline.
26
34
 
27
- Import Tabler styles and optionally Tabler Plugin styles in `app/assets/stylesheets/application.scss`:
35
+ Import Tabler styles and optionally Tabler Plugin styles and icons in `app/assets/stylesheets/application.scss`:
28
36
 
29
37
  ```scss
30
38
  // Custom tabler variables must be set or imported *before* bootstrap and tabler.
31
39
  @import "tabler/variables";
32
40
  @import "bootstrap";
33
41
  @import "tabler";
34
- @import "tabler.plugins";
42
+ @import "tabler.plugins"; // optional
43
+ @import "tabler.icons"; // optional includes [browser, flag, payments]
35
44
  ```
36
45
 
37
46
  The available variables can be found [here][tabler-variables.scss].
@@ -47,6 +56,16 @@ You can also choose to include plugin css on a per-plugin basis, for example:
47
56
  @import "tabler/plugins/charts-c3/plugin.scss";
48
57
  ```
49
58
 
59
+ or include icons css per type, for example:
60
+
61
+ ```scss
62
+ // Custom tabler variables must be set or imported *before* tabler.
63
+ @import "tabler/variables";
64
+ @import "bootstrap";
65
+ @import "tabler";
66
+ @import "tabler/icons/flag";
67
+ ```
68
+
50
69
  Make sure the file has `.scss` extension (or `.sass` for Sass syntax). If you have just generated a new Rails app,
51
70
  it may come with a `.css` file instead. If this file exists, it will be served instead of Sass, so rename it:
52
71
 
@@ -0,0 +1,3 @@
1
+ @import "tabler/icons/browser";
2
+ @import "tabler/icons/flag";
3
+ @import "tabler/icons/payments";
@@ -55,9 +55,6 @@
55
55
 
56
56
  @import "tabler/timeline";
57
57
 
58
- @import "tabler/browser";
59
- @import "tabler/flag";
60
- @import "tabler/payments";
61
58
  @import "tabler/jvectormap";
62
59
  @import "tabler/selectize";
63
60
 
@@ -1,6 +1,6 @@
1
1
  module Tabler
2
2
  module Rubygem
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  TABLER_SHA = '748028000ba6603090c1f5a741e906b59ed934b2'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabler-rubygem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - lightyrs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-16 00:00:00.000000000 Z
11
+ date: 2018-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoprefixer-rails
@@ -625,6 +625,7 @@ files:
625
625
  - assets/javascripts/tabler/vendors/jquery.sparkline.min.js
626
626
  - assets/javascripts/tabler/vendors/jquery.tablesorter.min.js
627
627
  - assets/javascripts/tabler/vendors/selectize.min.js
628
+ - assets/stylesheets/_tabler.icons.scss
628
629
  - assets/stylesheets/_tabler.plugins.scss
629
630
  - assets/stylesheets/_tabler.scss
630
631
  - assets/stylesheets/tabler/_alert.scss
@@ -632,7 +633,6 @@ files:
632
633
  - assets/stylesheets/tabler/_avatar.scss
633
634
  - assets/stylesheets/tabler/_badge.scss
634
635
  - assets/stylesheets/tabler/_breadcrumb.scss
635
- - assets/stylesheets/tabler/_browser.scss
636
636
  - assets/stylesheets/tabler/_button.scss
637
637
  - assets/stylesheets/tabler/_cards.scss
638
638
  - assets/stylesheets/tabler/_carousel.scss
@@ -644,7 +644,6 @@ files:
644
644
  - assets/stylesheets/tabler/_core.scss
645
645
  - assets/stylesheets/tabler/_dropdown.scss
646
646
  - assets/stylesheets/tabler/_example.scss
647
- - assets/stylesheets/tabler/_flag.scss
648
647
  - assets/stylesheets/tabler/_footer.scss
649
648
  - assets/stylesheets/tabler/_form.scss
650
649
  - assets/stylesheets/tabler/_functions.scss
@@ -662,7 +661,6 @@ files:
662
661
  - assets/stylesheets/tabler/_media.scss
663
662
  - assets/stylesheets/tabler/_nav.scss
664
663
  - assets/stylesheets/tabler/_pagination.scss
665
- - assets/stylesheets/tabler/_payments.scss
666
664
  - assets/stylesheets/tabler/_popover.scss
667
665
  - assets/stylesheets/tabler/_product.scss
668
666
  - assets/stylesheets/tabler/_progress.scss
@@ -685,6 +683,9 @@ files:
685
683
  - assets/stylesheets/tabler/forms/_custom-range.scss
686
684
  - assets/stylesheets/tabler/forms/_custom-selectgroup.scss
687
685
  - assets/stylesheets/tabler/forms/_custom-switch.scss
686
+ - assets/stylesheets/tabler/icons/_browser.scss
687
+ - assets/stylesheets/tabler/icons/_flag.scss
688
+ - assets/stylesheets/tabler/icons/_payments.scss
688
689
  - assets/stylesheets/tabler/plugins/charts-c3/plugin.scss
689
690
  - assets/stylesheets/tabler/plugins/fullcalendar/plugin.scss
690
691
  - assets/stylesheets/tabler/plugins/iconfonts/plugin.scss