workarea-product_grid_content 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +20 -0
  3. data/.eslintrc +25 -0
  4. data/.eslintrc.json +35 -0
  5. data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  6. data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
  7. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  8. data/.github/workflows/ci.yml +61 -0
  9. data/.gitignore +20 -0
  10. data/.rubocop.yml +2 -0
  11. data/.scss-lint.yml +192 -0
  12. data/.stylelintrc.json +8 -0
  13. data/CHANGELOG.md +104 -0
  14. data/CODE_OF_CONDUCT.md +3 -0
  15. data/CONTRIBUTING.md +3 -0
  16. data/Gemfile +5 -0
  17. data/LICENSE.md +3 -0
  18. data/README.md +72 -0
  19. data/Rakefile +59 -0
  20. data/app/assets/images/workarea/admin/content_block_types/insights_grid_cell.svg +1 -0
  21. data/app/assets/images/workarea/admin/content_block_types/product_grid_cell.svg +1 -0
  22. data/app/assets/javascripts/workarea/storefront/product_grid_content/modules/match_product_summary_height.js +53 -0
  23. data/app/assets/stylesheets/workarea/product_grid_content/components/_content_block_product_grid_cell.scss +45 -0
  24. data/app/assets/stylesheets/workarea/product_grid_content/components/_insights_grid_cell_content_block.scss +10 -0
  25. data/app/assets/stylesheets/workarea/product_grid_content/components/_pagination_product_grid_content.scss +9 -0
  26. data/app/assets/stylesheets/workarea/product_grid_content/components/_product_grid_cell_content_block.scss +30 -0
  27. data/app/controllers/workarea/storefront/content_blocks_controller.decorator +46 -0
  28. data/app/view_models/workarea/storefront/category_view_model.decorator +11 -0
  29. data/app/view_models/workarea/storefront/content_blocks/grid_content.rb +40 -0
  30. data/app/view_models/workarea/storefront/content_blocks/insights_grid_cell_view_model.rb +25 -0
  31. data/app/view_models/workarea/storefront/content_blocks/product_grid_cell_view_model.rb +23 -0
  32. data/app/view_models/workarea/storefront/product_grid_content.rb +17 -0
  33. data/app/view_models/workarea/storefront/search_view_model.decorator +12 -0
  34. data/app/views/layouts/workarea/storefront/in_grid_content_preview.html.haml +55 -0
  35. data/app/views/workarea/storefront/content_blocks/_insights_grid_cell.html.haml +8 -0
  36. data/app/views/workarea/storefront/content_blocks/_product_grid_cell.html.haml +10 -0
  37. data/app/views/workarea/storefront/shared/_product_grid_content_cell.html.haml +3 -0
  38. data/app/views/workarea/storefront/style_guides/components/_product_grid_cell_content_block.html.haml +27 -0
  39. data/bin/rails +25 -0
  40. data/config/initializers/appends.rb +23 -0
  41. data/config/initializers/content_block_config.rb +17 -0
  42. data/config/initializers/content_block_types.rb +48 -0
  43. data/lib/workarea/product_grid_content/engine.rb +8 -0
  44. data/lib/workarea/product_grid_content/version.rb +5 -0
  45. data/lib/workarea/product_grid_content.rb +11 -0
  46. data/package.json +9 -0
  47. data/public/sample_grid_content.png +0 -0
  48. data/test/dummy/Rakefile +6 -0
  49. data/test/dummy/bin/bundle +3 -0
  50. data/test/dummy/bin/rails +4 -0
  51. data/test/dummy/bin/rake +4 -0
  52. data/test/dummy/bin/setup +28 -0
  53. data/test/dummy/bin/update +28 -0
  54. data/test/dummy/bin/yarn +11 -0
  55. data/test/dummy/config/application.rb +31 -0
  56. data/test/dummy/config/boot.rb +5 -0
  57. data/test/dummy/config/environment.rb +5 -0
  58. data/test/dummy/config/environments/development.rb +52 -0
  59. data/test/dummy/config/environments/production.rb +83 -0
  60. data/test/dummy/config/environments/test.rb +45 -0
  61. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  62. data/test/dummy/config/initializers/assets.rb +14 -0
  63. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  64. data/test/dummy/config/initializers/content_security_policy.rb +25 -0
  65. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  66. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  67. data/test/dummy/config/initializers/inflections.rb +16 -0
  68. data/test/dummy/config/initializers/mime_types.rb +4 -0
  69. data/test/dummy/config/initializers/workarea.rb +5 -0
  70. data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
  71. data/test/dummy/config/locales/en.yml +33 -0
  72. data/test/dummy/config/puma.rb +34 -0
  73. data/test/dummy/config/routes.rb +5 -0
  74. data/test/dummy/config/secrets.yml +32 -0
  75. data/test/dummy/config/spring.rb +6 -0
  76. data/test/dummy/config.ru +5 -0
  77. data/test/dummy/db/seeds.rb +2 -0
  78. data/test/dummy/lib/assets/.keep +0 -0
  79. data/test/dummy/log/.keep +0 -0
  80. data/test/dummy/package.json +5 -0
  81. data/test/system/workarea/admin/in_grid_content_system_test.rb +67 -0
  82. data/test/teaspoon_env.rb +6 -0
  83. data/test/test_helper.rb +10 -0
  84. data/test/view_models/workarea/storefront/category_view_model_test.decorator +31 -0
  85. data/test/view_models/workarea/storefront/content_blocks/insights_grid_cell_view_model_test.rb +63 -0
  86. data/test/view_models/workarea/storefront/content_blocks/product_grid_cell_view_model_test.rb +77 -0
  87. data/workarea-product_grid_content.gemspec +16 -0
  88. data/yarn.lock +3290 -0
  89. metadata +150 -0
metadata ADDED
@@ -0,0 +1,150 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: workarea-product_grid_content
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.0
5
+ platform: ruby
6
+ authors:
7
+ - Jake Beresford
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-12-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: workarea
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.x
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: '3.4'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: 3.x
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '3.4'
33
+ description: Extend the workarea platform with functionality to add content to the
34
+ product grid
35
+ email:
36
+ - jberesford@weblinc.com
37
+ executables: []
38
+ extensions: []
39
+ extra_rdoc_files: []
40
+ files:
41
+ - ".editorconfig"
42
+ - ".eslintrc"
43
+ - ".eslintrc.json"
44
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
45
+ - ".github/ISSUE_TEMPLATE/documentation-request.md"
46
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
47
+ - ".github/workflows/ci.yml"
48
+ - ".gitignore"
49
+ - ".rubocop.yml"
50
+ - ".scss-lint.yml"
51
+ - ".stylelintrc.json"
52
+ - CHANGELOG.md
53
+ - CODE_OF_CONDUCT.md
54
+ - CONTRIBUTING.md
55
+ - Gemfile
56
+ - LICENSE.md
57
+ - README.md
58
+ - Rakefile
59
+ - app/assets/images/workarea/admin/content_block_types/insights_grid_cell.svg
60
+ - app/assets/images/workarea/admin/content_block_types/product_grid_cell.svg
61
+ - app/assets/javascripts/workarea/storefront/product_grid_content/modules/match_product_summary_height.js
62
+ - app/assets/stylesheets/workarea/product_grid_content/components/_content_block_product_grid_cell.scss
63
+ - app/assets/stylesheets/workarea/product_grid_content/components/_insights_grid_cell_content_block.scss
64
+ - app/assets/stylesheets/workarea/product_grid_content/components/_pagination_product_grid_content.scss
65
+ - app/assets/stylesheets/workarea/product_grid_content/components/_product_grid_cell_content_block.scss
66
+ - app/controllers/workarea/storefront/content_blocks_controller.decorator
67
+ - app/view_models/workarea/storefront/category_view_model.decorator
68
+ - app/view_models/workarea/storefront/content_blocks/grid_content.rb
69
+ - app/view_models/workarea/storefront/content_blocks/insights_grid_cell_view_model.rb
70
+ - app/view_models/workarea/storefront/content_blocks/product_grid_cell_view_model.rb
71
+ - app/view_models/workarea/storefront/product_grid_content.rb
72
+ - app/view_models/workarea/storefront/search_view_model.decorator
73
+ - app/views/layouts/workarea/storefront/in_grid_content_preview.html.haml
74
+ - app/views/workarea/storefront/content_blocks/_insights_grid_cell.html.haml
75
+ - app/views/workarea/storefront/content_blocks/_product_grid_cell.html.haml
76
+ - app/views/workarea/storefront/shared/_product_grid_content_cell.html.haml
77
+ - app/views/workarea/storefront/style_guides/components/_product_grid_cell_content_block.html.haml
78
+ - bin/rails
79
+ - config/initializers/appends.rb
80
+ - config/initializers/content_block_config.rb
81
+ - config/initializers/content_block_types.rb
82
+ - lib/workarea/product_grid_content.rb
83
+ - lib/workarea/product_grid_content/engine.rb
84
+ - lib/workarea/product_grid_content/version.rb
85
+ - package.json
86
+ - public/sample_grid_content.png
87
+ - test/dummy/Rakefile
88
+ - test/dummy/bin/bundle
89
+ - test/dummy/bin/rails
90
+ - test/dummy/bin/rake
91
+ - test/dummy/bin/setup
92
+ - test/dummy/bin/update
93
+ - test/dummy/bin/yarn
94
+ - test/dummy/config.ru
95
+ - test/dummy/config/application.rb
96
+ - test/dummy/config/boot.rb
97
+ - test/dummy/config/environment.rb
98
+ - test/dummy/config/environments/development.rb
99
+ - test/dummy/config/environments/production.rb
100
+ - test/dummy/config/environments/test.rb
101
+ - test/dummy/config/initializers/application_controller_renderer.rb
102
+ - test/dummy/config/initializers/assets.rb
103
+ - test/dummy/config/initializers/backtrace_silencers.rb
104
+ - test/dummy/config/initializers/content_security_policy.rb
105
+ - test/dummy/config/initializers/cookies_serializer.rb
106
+ - test/dummy/config/initializers/filter_parameter_logging.rb
107
+ - test/dummy/config/initializers/inflections.rb
108
+ - test/dummy/config/initializers/mime_types.rb
109
+ - test/dummy/config/initializers/workarea.rb
110
+ - test/dummy/config/initializers/wrap_parameters.rb
111
+ - test/dummy/config/locales/en.yml
112
+ - test/dummy/config/puma.rb
113
+ - test/dummy/config/routes.rb
114
+ - test/dummy/config/secrets.yml
115
+ - test/dummy/config/spring.rb
116
+ - test/dummy/db/seeds.rb
117
+ - test/dummy/lib/assets/.keep
118
+ - test/dummy/log/.keep
119
+ - test/dummy/package.json
120
+ - test/system/workarea/admin/in_grid_content_system_test.rb
121
+ - test/teaspoon_env.rb
122
+ - test/test_helper.rb
123
+ - test/view_models/workarea/storefront/category_view_model_test.decorator
124
+ - test/view_models/workarea/storefront/content_blocks/insights_grid_cell_view_model_test.rb
125
+ - test/view_models/workarea/storefront/content_blocks/product_grid_cell_view_model_test.rb
126
+ - workarea-product_grid_content.gemspec
127
+ - yarn.lock
128
+ homepage: https://github.com/workarea-commerce/workarea-product-grid-content
129
+ licenses: []
130
+ metadata: {}
131
+ post_install_message:
132
+ rdoc_options: []
133
+ require_paths:
134
+ - lib
135
+ required_ruby_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ required_rubygems_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ requirements: []
146
+ rubygems_version: 3.0.6
147
+ signing_key:
148
+ specification_version: 4
149
+ summary: Content and products in browse grids
150
+ test_files: []