material_view_components 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +17 -0
- data/app/assets/builds/material_view_components/application.css +218048 -0
- data/app/assets/builds/material_view_components/application.js +1958 -0
- data/app/assets/config/material_view_components_manifest.js +1 -0
- data/app/assets/stylesheets/material_view_components/application.tailwind.css +182 -0
- data/app/components/application_component.rb +19 -0
- data/app/components/material/button_component.html.erb +10 -0
- data/app/components/material/button_component.rb +190 -0
- data/app/components/material/button_component_controller.js +8 -0
- data/app/components/material/fab_component.html.erb +8 -0
- data/app/components/material/fab_component.rb +41 -0
- data/app/controllers/material_view_components/application_controller.rb +4 -0
- data/app/helpers/material_view_components/application_helper.rb +4 -0
- data/app/javascript/application.js +2 -0
- data/app/javascript/controllers/application.js +15 -0
- data/app/javascript/controllers/hello_controller.js +7 -0
- data/app/javascript/controllers/helpers.js +30 -0
- data/app/javascript/controllers/index.js +7 -0
- data/app/jobs/material_view_components/application_job.rb +4 -0
- data/app/mailers/material_view_components/application_mailer.rb +6 -0
- data/app/models/material_view_components/application_record.rb +5 -0
- data/app/views/layouts/material_view_components/application.html.erb +19 -0
- data/config/initializers/assets.rb +3 -0
- data/config/routes.rb +2 -0
- data/lib/material_view_components/engine.rb +7 -0
- data/lib/material_view_components/version.rb +3 -0
- data/lib/material_view_components.rb +6 -0
- data/lib/tasks/material_view_components_tasks.rake +4 -0
- metadata +146 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ec43b153a993b77a133f4c4df74ef376fc9ad1596475f1c47498be8d9a6b01a7
|
4
|
+
data.tar.gz: 3fa3a239f06d7b5ca7f1febbaa251224ba1797d1f06b7022ee14ff6d3c85294f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 037f3551a91783d6241f1fc79585887831351da670b58b2eb193fb8039f452a21c1afe59993395fbca814b5aca7524b72c87dc12b615f489a1f2d48030013955
|
7
|
+
data.tar.gz: e8ba9a369b1c4324ec7560e11fc2bb08f9bba12bd35643a7bbd21e59285b4844be1586034618e48e67e8d422d1ca015b1c9aa08092436d161bc47c14594362bf
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2021 mansakondo
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# MaterialViewComponents
|
2
|
+
Short description and motivation.
|
3
|
+
|
4
|
+
## Usage
|
5
|
+
How to use my plugin.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem "material_view_components"
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
```bash
|
16
|
+
$ bundle
|
17
|
+
```
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
```bash
|
21
|
+
$ gem install material_view_components
|
22
|
+
```
|
23
|
+
|
24
|
+
## Contributing
|
25
|
+
Contribution directions go here.
|
26
|
+
|
27
|
+
## License
|
28
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require "bundler/setup"
|
2
|
+
|
3
|
+
APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
|
4
|
+
load "rails/tasks/engine.rake"
|
5
|
+
|
6
|
+
load "rails/tasks/statistics.rake"
|
7
|
+
|
8
|
+
require "bundler/gem_tasks"
|
9
|
+
require "rake/testtask"
|
10
|
+
|
11
|
+
Rake::TestTask.new(:test) do |t|
|
12
|
+
t.libs << "test"
|
13
|
+
t.pattern = "test/**/*_test.rb"
|
14
|
+
t.verbose = false
|
15
|
+
end
|
16
|
+
|
17
|
+
task default: :test
|