formstrap 0.3.5 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,6 @@
5
5
  @import "formstrap/vendor/flatpickr";
6
6
 
7
7
  // Redactor
8
- @import "formstrap/vendor/redactor";
9
8
  @import "formstrap/vendor/overrides/redactor";
10
9
 
11
10
  // Formstrap
data/esbuild-js.js CHANGED
@@ -7,5 +7,6 @@ esbuild.build({
7
7
  bundle: true,
8
8
  allowOverwrite: true,
9
9
  format: 'esm',
10
+ external: ['redactor'],
10
11
  watch
11
12
  }).catch((e) => console.error(e.message))
@@ -16,12 +16,5 @@ module Formstrap
16
16
  next unless app.config.respond_to?(:assets)
17
17
  app.config.assets.precompile += %w[formstrap.js formstrap.css formstrap.scss]
18
18
  end
19
-
20
- # Add importmap to main app
21
- initializer "headmin.importmap", before: "importmap" do |app|
22
- next unless app.config.respond_to?(:importmap)
23
- app.config.importmap.paths << Engine.root.join("config/importmap.rb")
24
- app.config.importmap.cache_sweepers << Engine.root.join("app/assets/javascripts")
25
- end
26
19
  end
27
20
  end
@@ -1,3 +1,3 @@
1
1
  module Formstrap
2
- VERSION = "0.3.5"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jef Vlamings
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: An extensive Bootstrap form library to power your Ruby On Rails application.
14
14
  email:
@@ -77,7 +77,6 @@ files:
77
77
  - app/assets/stylesheets/formstrap/utilities/dropzone.scss
78
78
  - app/assets/stylesheets/formstrap/vendor/flatpickr.css
79
79
  - app/assets/stylesheets/formstrap/vendor/overrides/redactor.scss
80
- - app/assets/stylesheets/formstrap/vendor/redactor.css
81
80
  - app/assets/stylesheets/formstrap/vendor/tom-select-bootstrap.scss
82
81
  - app/controllers/concerns/formstrap/pagination.rb
83
82
  - app/controllers/formstrap/media_controller.rb
@@ -175,7 +174,6 @@ files:
175
174
  - app/views/formstrap/shared/_thumbnail.html.erb
176
175
  - bin/console
177
176
  - bin/setup
178
- - config/importmap.rb
179
177
  - config/locales/de.yml
180
178
  - config/locales/en.yml
181
179
  - config/locales/formstrap/de.yml