view_component-contrib 0.0.1 → 0.1.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 +4 -0
- data/README.md +453 -21
- data/app/templates/install/application_view_component.rb +2 -0
- data/app/templates/install/application_view_component_preview.rb +3 -0
- data/app/templates/install/builder.rb +24 -0
- data/app/templates/install/class_for.rb +3 -0
- data/app/templates/install/generator.rb +275 -0
- data/app/templates/install/identifier.rb +7 -0
- data/app/templates/install/index.js +2 -0
- data/app/templates/install/index.stimulus.js +20 -0
- data/app/templates/install/initializer.rb +16 -0
- data/app/templates/install/postcss-modules.js +13 -0
- data/app/templates/install/template.rb +133 -0
- data/app/views/view_component_contrib/preview.html.erb +7 -0
- data/lib/view_component-contrib.rb +1 -2
- data/lib/view_component_contrib.rb +17 -0
- data/lib/view_component_contrib/base.rb +9 -0
- data/lib/view_component_contrib/preview.rb +11 -0
- data/lib/view_component_contrib/preview/abstract.rb +22 -0
- data/lib/view_component_contrib/preview/base.rb +68 -0
- data/lib/view_component_contrib/preview/default_template.rb +42 -0
- data/lib/view_component_contrib/preview/sidecarable.rb +25 -0
- data/lib/view_component_contrib/translation_helper.rb +45 -0
- data/lib/view_component_contrib/version.rb +5 -0
- data/lib/view_component_contrib/wrapped_helper.rb +10 -0
- data/lib/view_component_contrib/wrapper_component.rb +40 -0
- metadata +101 -10
- data/lib/view_component/contrib/railtie.rb +0 -8
- data/lib/view_component/contrib/version.rb +0 -7