uistiti 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e5b828febae7e765e280a4d6b868ed9471e4ea645b850852dbebc1cb5f72190
4
- data.tar.gz: 7941b8fb623d6cb435fa5875854f2c256fd03f9917e1a6d4384bdda042f21441
3
+ metadata.gz: fa282e7f54a0ba956a174bc5c74070491e1ed823ccc1e99d9029cac31388d352
4
+ data.tar.gz: 1d59a8c0c9bfc7f69c2b355223840368be7fb12c4d0b977167c5ba1a3395ba2f
5
5
  SHA512:
6
- metadata.gz: eaffbd0add2c858f4ceab5d2e5a9aa2850b69aca8bfb130f2c8778a60c8a54c8a70d60464e0491fa2357f8a3f6c97f4eb41c660e4336de804cfdb04bf4c5a87d
7
- data.tar.gz: 5ac99337319d212ffedd895ba83180f5960045111f0f92e4988fb43ad413e735bee691188fe1e9caf5c24988442b77640483f88dc6598f329379472cf4c7fafe
6
+ metadata.gz: ee5656aeff2a4556a6f2bcdab355567aee48d1f8bb4455ce5a15a1d5f8bb16d3ce480e03f59212ab20a2e99f1fbb481a630f14e0cec84c2d94fc77cf295df8d3
7
+ data.tar.gz: f9edd14a293228eef3830e364b2e6724ecfb962a8a7dad6119a8b21814366d9b130843a166d7fb2fe7f4e2bbd7fd16f00c4e079ea6fe58ea82c37e96580fac4d
@@ -1 +1 @@
1
- //= link_directory ../stylesheets/uistiti .css
1
+ //= link_tree ../javascript
@@ -1,3 +1,2 @@
1
1
  /* CSS for FormSubmit */
2
- @import "components/alpha/form_submit";
3
2
  .FormSubmit {}
@@ -1,3 +1,3 @@
1
- <%= link_to @path, method: @method, class: classes do %>
1
+ <%= link_to @path, method: @method, class: classes, data: {controller: "uistiti--alpha--link"} do %>
2
2
  <%= content || @text %>
3
3
  <% end %>
@@ -8,5 +8,9 @@ module Uistiti
8
8
  #Show to lookbook where it can find the previews
9
9
  Lookbook.config.preview_paths = [File.join(Uistiti::Engine.root, 'app/components/previews')]
10
10
  Lookbook.config.preview_layout = "uistiti/component_preview"
11
+
12
+ def self.stimulus_controllers_directory
13
+ File.join(root, 'app/assets/javascript/controllers/uistiti')
14
+ end
11
15
  end
12
16
  end
@@ -1,3 +1,3 @@
1
1
  module Uistiti
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/uistiti.rb CHANGED
@@ -2,5 +2,7 @@ require "uistiti/version"
2
2
  require "uistiti/engine"
3
3
 
4
4
  module Uistiti
5
- # Your code goes here...
5
+ def self.stimulus_controllers_directory
6
+ Uistiti::Engine.stimulus_controllers_directory
7
+ end
6
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uistiti
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Ecrepont