atomic_view 0.0.6 → 0.1.0

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -14
  3. data/Rakefile +10 -0
  4. data/app/assets/config/atomic_view_manifest.js +3 -0
  5. data/app/assets/stylesheets/atomic_view/application.css +15 -0
  6. data/app/assets/stylesheets/atomic_view/application.tailwind.css +26 -0
  7. data/app/assets/tailwind/atomic_view/engine.css +25 -0
  8. data/app/controllers/atomic_view/application_controller.rb +6 -0
  9. data/app/controllers/atomic_view/lookbook_controller.rb +11 -0
  10. data/app/controllers/atomic_view/models_controller.rb +9 -0
  11. data/{lib/atomic_view/railtie.rb → app/helpers/atomic_view/application_helper.rb} +1 -1
  12. data/app/helpers/atomic_view/heroicons_helper.rb +14 -0
  13. data/app/jobs/atomic_view/application_job.rb +6 -0
  14. data/app/mailers/atomic_view/application_mailer.rb +8 -0
  15. data/app/models/atomic_view/application_record.rb +7 -0
  16. data/app/models/atomic_view/model.rb +7 -0
  17. data/app/views/layouts/atomic_view/application.html.erb +15 -0
  18. data/app/views/layouts/atomic_view/lookbook.html.erb +13 -0
  19. data/config/importmap.rb +3 -0
  20. data/config/routes.rb +4 -0
  21. data/config/tailwind.config.js +13 -0
  22. data/lib/atomic_view/components/date_field_component.rb +1 -1
  23. data/lib/atomic_view/components/field_component.erb +2 -2
  24. data/lib/atomic_view/components/field_component.rb +1 -1
  25. data/lib/atomic_view/components/select_component.rb +1 -1
  26. data/lib/atomic_view/components/submit_component.rb +1 -1
  27. data/lib/atomic_view/configuration.rb +7 -0
  28. data/lib/atomic_view/engine.rb +38 -0
  29. data/lib/atomic_view/post_install.rb +10 -0
  30. data/lib/atomic_view/version.rb +1 -1
  31. data/lib/atomic_view.rb +17 -11
  32. data/lib/generators/atomic_view/install_generator.rb +43 -0
  33. data/lib/tasks/atomic_view_tasks.rake +6 -0
  34. data/lib/tasks/install.rake +13 -0
  35. metadata +41 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e984d19474555945b35a6a586d0307205ec7dcd6e32328a2fd2217f986370a15
4
- data.tar.gz: dd32e22198a19acd6ee1e184fb90c227f634607d963923a7a093c3ddf35df8af
3
+ metadata.gz: f1c16a7fcf25c5c6633566314b017ddc7c3fe9707358ee018a864415a179373d
4
+ data.tar.gz: c6abde21009bc903d8411cd93dc3dd8d09128ffab6aeac212ebdf2d2cd5a74ea
5
5
  SHA512:
6
- metadata.gz: e2194675201276be9f99a21525c76c917731b65eca7c6b545e3044af1802e06e06995fe5735c9afd97dc29bfaf1955e1a3916fcc9075273f71ad0f5073f7cbac
7
- data.tar.gz: efc1335dc071d2adaba1ae1a109457253b5ed14d8af897ace21955afc05e320df1c1d36bb5f9b0a8e6321aa6acbf7fb1b10a23a9e006e5a05d4801a140d6d365
6
+ metadata.gz: bb381ffa4c9de802ccf3d179b8af492fde3be8394b32e0a93ff6c6d15c6feb3c4eaad5049bfa335db2e1d139d0f46b1824877cd2144470d00ca847578d0d87b1
7
+ data.tar.gz: 4573200d69ad4a6cd6e1b1177dedf36dda73a6ae7ce458184241a8ca5bf539857b672007e5a34820c38304ffaf78607185f2a6718fd7dbea56fd579f94719d61
data/README.md CHANGED
@@ -15,20 +15,8 @@ gem "atomic_view"
15
15
  bundle install
16
16
  ```
17
17
 
18
- In your `tailwind.config.js`, add:
19
-
20
- ```js
21
- const execSync = require("child_process").execSync;
22
- const atomicViewPath =
23
- execSync("bundle show atomic_view", { encoding: "utf-8" }).trim() +
24
- "/lib/atomic_view/components/**/*.{erb,rb}";
25
-
26
- module.exports = {
27
- content: [
28
- // other paths...
29
- atomicViewPath,
30
- ],
31
- };
18
+ ```shell
19
+ rails atomic_view:install
32
20
  ```
33
21
 
34
22
  ## Getting Started
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/setup'
4
+
5
+ APP_RAKEFILE = File.expand_path('test/dummy/Rakefile', __dir__)
6
+ load 'rails/tasks/engine.rake'
7
+
8
+ load 'rails/tasks/statistics.rake'
9
+
10
+ require 'bundler/gem_tasks'
@@ -0,0 +1,3 @@
1
+ //= link_directory ../stylesheets/atomic_view .css
2
+ //= link_tree ../javascripts/atomic_view .js
3
+ //= link_tree ../dist/atomic_view .css
@@ -0,0 +1,15 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
+ * files in this directory. Styles in this file should be added after the last require_* statement.
11
+ * It is generally better to create a new file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
@@ -0,0 +1,26 @@
1
+ @import "tailwindcss" source(none);
2
+ @source "../../javascripts/**/*.js";
3
+ @source "../../../views/**/*.erb";
4
+
5
+ @plugin "@tailwindcss/forms";
6
+ @plugin "@tailwindcss/typography";
7
+
8
+ @custom-variant dark (&:where(.dark, .dark *));
9
+
10
+ /*
11
+ The default border color has changed to `currentColor` in Tailwind CSS v4,
12
+ so we've added these compatibility styles to make sure everything still
13
+ looks the same as it did with Tailwind CSS v3.
14
+
15
+ If we ever want to remove these styles, we need to add an explicit border
16
+ color utility to any element that depends on these defaults.
17
+ */
18
+ @layer base {
19
+ *,
20
+ ::after,
21
+ ::before,
22
+ ::backdrop,
23
+ ::file-selector-button {
24
+ border-color: var(--color-gray-200, currentColor);
25
+ }
26
+ }
@@ -0,0 +1,25 @@
1
+ @import "tailwindcss" source(none);
2
+ @source "../../javascripts/**/*.js";
3
+ @source "../../../views/**/*.{erb}";
4
+ @source "../../../../lib/atomic_view//components/**/*.{erb,rb}";
5
+
6
+ @plugin "@tailwindcss/forms";
7
+ @plugin "@tailwindcss/typography";
8
+
9
+ /*
10
+ The default border color has changed to `currentColor` in Tailwind CSS v4,
11
+ so we've added these compatibility styles to make sure everything still
12
+ looks the same as it did with Tailwind CSS v3.
13
+
14
+ If we ever want to remove these styles, we need to add an explicit border
15
+ color utility to any element that depends on these defaults.
16
+ */
17
+ @layer base {
18
+ *,
19
+ ::after,
20
+ ::before,
21
+ ::backdrop,
22
+ ::file-selector-button {
23
+ border-color: var(--color-gray-200, currentColor);
24
+ }
25
+ }
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AtomicView
4
+ class ApplicationController < ActionController::Base
5
+ end
6
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AtomicView
4
+ class LookbookController < if defined?(Lookbook)
5
+ Lookbook::PreviewController
6
+ else
7
+ ActionController::Base
8
+ end
9
+ default_form_builder AtomicView::FormBuilder
10
+ end
11
+ end
@@ -0,0 +1,9 @@
1
+ module AtomicView
2
+ class ModelsController < ApplicationController
3
+ protect_from_forgery with: :null_session
4
+
5
+ def create
6
+ redirect_back(fallback_location: lookbook_path)
7
+ end
8
+ end
9
+ end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AtomicView
4
- class Railtie < Rails::Railtie
4
+ module ApplicationHelper
5
5
  end
6
6
  end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AtomicView
4
+ module HeroiconsHelper
5
+ def icon(name, variant: Heroicons.configuration.variant, options: {}, path_options: {})
6
+ raw Heroicons::Icon.render(
7
+ name: name,
8
+ variant: variant,
9
+ options: options,
10
+ path_options: path_options
11
+ )
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AtomicView
4
+ class ApplicationJob < ActiveJob::Base
5
+ end
6
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AtomicView
4
+ class ApplicationMailer < ActionMailer::Base
5
+ default from: 'from@example.com'
6
+ layout 'mailer'
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AtomicView
4
+ class ApplicationRecord < ActiveRecord::Base
5
+ self.abstract_class = true
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ module AtomicView
2
+ class Model
3
+ include ActiveModel::Model
4
+
5
+ attr_reader :attribute
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>AtomicView</title>
5
+ <%= csrf_meta_tags %>
6
+ <%= csp_meta_tag %>
7
+ <%= stylesheet_link_tag "atomic_view/tailwind", "data-turbo-track": "reload" %>
8
+ <%= javascript_importmap_tags %>
9
+ <%= javascript_import_module_tag "atomic_view/application" %>
10
+ <%= stylesheet_link_tag "atomic_view/application", media: "all" %>
11
+ </head>
12
+ <body>
13
+ <%= yield %>
14
+ </body>
15
+ </html>
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>AtomicView</title>
5
+ <%= csrf_meta_tags %>
6
+ <%= csp_meta_tag %>
7
+ <%= stylesheet_link_tag "atomic_view/tailwind", "data-turbo-track": "reload" %>
8
+ <%= javascript_importmap_tags %>
9
+ </head>
10
+ <body>
11
+ <%= yield %>
12
+ </body>
13
+ </html>
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ pin_all_from File.expand_path('../app/assets/javascripts', __dir__)
data/config/routes.rb ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ AtomicView::Engine.routes.draw do
4
+ end
@@ -0,0 +1,13 @@
1
+ module.exports = {
2
+ safelist: [
3
+ {
4
+ pattern: /prose/,
5
+ },
6
+ ],
7
+ content: [
8
+ "./public/*.html",
9
+ "./app/helpers/**/*.rb",
10
+ "./app/assets/javascript/**/*.js",
11
+ "./app/views/**/*.{erb,haml,html,slim}",
12
+ ],
13
+ };
@@ -4,7 +4,7 @@ module AtomicView
4
4
  def html_class
5
5
  class_names(
6
6
  class_names(
7
- *%W[block w-full h-9 min-w-0 flex-1 rounded-sm-md border-0 py-1 text-sm shadow-xs ring-1],
7
+ *%W[block w-full h-9 min-w-0 flex-1 rounded-sm border-0 py-1 text-sm shadow-xs ring-1],
8
8
  "disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-zinc-500 disabled:ring-zinc-200",
9
9
  "bg-transparent dark:bg-white/5 text-zinc-950 ring-zinc-950/10 dark:ring-white/10 placeholder:text-zinc-500 dark:text-white focus:ring-neutral-700 focus:border-zinc-950/20 dark:focus:ring-white/20",
10
10
  "text-red-900 ring-red-300 placeholder:text-red-300 focus:ring-red-500" => method_errors?,
@@ -1,7 +1,7 @@
1
1
  <%= content_tag :div, class: container_html_class do %>
2
2
  <% if left_section? %>
3
3
  <% if left_section_addon? %>
4
- <span class="inline-flex items-center rounded-sm-l-lg bg-transparent dark:bg-white/5 ring-1 ring-zinc-950/10 dark:ring-white/10 px-3 text-zinc-950 dark:text-white sm:text-sm"><%= left_section %></span>
4
+ <span class="inline-flex items-center rounded-l-lg bg-transparent dark:bg-white/5 ring-1 ring-zinc-950/10 dark:ring-white/10 px-3 text-zinc-950 dark:text-white sm:text-sm"><%= left_section %></span>
5
5
  <% elsif left_section_interaction? %>
6
6
  <%= left_section %>
7
7
  <% else %>
@@ -13,7 +13,7 @@
13
13
  <%= tag_klass.new(@object_name, @method_name, @view_context, @options).render %>
14
14
  <% if right_section? %>
15
15
  <% if right_section_addon? %>
16
- <span class="inline-flex items-center rounded-sm-r-lg bg-transparent dark:bg-white/5 ring-1 ring-zinc-950/10 dark:ring-white/10 px-3 text-zinc-950 dark:text-white sm:text-sm"><%= right_section %></span>
16
+ <span class="inline-flex items-center rounded-r-lg bg-transparent dark:bg-white/5 ring-1 ring-zinc-950/10 dark:ring-white/10 px-3 text-zinc-950 dark:text-white sm:text-sm"><%= right_section %></span>
17
17
  <% elsif right_section_interaction? %>
18
18
  <%= right_section %>
19
19
  <% else %>
@@ -10,7 +10,7 @@ module AtomicView
10
10
 
11
11
  def html_class
12
12
  class_names(
13
- "block w-full appearance-none h-9 min-w-0 z-10 flex-1 rounded-lg border-1 py-1 text-base shadow-xs ring-1",
13
+ "block w-full appearance-none h-9 min-w-0 z-10 flex-1 rounded-lg border-0 py-1 text-base shadow-xs ring-1",
14
14
  "disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-zinc-500 disabled:ring-zinc-200",
15
15
  "bg-transparent dark:bg-white/5 text-zinc-950 ring-zinc-950/10 dark:ring-white/10 placeholder:text-zinc-500 dark:text-white focus:ring-neutral-700 focus:border-zinc-950/20 dark:focus:ring-white/20",
16
16
  "pl-10" => left_section? && !(left_section_addon? || left_section_interaction?),
@@ -4,7 +4,7 @@ module AtomicView
4
4
  def html_class
5
5
  class_names(
6
6
  class_names(
7
- *%W[block w-full h-9 min-w-0 flex-1 rounded-sm-md border-0 py-1 text-sm shadow-xs ring-1],
7
+ *%W[block w-full h-9 min-w-0 flex-1 rounded-md border-0 py-1 text-sm shadow-xs ring-1],
8
8
  "disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-zinc-500 disabled:ring-zinc-200",
9
9
  "bg-transparent dark:bg-white/5 text-zinc-950 ring-zinc-950/10 dark:ring-white/10 placeholder:text-zinc-500 dark:text-white focus:ring-neutral-700 focus:border-zinc-950/20 dark:focus:ring-white/20",
10
10
  "text-red-900 ring-red-300 placeholder:text-red-300 focus:ring-red-500" => method_errors?,
@@ -2,7 +2,7 @@ module AtomicView
2
2
  module Components
3
3
  class SubmitComponent < ViewComponent::Form::SubmitComponent
4
4
  def html_class
5
- "cursor-pointer rounded-sm-md bg-green-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-xs hover:bg-green-600/90 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-green-700"
5
+ "cursor-pointer rounded-md bg-green-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-xs hover:bg-green-600/90 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-green-700"
6
6
  end
7
7
  end
8
8
  end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AtomicView
4
+ class Configuration
5
+ def initialize; end
6
+ end
7
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'importmap-rails'
4
+
5
+ module AtomicView
6
+ class Engine < ::Rails::Engine
7
+ isolate_namespace AtomicView
8
+
9
+ initializer 'local_helper.action_controller' do
10
+ ActiveSupport.on_load :action_controller do
11
+ helper AtomicView::HeroiconsHelper
12
+ end
13
+ end
14
+
15
+ initializer 'atomic_view.tailwindcss' do |app|
16
+ ActiveSupport.on_load(:tailwindcss_rails) do
17
+ config.tailwindcss_rails.engines << AtomicView::Engine.engine_name
18
+ end
19
+ end
20
+
21
+
22
+ initializer 'atomic_view.importmap', before: 'importmap' do |app|
23
+ app.config.importmap.paths << root.join('config/importmap.rb')
24
+ app.config.importmap.cache_sweepers << root.join('app/assets/javascripts')
25
+ end
26
+
27
+ initializer 'atomic_view.assets' do |app|
28
+ app.config.assets.precompile += %w[atomic_view_manifest]
29
+ end
30
+
31
+ initializer 'atomic_view.precompile' do |app|
32
+ app.config.assets.paths << root.join('app/assets/javascripts')
33
+ app.config.assets.precompile << 'atomic_view/application.js'
34
+ app.config.assets.paths << root.join('app/assets/dist')
35
+ app.config.assets.precompile << 'atomic_view/tailwind.css'
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AtomicView
4
+ def self.post_install
5
+ puts 'AtomicView: Running post install tasks...'
6
+ rescue StandardError => e
7
+ puts "AtomicView: Failed to update Tailwind configuration. Error: #{e.message}"
8
+ puts "You may need to run 'bin/rails atomic_view:install' manually to complete the setup."
9
+ end
10
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AtomicView
4
- VERSION = "0.0.6"
4
+ VERSION = '0.1.0'
5
5
  end
data/lib/atomic_view.rb CHANGED
@@ -1,26 +1,32 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "rails"
4
- require "view_component"
3
+ require 'atomic_view/version'
4
+ require 'atomic_view/engine'
5
+ require 'atomic_view/configuration'
6
+
5
7
  require "tailwind_merge"
6
8
  require "heroicons"
9
+ require "view_component"
7
10
  require "view_component/form"
8
-
9
11
  require "zeitwerk"
10
12
  loader = Zeitwerk::Loader.for_gem
11
-
12
- vcf_gem_dir = Gem::Specification.find_by_name("view_component-form").gem_dir
13
- loader.push_dir File.join(vcf_gem_dir, "app", "components")
14
- loader.push_dir File.join(vcf_gem_dir, "app", "components", "concerns")
15
-
13
+ loader.ignore("#{__dir__}/generators")
16
14
  loader.setup
17
15
 
18
- # Component library built for Ruby on Rails with first-class support for ActionView using ViewComponent.
19
16
  module AtomicView
17
+ class << self
18
+ attr_accessor :configuration
19
+ end
20
+
21
+ def self.configuration
22
+ @configuration ||= Configuration.new
23
+ end
24
+
25
+ def self.configure
26
+ yield(configuration)
27
+ end
20
28
  end
21
29
 
22
30
  ViewComponent::Form.configure do |config|
23
31
  config.parent_component = "AtomicView::Component"
24
32
  end
25
-
26
- loader.eager_load
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AtomicView
4
+ class InstallGenerator < Rails::Generators::Base
5
+ source_root File.expand_path('templates', __dir__)
6
+
7
+ IMPORT = '@import "../builds/tailwind/atomic_view.css";'.freeze
8
+
9
+ def add_atomic_view_tailwind
10
+ return if options[:update_tailwind_only]
11
+
12
+ tailwind_path = Rails.root.join('app/assets/tailwind/application.css')
13
+ unless tailwind_path.exist?
14
+ raise '`app/assets/tailwind/application.css` does not exist'
15
+ end
16
+
17
+ if tailwind_path.read.include?(IMPORT)
18
+ puts "`app/assets/tailwind/application.css` already contains `#{IMPORT}`"
19
+ else
20
+ insert_into_file tailwind_path, after: '@import "tailwindcss";' do
21
+ "\n#{IMPORT}\n"
22
+ end
23
+ end
24
+ end
25
+
26
+ def add_atomic_view_js_controllers
27
+ return if options[:update_tailwind_only]
28
+
29
+ controllers_path = Rails.root.join('app/javascript/controllers/index.js')
30
+ if controllers_path.exist? && controllers_path.read.include?('eagerLoadControllersFrom("controllers", application)')
31
+ if controllers_path.read.include?('eagerLoadControllersFrom("atomic_view", application)')
32
+ puts '`app/javascript/controllers/index.js` already contains `eagerLoadControllersFrom("atomic_view", application)`'
33
+ else
34
+ insert_into_file controllers_path, after: 'eagerLoadControllersFrom("controllers", application)' do
35
+ "\neagerLoadControllersFrom(\"atomic_view\", application)\n"
36
+ end
37
+ end
38
+ else
39
+ puts '`app/javascript/controllers/index.js` does not exist or does not contain `eagerLoadControllersFrom("controllers", application)`'
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # desc "Explaining what the task does"
4
+ # task :atomic_view do
5
+ # # Task goes here
6
+ # end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :atomic_view do
4
+ desc 'Installs AtomicView'
5
+ task install: :environment do
6
+ Rails::Command.invoke :generate, ['atomic_view:install']
7
+ end
8
+
9
+ desc 'Updates Tailwind configuration'
10
+ task update_tailwind: :environment do
11
+ Rails::Command.invoke :generate, %w[atomic_view:install --update-tailwind-only]
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atomic_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Warrington
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-13 00:00:00.000000000 Z
11
+ date: 2025-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zeitwerk
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.7.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: importmap-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 2.0.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 2.0.1
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rails
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -104,6 +118,25 @@ files:
104
118
  - CHANGELOG.md
105
119
  - LICENSE.txt
106
120
  - README.md
121
+ - Rakefile
122
+ - app/assets/config/atomic_view_manifest.js
123
+ - app/assets/stylesheets/atomic_view/application.css
124
+ - app/assets/stylesheets/atomic_view/application.tailwind.css
125
+ - app/assets/tailwind/atomic_view/engine.css
126
+ - app/controllers/atomic_view/application_controller.rb
127
+ - app/controllers/atomic_view/lookbook_controller.rb
128
+ - app/controllers/atomic_view/models_controller.rb
129
+ - app/helpers/atomic_view/application_helper.rb
130
+ - app/helpers/atomic_view/heroicons_helper.rb
131
+ - app/jobs/atomic_view/application_job.rb
132
+ - app/mailers/atomic_view/application_mailer.rb
133
+ - app/models/atomic_view/application_record.rb
134
+ - app/models/atomic_view/model.rb
135
+ - app/views/layouts/atomic_view/application.html.erb
136
+ - app/views/layouts/atomic_view/lookbook.html.erb
137
+ - config/importmap.rb
138
+ - config/routes.rb
139
+ - config/tailwind.config.js
107
140
  - lib/atomic_view.rb
108
141
  - lib/atomic_view/component.rb
109
142
  - lib/atomic_view/components/button_component.rb
@@ -137,9 +170,14 @@ files:
137
170
  - lib/atomic_view/components/url_field_component.rb
138
171
  - lib/atomic_view/components/week_field_component.rb
139
172
  - lib/atomic_view/components/weekday_select_component.rb
173
+ - lib/atomic_view/configuration.rb
174
+ - lib/atomic_view/engine.rb
140
175
  - lib/atomic_view/form_builder.rb
141
- - lib/atomic_view/railtie.rb
176
+ - lib/atomic_view/post_install.rb
142
177
  - lib/atomic_view/version.rb
178
+ - lib/generators/atomic_view/install_generator.rb
179
+ - lib/tasks/atomic_view_tasks.rake
180
+ - lib/tasks/install.rake
143
181
  homepage: https://github.com/joelzwarrington/atomic_view
144
182
  licenses:
145
183
  - MIT