beyond_canvas 0.11.2.pre → 0.15.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -20
- data/app/assets/images/icons/checkbox_checked.svg +1 -0
- data/app/assets/images/icons/checkbox_unchecked.svg +1 -0
- data/app/assets/images/icons/file.svg +1 -0
- data/app/assets/images/icons/flash_checkbox.svg +1 -0
- data/app/assets/images/icons/flash_close.svg +1 -0
- data/app/assets/images/icons/flash_error.svg +1 -0
- data/app/assets/images/icons/flash_info.svg +1 -0
- data/app/assets/images/icons/flash_warning.svg +1 -0
- data/app/assets/images/icons/radiobutton_checked.svg +1 -0
- data/app/assets/images/icons/radiobutton_unchecked.svg +1 -0
- data/app/assets/javascripts/beyond_canvas/base.js +94 -0
- data/app/assets/stylesheets/beyond_canvas/base.scss +28 -0
- data/app/assets/stylesheets/beyond_canvas/components/_actions.scss +6 -0
- data/app/assets/stylesheets/beyond_canvas/components/_buttons.scss +112 -0
- data/app/assets/stylesheets/beyond_canvas/components/_cards.scss +34 -0
- data/app/assets/stylesheets/beyond_canvas/components/_comments.scss +6 -0
- data/app/assets/stylesheets/beyond_canvas/components/_containers.scss +37 -0
- data/app/assets/stylesheets/beyond_canvas/components/_flash.scss +66 -0
- data/app/assets/stylesheets/beyond_canvas/components/_forms.scss +43 -0
- data/app/assets/stylesheets/beyond_canvas/components/_inputs.scss +143 -0
- data/app/assets/stylesheets/beyond_canvas/components/_layouts.scss +7 -0
- data/app/assets/stylesheets/beyond_canvas/components/_links.scss +17 -0
- data/app/assets/stylesheets/beyond_canvas/components/_main.scss +39 -0
- data/app/assets/stylesheets/beyond_canvas/components/_margins.scss +9 -0
- data/app/assets/stylesheets/beyond_canvas/components/_markdown.scss +74 -0
- data/app/assets/stylesheets/beyond_canvas/components/_notices.scss +58 -0
- data/app/assets/stylesheets/beyond_canvas/components/_relative.scss +3 -0
- data/app/assets/stylesheets/beyond_canvas/components/_spinner.scss +48 -0
- data/app/assets/stylesheets/beyond_canvas/components/_tables.scss +31 -0
- data/app/assets/stylesheets/beyond_canvas/components/_texts.scss +7 -0
- data/app/assets/stylesheets/beyond_canvas/mailer.scss +5 -0
- data/app/assets/stylesheets/beyond_canvas/settings/_breakpoints.scss +6 -0
- data/app/assets/stylesheets/beyond_canvas/settings/{_reset_css.sass → _reset_css.scss} +29 -21
- data/app/assets/stylesheets/beyond_canvas/settings/_typography.scss +67 -0
- data/app/assets/stylesheets/beyond_canvas/settings/_variables.scss +171 -0
- data/app/assets/stylesheets/beyond_canvas/utilities/_functions.scss +15 -0
- data/app/assets/stylesheets/beyond_canvas/utilities/_mixins.scss +24 -0
- data/app/controllers/beyond_canvas/application_controller.rb +2 -2
- data/app/controllers/beyond_canvas/system_controller.rb +24 -0
- data/app/controllers/concerns/beyond_canvas/locale_management.rb +18 -20
- data/app/controllers/concerns/beyond_canvas/request_validation.rb +37 -0
- data/app/controllers/concerns/beyond_canvas/status_codes.rb +17 -0
- data/app/form_builders/beyond_canvas/form_builder.rb +74 -13
- data/app/helpers/beyond_canvas/application_helper.rb +17 -18
- data/app/helpers/beyond_canvas/locale_switch_helper.rb +1 -1
- data/app/javascript/beyond_canvas/base.js +6 -0
- data/app/{assets/javascripts/beyond_canvas → javascript/beyond_canvas/initializers}/buttons.js +19 -14
- data/app/{assets/javascripts/beyond_canvas → javascript/beyond_canvas/initializers}/flash.js +11 -7
- data/app/javascript/beyond_canvas/initializers/inputs.js +39 -0
- data/app/views/beyond_canvas/custom/_public_head.html.erb +1 -0
- data/app/views/beyond_canvas/locales/_edit.html.erb +8 -0
- data/app/views/beyond_canvas/mailer/_header.html.erb +2 -2
- data/app/views/beyond_canvas/shared/_flash.html.erb +13 -0
- data/app/views/beyond_canvas/shared/_head.html.erb +29 -0
- data/app/views/beyond_canvas/shared/_logo.html.erb +2 -0
- data/app/views/layouts/beyond_canvas/public.html.erb +16 -0
- data/config/initializers/beyond_canvas/filter_parameter_logging.rb +9 -0
- data/config/routes.rb +1 -1
- data/lib/beyond_canvas.rb +13 -16
- data/lib/beyond_canvas/asset_registration.rb +29 -0
- data/lib/beyond_canvas/configuration.rb +27 -0
- data/lib/beyond_canvas/engine.rb +12 -1
- data/lib/beyond_canvas/version.rb +1 -1
- data/lib/generators/beyond_canvas/assets/assets_generator.rb +14 -0
- data/lib/generators/beyond_canvas/assets/templates/beyond_canvas.js +1 -0
- data/lib/generators/beyond_canvas/assets/templates/beyond_canvas.scss +1 -0
- data/lib/generators/beyond_canvas/beyond_api/beyond_api_generator.rb +19 -0
- data/lib/generators/beyond_canvas/{custom_styles_generator.rb → custom_styles/custom_styles_generator.rb} +2 -2
- data/lib/generators/{templates → beyond_canvas/custom_styles/templates}/beyond_canvas_custom_styles.sass +0 -0
- data/lib/generators/beyond_canvas/install/install_generator.rb +35 -0
- data/lib/generators/beyond_canvas/install/templates/beyond_canvas.rb.erb +40 -0
- data/lib/generators/beyond_canvas/webpacker/plugins/jquery.js +7 -0
- data/lib/generators/beyond_canvas/webpacker/templates/beyond_canvas.js +3 -0
- data/lib/generators/beyond_canvas/webpacker/templates/beyond_canvas.scss +1 -0
- data/lib/generators/beyond_canvas/webpacker/webpacker_generator.rb +26 -0
- metadata +107 -66
- data/app/assets/javascripts/beyond_canvas.js +0 -3
- data/app/assets/javascripts/beyond_canvas/inputs.js +0 -28
- data/app/assets/stylesheets/beyond_canvas.sass +0 -24
- data/app/assets/stylesheets/beyond_canvas/components/_actions.sass +0 -5
- data/app/assets/stylesheets/beyond_canvas/components/_buttons.sass +0 -86
- data/app/assets/stylesheets/beyond_canvas/components/_cards.sass +0 -26
- data/app/assets/stylesheets/beyond_canvas/components/_comments.sass +0 -5
- data/app/assets/stylesheets/beyond_canvas/components/_flash.sass +0 -51
- data/app/assets/stylesheets/beyond_canvas/components/_forms.sass +0 -32
- data/app/assets/stylesheets/beyond_canvas/components/_inputs.sass +0 -79
- data/app/assets/stylesheets/beyond_canvas/components/_links.sass +0 -13
- data/app/assets/stylesheets/beyond_canvas/components/_main.sass +0 -28
- data/app/assets/stylesheets/beyond_canvas/components/_margins.sass +0 -7
- data/app/assets/stylesheets/beyond_canvas/components/_markdown.sass +0 -60
- data/app/assets/stylesheets/beyond_canvas/components/_notices.sass +0 -41
- data/app/assets/stylesheets/beyond_canvas/components/_relative.sass +0 -2
- data/app/assets/stylesheets/beyond_canvas/components/_spinner.sass +0 -38
- data/app/assets/stylesheets/beyond_canvas/components/_tables.sass +0 -25
- data/app/assets/stylesheets/beyond_canvas/components/_texts.sass +0 -6
- data/app/assets/stylesheets/beyond_canvas/mailer.sass +0 -5
- data/app/assets/stylesheets/beyond_canvas/settings/_typography.sass +0 -53
- data/app/assets/stylesheets/beyond_canvas/settings/_variables.sass +0 -145
- data/app/assets/stylesheets/beyond_canvas/utilities/_mixins.sass +0 -19
- data/app/views/beyond_canvas/custom/_public_head.html.slim +0 -0
- data/app/views/beyond_canvas/shared/_flash.html.slim +0 -6
- data/app/views/beyond_canvas/shared/_head.html.slim +0 -20
- data/app/views/beyond_canvas/shared/_locale_switch.html.slim +0 -6
- data/app/views/beyond_canvas/shared/_logo.html.slim +0 -2
- data/app/views/layouts/beyond_canvas/public.html.slim +0 -12
- data/config/initializers/beyond_canvas/assets.rb +0 -5
- data/lib/generators/beyond_canvas/install_generator.rb +0 -13
- data/lib/generators/templates/beyond_canvas.rb +0 -8
- data/lib/generators/templates/beyond_canvas_form_utils.rb +0 -23
@@ -0,0 +1,16 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<%= render 'beyond_canvas/shared/head' %>
|
5
|
+
|
6
|
+
<body class="body--public">
|
7
|
+
<main class="main <%= params[:controller].gsub(/[\/_]/, "-") %>--<%= params[:action] %>">
|
8
|
+
<%= render 'beyond_canvas/shared/flash' %>
|
9
|
+
<%= render 'beyond_canvas/locales/edit' %>
|
10
|
+
<div class="main-wrapper">
|
11
|
+
<%= render 'beyond_canvas/shared/logo' %>
|
12
|
+
<%= yield %>
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
</body>
|
16
|
+
</html>
|
data/config/routes.rb
CHANGED
data/lib/beyond_canvas.rb
CHANGED
@@ -4,30 +4,27 @@ require 'beyond_canvas/engine'
|
|
4
4
|
|
5
5
|
require 'colorize'
|
6
6
|
|
7
|
+
require 'jquery-rails'
|
7
8
|
require 'bourbon'
|
8
|
-
require '
|
9
|
+
require 'sassc-rails'
|
9
10
|
require 'inline_svg'
|
10
11
|
require 'http/accept'
|
11
12
|
require 'premailer/rails'
|
12
13
|
|
13
|
-
|
14
|
-
class << self
|
15
|
-
attr_accessor :configuration
|
16
|
-
end
|
17
|
-
|
18
|
-
def self.setup
|
19
|
-
self.configuration ||= Configuration.new
|
14
|
+
require 'beyond_api'
|
20
15
|
|
21
|
-
|
22
|
-
|
16
|
+
module BeyondCanvas # :nodoc:
|
17
|
+
autoload :AssetRegistration, 'beyond_canvas/asset_registration'
|
18
|
+
autoload :Configuration, 'beyond_canvas/configuration'
|
23
19
|
|
24
|
-
class
|
25
|
-
|
20
|
+
class << self
|
21
|
+
def configuration
|
22
|
+
@configuration ||= ::BeyondCanvas::Configuration.new
|
23
|
+
end
|
26
24
|
|
27
|
-
def
|
28
|
-
|
29
|
-
|
30
|
-
@javascript_include_tag = 'application'
|
25
|
+
def setup
|
26
|
+
configuration.setup!
|
27
|
+
yield configuration
|
31
28
|
end
|
32
29
|
end
|
33
30
|
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module BeyondCanvas
|
4
|
+
module AssetRegistration # :nodoc:
|
5
|
+
def register_stylesheet(path, options = {})
|
6
|
+
stylesheets[path] = options
|
7
|
+
end
|
8
|
+
|
9
|
+
def stylesheets
|
10
|
+
@stylesheets ||= {}
|
11
|
+
end
|
12
|
+
|
13
|
+
def clear_stylesheets!
|
14
|
+
stylesheets.clear
|
15
|
+
end
|
16
|
+
|
17
|
+
def register_javascript(name)
|
18
|
+
javascripts.add name
|
19
|
+
end
|
20
|
+
|
21
|
+
def javascripts
|
22
|
+
@javascripts ||= Set.new
|
23
|
+
end
|
24
|
+
|
25
|
+
def clear_javascripts!
|
26
|
+
javascripts.clear
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module BeyondCanvas
|
4
|
+
class Configuration # :nodoc:
|
5
|
+
attr_accessor :site_title, :site_logo, :favicon, :skip_webpacker
|
6
|
+
|
7
|
+
include AssetRegistration
|
8
|
+
|
9
|
+
def initialize
|
10
|
+
@site_title = ::Rails.application.class.name.split('::').first.humanize
|
11
|
+
@site_logo = nil
|
12
|
+
@favicon = nil
|
13
|
+
@skip_webpacker = false
|
14
|
+
end
|
15
|
+
|
16
|
+
def setup!
|
17
|
+
register_default_assets
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def register_default_assets
|
23
|
+
register_stylesheet 'beyond_canvas.css', media: 'screen'
|
24
|
+
register_javascript 'beyond_canvas.js'
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/beyond_canvas/engine.rb
CHANGED
@@ -1,12 +1,23 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module BeyondCanvas
|
4
|
-
class Engine < ::Rails::Engine
|
4
|
+
class Engine < ::Rails::Engine # :nodoc:
|
5
5
|
isolate_namespace BeyondCanvas
|
6
6
|
|
7
|
+
initializer 'beyond_canvas.assets.precompile' do |app|
|
8
|
+
BeyondCanvas.configuration.stylesheets.each do |path, _|
|
9
|
+
app.config.assets.precompile << path
|
10
|
+
end
|
11
|
+
BeyondCanvas.configuration.javascripts.each do |path|
|
12
|
+
app.config.assets.precompile << path
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
7
16
|
config.before_initialize do
|
8
17
|
ActiveSupport.on_load :action_controller do
|
9
18
|
include ::BeyondCanvas::LocaleManagement
|
19
|
+
include ::BeyondCanvas::RequestValidation
|
20
|
+
include ::BeyondCanvas::StatusCodes
|
10
21
|
|
11
22
|
::ActionController::Base.helper BeyondCanvas::Engine.helpers
|
12
23
|
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module BeyondCanvas
|
4
|
+
module Generators
|
5
|
+
class AssetsGenerator < Rails::Generators::Base # :nodoc:
|
6
|
+
source_root File.expand_path('templates', __dir__)
|
7
|
+
|
8
|
+
def install_assets
|
9
|
+
template 'beyond_canvas.js', 'app/assets/javascripts/beyond_canvas.js'
|
10
|
+
template 'beyond_canvas.scss', 'app/assets/stylesheets/beyond_canvas.scss'
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require beyond_canvas/base
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "beyond_canvas/base";
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module BeyondCanvas
|
4
|
+
module Generators
|
5
|
+
class BeyondApiGenerator < Rails::Generators::Base # :nodoc:
|
6
|
+
def install_beyond_api
|
7
|
+
require 'beyond_api'
|
8
|
+
|
9
|
+
initializer_file = File.join(destination_root, 'config/initializers/beyond_api.rb')
|
10
|
+
|
11
|
+
if File.exist?(initializer_file)
|
12
|
+
log :generate, 'No need to install beyond_api, already done.'
|
13
|
+
else
|
14
|
+
invoke 'beyond_api:install'
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module BeyondCanvas
|
4
4
|
module Generators
|
5
|
-
class CustomStylesGenerator < Rails::Generators::Base
|
6
|
-
source_root File.expand_path('
|
5
|
+
class CustomStylesGenerator < Rails::Generators::Base # :nodoc:
|
6
|
+
source_root File.expand_path('templates', __dir__)
|
7
7
|
|
8
8
|
def copy_initializer
|
9
9
|
template 'beyond_canvas_custom_styles.sass', 'app/assets/stylesheets/_beyond_canvas_custom_styles.sass'
|
File without changes
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module BeyondCanvas
|
4
|
+
module Generators
|
5
|
+
class InstallGenerator < Rails::Generators::Base # :nodoc:
|
6
|
+
desc 'Installs Beyond Canvas and generates the necessary files'
|
7
|
+
|
8
|
+
class_option :skip_webpacker, type: :boolean, default: false, desc: 'Use Sprockets assets instead of Webpacker'
|
9
|
+
|
10
|
+
source_root File.expand_path('templates', __dir__)
|
11
|
+
|
12
|
+
def copy_initializer
|
13
|
+
@skip_webpacker = options[:skip_webpacker]
|
14
|
+
|
15
|
+
template 'beyond_canvas.rb.erb', 'config/initializers/beyond_canvas.rb'
|
16
|
+
end
|
17
|
+
|
18
|
+
def setup_routes
|
19
|
+
route "mount BeyondCanvas::Engine => '/'"
|
20
|
+
end
|
21
|
+
|
22
|
+
def create_assets
|
23
|
+
if options[:skip_webpacker]
|
24
|
+
generate 'beyond_canvas:assets'
|
25
|
+
else
|
26
|
+
generate 'beyond_canvas:webpacker'
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def install_beyond_api
|
31
|
+
generate 'beyond_api:install'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
BeyondCanvas.setup do |config|
|
4
|
+
# ==> Site configuration
|
5
|
+
|
6
|
+
# Set the title that is displayed on the main layout..
|
7
|
+
#
|
8
|
+
config.site_title = '<%= Rails.application.class.name.split("::").first.humanize %>'
|
9
|
+
|
10
|
+
# Set an optional image to be displayed instead of a string. Accepts any
|
11
|
+
# string supported by image_tag's source parameter or a SVG file. Overrides
|
12
|
+
# :site_title.
|
13
|
+
#
|
14
|
+
# config.site_logo = 'logo.png'
|
15
|
+
|
16
|
+
# Set the favicon of the site.
|
17
|
+
#
|
18
|
+
# config.favicon = 'favicon.ico'
|
19
|
+
|
20
|
+
# ==> Stylesheets & Javascripts
|
21
|
+
|
22
|
+
# We recommend using the built in Beyond Canvas layout and loading up your own
|
23
|
+
# stylesheets / javascripts to customize the look and feel.
|
24
|
+
#
|
25
|
+
# To load a stylesheet:
|
26
|
+
# config.register_stylesheet 'my_stylesheet.css'
|
27
|
+
#
|
28
|
+
# You can provide an options hash for more control, which is passed along to stylesheet_link_tag():
|
29
|
+
# config.register_stylesheet 'my_print_stylesheet.css', media: :print
|
30
|
+
#
|
31
|
+
# To load a javascript file:
|
32
|
+
# config.register_javascript 'my_javascript.js'
|
33
|
+
|
34
|
+
# ==> Webpacker
|
35
|
+
|
36
|
+
# By default, Active Admin uses Webpacker.
|
37
|
+
# You can switch to using Sprocket's asset pipeline here.
|
38
|
+
#
|
39
|
+
<% unless @skip_webpacker %># <% end %>config.skip_webpacker = <%= @skip_webpacker %>
|
40
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "~@epages/beyond_canvas/src/scss/base";
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module BeyondCanvas
|
4
|
+
module Generators
|
5
|
+
class WebpackerGenerator < Rails::Generators::Base # :nodoc:
|
6
|
+
source_root File.expand_path('templates', __dir__)
|
7
|
+
|
8
|
+
def install_assets
|
9
|
+
template 'beyond_canvas.js', 'app/javascript/packs/beyond_canvas.js'
|
10
|
+
template 'beyond_canvas.scss', 'app/javascript/stylesheets/beyond_canvas.scss'
|
11
|
+
|
12
|
+
copy_file "#{__dir__}/plugins/jquery.js", Rails.root.join('config/webpack/plugins/jquery.js').to_s
|
13
|
+
|
14
|
+
insert_into_file Rails.root.join('config/webpack/environment.js').to_s,
|
15
|
+
"const jquery = require('./plugins/jquery')\n",
|
16
|
+
after: %r{require\(('|")@rails/webpacker\1\);?\n}
|
17
|
+
|
18
|
+
insert_into_file Rails.root.join('config/webpack/environment.js').to_s,
|
19
|
+
"environment.plugins.prepend('jquery', jquery)\n",
|
20
|
+
before: 'module.exports'
|
21
|
+
|
22
|
+
run 'yarn add @epages/beyond_canvas'
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond_canvas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unai Abrisketa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: beyond_api
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.8'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bourbon
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
31
|
- - "~>"
|
18
32
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
33
|
+
version: '7.0'
|
20
34
|
type: :runtime
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
38
|
- - "~>"
|
25
39
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
40
|
+
version: '7.0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: colorize
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,81 +81,81 @@ dependencies:
|
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '1.5'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: rails
|
84
|
+
name: jquery-rails
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
- - ">="
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version: 6.0.2.1
|
89
|
+
version: '4.4'
|
79
90
|
type: :runtime
|
80
91
|
prerelease: false
|
81
92
|
version_requirements: !ruby/object:Gem::Requirement
|
82
93
|
requirements:
|
83
94
|
- - "~>"
|
84
95
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: 6.0.2.1
|
96
|
+
version: '4.4'
|
89
97
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
98
|
+
name: premailer-rails
|
91
99
|
requirement: !ruby/object:Gem::Requirement
|
92
100
|
requirements:
|
93
101
|
- - "~>"
|
94
102
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
103
|
+
version: '1.11'
|
96
104
|
type: :runtime
|
97
105
|
prerelease: false
|
98
106
|
version_requirements: !ruby/object:Gem::Requirement
|
99
107
|
requirements:
|
100
108
|
- - "~>"
|
101
109
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
110
|
+
version: '1.11'
|
103
111
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
112
|
+
name: sassc-rails
|
105
113
|
requirement: !ruby/object:Gem::Requirement
|
106
114
|
requirements:
|
107
115
|
- - "~>"
|
108
116
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
117
|
+
version: '2.1'
|
110
118
|
type: :runtime
|
111
119
|
prerelease: false
|
112
120
|
version_requirements: !ruby/object:Gem::Requirement
|
113
121
|
requirements:
|
114
122
|
- - "~>"
|
115
123
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
124
|
+
version: '2.1'
|
117
125
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
126
|
+
name: sprockets
|
119
127
|
requirement: !ruby/object:Gem::Requirement
|
120
128
|
requirements:
|
121
|
-
- - "
|
129
|
+
- - ">="
|
122
130
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
131
|
+
version: '3.0'
|
132
|
+
- - "<"
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '4.1'
|
124
135
|
type: :runtime
|
125
136
|
prerelease: false
|
126
137
|
version_requirements: !ruby/object:Gem::Requirement
|
127
138
|
requirements:
|
128
|
-
- - "
|
139
|
+
- - ">="
|
129
140
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
141
|
+
version: '3.0'
|
142
|
+
- - "<"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '4.1'
|
131
145
|
- !ruby/object:Gem::Dependency
|
132
|
-
name: rubocop
|
146
|
+
name: rubocop-rails
|
133
147
|
requirement: !ruby/object:Gem::Requirement
|
134
148
|
requirements:
|
135
149
|
- - "~>"
|
136
150
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
151
|
+
version: '2.5'
|
138
152
|
type: :development
|
139
153
|
prerelease: false
|
140
154
|
version_requirements: !ruby/object:Gem::Requirement
|
141
155
|
requirements:
|
142
156
|
- - "~>"
|
143
157
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
158
|
+
version: '2.5'
|
145
159
|
description: |2
|
146
160
|
Beyond Canvas is an open-source framework that provides CSS styles for apps
|
147
161
|
designed and developed for the online shop software Beyond
|
@@ -155,59 +169,86 @@ files:
|
|
155
169
|
- README.md
|
156
170
|
- Rakefile
|
157
171
|
- app/assets/config/beyond_canvas_manifest.js
|
158
|
-
- app/assets/
|
159
|
-
- app/assets/
|
160
|
-
- app/assets/
|
161
|
-
- app/assets/
|
162
|
-
- app/assets/
|
163
|
-
- app/assets/
|
164
|
-
- app/assets/
|
165
|
-
- app/assets/
|
166
|
-
- app/assets/
|
167
|
-
- app/assets/
|
168
|
-
- app/assets/
|
169
|
-
- app/assets/stylesheets/beyond_canvas/
|
170
|
-
- app/assets/stylesheets/beyond_canvas/components/
|
171
|
-
- app/assets/stylesheets/beyond_canvas/components/
|
172
|
-
- app/assets/stylesheets/beyond_canvas/components/
|
173
|
-
- app/assets/stylesheets/beyond_canvas/components/
|
174
|
-
- app/assets/stylesheets/beyond_canvas/components/
|
175
|
-
- app/assets/stylesheets/beyond_canvas/components/
|
176
|
-
- app/assets/stylesheets/beyond_canvas/components/
|
177
|
-
- app/assets/stylesheets/beyond_canvas/components/
|
178
|
-
- app/assets/stylesheets/beyond_canvas/components/
|
179
|
-
- app/assets/stylesheets/beyond_canvas/
|
180
|
-
- app/assets/stylesheets/beyond_canvas/
|
181
|
-
- app/assets/stylesheets/beyond_canvas/
|
182
|
-
- app/assets/stylesheets/beyond_canvas/
|
183
|
-
- app/assets/stylesheets/beyond_canvas/
|
172
|
+
- app/assets/images/icons/checkbox_checked.svg
|
173
|
+
- app/assets/images/icons/checkbox_unchecked.svg
|
174
|
+
- app/assets/images/icons/file.svg
|
175
|
+
- app/assets/images/icons/flash_checkbox.svg
|
176
|
+
- app/assets/images/icons/flash_close.svg
|
177
|
+
- app/assets/images/icons/flash_error.svg
|
178
|
+
- app/assets/images/icons/flash_info.svg
|
179
|
+
- app/assets/images/icons/flash_warning.svg
|
180
|
+
- app/assets/images/icons/radiobutton_checked.svg
|
181
|
+
- app/assets/images/icons/radiobutton_unchecked.svg
|
182
|
+
- app/assets/javascripts/beyond_canvas/base.js
|
183
|
+
- app/assets/stylesheets/beyond_canvas/base.scss
|
184
|
+
- app/assets/stylesheets/beyond_canvas/components/_actions.scss
|
185
|
+
- app/assets/stylesheets/beyond_canvas/components/_buttons.scss
|
186
|
+
- app/assets/stylesheets/beyond_canvas/components/_cards.scss
|
187
|
+
- app/assets/stylesheets/beyond_canvas/components/_comments.scss
|
188
|
+
- app/assets/stylesheets/beyond_canvas/components/_containers.scss
|
189
|
+
- app/assets/stylesheets/beyond_canvas/components/_flash.scss
|
190
|
+
- app/assets/stylesheets/beyond_canvas/components/_forms.scss
|
191
|
+
- app/assets/stylesheets/beyond_canvas/components/_inputs.scss
|
192
|
+
- app/assets/stylesheets/beyond_canvas/components/_layouts.scss
|
193
|
+
- app/assets/stylesheets/beyond_canvas/components/_links.scss
|
194
|
+
- app/assets/stylesheets/beyond_canvas/components/_main.scss
|
195
|
+
- app/assets/stylesheets/beyond_canvas/components/_margins.scss
|
196
|
+
- app/assets/stylesheets/beyond_canvas/components/_markdown.scss
|
197
|
+
- app/assets/stylesheets/beyond_canvas/components/_notices.scss
|
198
|
+
- app/assets/stylesheets/beyond_canvas/components/_relative.scss
|
199
|
+
- app/assets/stylesheets/beyond_canvas/components/_spinner.scss
|
200
|
+
- app/assets/stylesheets/beyond_canvas/components/_tables.scss
|
201
|
+
- app/assets/stylesheets/beyond_canvas/components/_texts.scss
|
202
|
+
- app/assets/stylesheets/beyond_canvas/mailer.scss
|
203
|
+
- app/assets/stylesheets/beyond_canvas/settings/_breakpoints.scss
|
204
|
+
- app/assets/stylesheets/beyond_canvas/settings/_reset_css.scss
|
205
|
+
- app/assets/stylesheets/beyond_canvas/settings/_typography.scss
|
206
|
+
- app/assets/stylesheets/beyond_canvas/settings/_variables.scss
|
207
|
+
- app/assets/stylesheets/beyond_canvas/utilities/_functions.scss
|
208
|
+
- app/assets/stylesheets/beyond_canvas/utilities/_mixins.scss
|
184
209
|
- app/controllers/beyond_canvas/application_controller.rb
|
210
|
+
- app/controllers/beyond_canvas/system_controller.rb
|
185
211
|
- app/controllers/concerns/beyond_canvas/locale_management.rb
|
212
|
+
- app/controllers/concerns/beyond_canvas/request_validation.rb
|
213
|
+
- app/controllers/concerns/beyond_canvas/status_codes.rb
|
186
214
|
- app/form_builders/beyond_canvas/form_builder.rb
|
187
215
|
- app/helpers/beyond_canvas/application_helper.rb
|
188
216
|
- app/helpers/beyond_canvas/locale_switch_helper.rb
|
189
|
-
- app/
|
217
|
+
- app/javascript/beyond_canvas/base.js
|
218
|
+
- app/javascript/beyond_canvas/initializers/buttons.js
|
219
|
+
- app/javascript/beyond_canvas/initializers/flash.js
|
220
|
+
- app/javascript/beyond_canvas/initializers/inputs.js
|
221
|
+
- app/views/beyond_canvas/custom/_public_head.html.erb
|
222
|
+
- app/views/beyond_canvas/locales/_edit.html.erb
|
190
223
|
- app/views/beyond_canvas/mailer/_button.html.erb
|
191
224
|
- app/views/beyond_canvas/mailer/_footer.html.erb
|
192
225
|
- app/views/beyond_canvas/mailer/_header.html.erb
|
193
226
|
- app/views/beyond_canvas/mailer/_text.html.erb
|
194
|
-
- app/views/beyond_canvas/shared/_flash.html.
|
195
|
-
- app/views/beyond_canvas/shared/_head.html.
|
196
|
-
- app/views/beyond_canvas/shared/
|
197
|
-
- app/views/beyond_canvas/shared/_logo.html.slim
|
227
|
+
- app/views/beyond_canvas/shared/_flash.html.erb
|
228
|
+
- app/views/beyond_canvas/shared/_head.html.erb
|
229
|
+
- app/views/beyond_canvas/shared/_logo.html.erb
|
198
230
|
- app/views/layouts/beyond_canvas/mailer.html.erb
|
199
|
-
- app/views/layouts/beyond_canvas/public.html.
|
200
|
-
- config/initializers/beyond_canvas/
|
231
|
+
- app/views/layouts/beyond_canvas/public.html.erb
|
232
|
+
- config/initializers/beyond_canvas/filter_parameter_logging.rb
|
201
233
|
- config/initializers/beyond_canvas/form_utils.rb
|
202
234
|
- config/routes.rb
|
203
235
|
- lib/beyond_canvas.rb
|
236
|
+
- lib/beyond_canvas/asset_registration.rb
|
237
|
+
- lib/beyond_canvas/configuration.rb
|
204
238
|
- lib/beyond_canvas/engine.rb
|
205
239
|
- lib/beyond_canvas/version.rb
|
206
|
-
- lib/generators/beyond_canvas/
|
207
|
-
- lib/generators/beyond_canvas/
|
208
|
-
- lib/generators/templates/beyond_canvas.
|
209
|
-
- lib/generators/
|
210
|
-
- lib/generators/
|
240
|
+
- lib/generators/beyond_canvas/assets/assets_generator.rb
|
241
|
+
- lib/generators/beyond_canvas/assets/templates/beyond_canvas.js
|
242
|
+
- lib/generators/beyond_canvas/assets/templates/beyond_canvas.scss
|
243
|
+
- lib/generators/beyond_canvas/beyond_api/beyond_api_generator.rb
|
244
|
+
- lib/generators/beyond_canvas/custom_styles/custom_styles_generator.rb
|
245
|
+
- lib/generators/beyond_canvas/custom_styles/templates/beyond_canvas_custom_styles.sass
|
246
|
+
- lib/generators/beyond_canvas/install/install_generator.rb
|
247
|
+
- lib/generators/beyond_canvas/install/templates/beyond_canvas.rb.erb
|
248
|
+
- lib/generators/beyond_canvas/webpacker/plugins/jquery.js
|
249
|
+
- lib/generators/beyond_canvas/webpacker/templates/beyond_canvas.js
|
250
|
+
- lib/generators/beyond_canvas/webpacker/templates/beyond_canvas.scss
|
251
|
+
- lib/generators/beyond_canvas/webpacker/webpacker_generator.rb
|
211
252
|
homepage: https://github.com/ePages-de/beyond_canvas
|
212
253
|
licenses:
|
213
254
|
- MIT
|
@@ -220,7 +261,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
261
|
requirements:
|
221
262
|
- - ">="
|
222
263
|
- !ruby/object:Gem::Version
|
223
|
-
version: '
|
264
|
+
version: '2.5'
|
224
265
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
266
|
requirements:
|
226
267
|
- - ">"
|