alveole 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.gitlab-ci.yml +55 -0
  4. data/.rubocop.yml +63 -0
  5. data/.rubocop_todo.yml +12 -0
  6. data/.travis.yml +6 -0
  7. data/CODE_OF_CONDUCT.md +74 -0
  8. data/Gemfile +7 -0
  9. data/Gemfile.lock +171 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +44 -0
  12. data/Rakefile +10 -0
  13. data/alveole.gemspec +35 -0
  14. data/bin/console +14 -0
  15. data/bin/setup +8 -0
  16. data/lib/alveole/components/avatar_component/avatar_component.html.slim +6 -0
  17. data/lib/alveole/components/avatar_component.rb +9 -0
  18. data/lib/alveole/components/badge_component/badge_component.html.slim +2 -0
  19. data/lib/alveole/components/badge_component.rb +8 -0
  20. data/lib/alveole/components/breadcrumb_component/breadcrumb_component.html.slim +2 -0
  21. data/lib/alveole/components/breadcrumb_component.rb +8 -0
  22. data/lib/alveole/components/breadcrumbs_component.rb +7 -0
  23. data/lib/alveole/components/button_component/button_component.html.slim +5 -0
  24. data/lib/alveole/components/button_component.rb +15 -0
  25. data/lib/alveole/components/definition_component/definition_component.html.slim +4 -0
  26. data/lib/alveole/components/definition_component.rb +13 -0
  27. data/lib/alveole/components/form_component/form_component.html.slim +3 -0
  28. data/lib/alveole/components/form_component.rb +3 -0
  29. data/lib/alveole/components/form_submit_component/form_submit_component.html.slim +1 -0
  30. data/lib/alveole/components/form_submit_component.rb +7 -0
  31. data/lib/alveole/components/heading_component/heading_component.html.slim +4 -0
  32. data/lib/alveole/components/heading_component.rb +8 -0
  33. data/lib/alveole/components/input_component/input_component.html.slim +17 -0
  34. data/lib/alveole/components/input_component.rb +42 -0
  35. data/lib/alveole/components/notice_component/notice_component.html.slim +5 -0
  36. data/lib/alveole/components/notice_component.rb +15 -0
  37. data/lib/alveole/components/page_component/page_component.html.slim +10 -0
  38. data/lib/alveole/components/page_component.rb +4 -0
  39. data/lib/alveole/components/sidebar_component/sidebar_component.html.slim +7 -0
  40. data/lib/alveole/components/sidebar_component.rb +4 -0
  41. data/lib/alveole/components/table_column_component/table_column_component.html.slim +3 -0
  42. data/lib/alveole/components/table_column_component.rb +12 -0
  43. data/lib/alveole/components/table_component/table_component.html.slim +7 -0
  44. data/lib/alveole/components/table_component.rb +3 -0
  45. data/lib/alveole/components/table_header_component/table_header_component.html.slim +2 -0
  46. data/lib/alveole/components/table_header_component.rb +8 -0
  47. data/lib/alveole/components/table_row_component/table_row_component.html.slim +4 -0
  48. data/lib/alveole/components/table_row_component.rb +3 -0
  49. data/lib/alveole/components/toolbar_component/toolbar_component.html.slim +7 -0
  50. data/lib/alveole/components/toolbar_component.rb +4 -0
  51. data/lib/alveole/concerns/bem.rb +21 -0
  52. data/lib/alveole/engine.rb +30 -0
  53. data/lib/alveole/helpers/method_helper.rb +31 -0
  54. data/lib/alveole/javascript/components.js +5 -0
  55. data/lib/alveole/previews/avatar_component_preview.rb +11 -0
  56. data/lib/alveole/previews/badge_component_preview.rb +11 -0
  57. data/lib/alveole/previews/breadcrumb_component_preview.rb +15 -0
  58. data/lib/alveole/previews/button_component_preview.rb +7 -0
  59. data/lib/alveole/previews/definition_component_preview.rb +33 -0
  60. data/lib/alveole/previews/form_component_preview.rb +18 -0
  61. data/lib/alveole/previews/form_submit_component_preview.rb +7 -0
  62. data/lib/alveole/previews/heading_component_preview.rb +11 -0
  63. data/lib/alveole/previews/input_component_preview.rb +32 -0
  64. data/lib/alveole/previews/notice_component_preview.rb +15 -0
  65. data/lib/alveole/previews/page_component_preview.rb +33 -0
  66. data/lib/alveole/previews/sidebar_component_preview.rb +33 -0
  67. data/lib/alveole/previews/table_column_component_preview.rb +36 -0
  68. data/lib/alveole/previews/table_component_preview.rb +12 -0
  69. data/lib/alveole/previews/table_header_component_preview.rb +27 -0
  70. data/lib/alveole/previews/table_row_component_preview.rb +18 -0
  71. data/lib/alveole/previews/toolbar_component_preview.rb +33 -0
  72. data/lib/alveole/version.rb +3 -0
  73. data/lib/alveole.rb +16 -0
  74. data/lib/generators/alveole/config_generator.rb +17 -0
  75. data/lib/generators/alveole/templates/alveole_config.rb +1 -0
  76. metadata +197 -0
@@ -0,0 +1,17 @@
1
+ module Alveole
2
+ module Generators
3
+ # rails g alveole:config
4
+ class ConfigGenerator < Rails::Generators::Base # :nodoc:
5
+ source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
6
+
7
+ desc <<~DESC
8
+ Description:
9
+ Copies Alveole configuration file to your application's initializer directory.
10
+ DESC
11
+
12
+ def copy_config_file
13
+ template 'alveole_config.rb', 'config/initializers/alveole_config.rb'
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1 @@
1
+ # Alveole
metadata ADDED
@@ -0,0 +1,197 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: alveole
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Marine Sourin
8
+ - Marine Domine
9
+ - Cedric Feyaerts
10
+ - Thomas Kienlen
11
+ autorequire:
12
+ bindir: exe
13
+ cert_chain: []
14
+ date: 2021-08-23 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: actionview
18
+ requirement: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: activesupport
32
+ requirement: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 4.1.0
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 4.1.0
44
+ - !ruby/object:Gem::Dependency
45
+ name: rails
46
+ requirement: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ - !ruby/object:Gem::Dependency
59
+ name: view_component
60
+ requirement: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - "~>"
63
+ - !ruby/object:Gem::Version
64
+ version: '2.35'
65
+ type: :runtime
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '2.35'
72
+ - !ruby/object:Gem::Dependency
73
+ name: rubocop
74
+ requirement: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - "~>"
77
+ - !ruby/object:Gem::Version
78
+ version: '1.18'
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '1.18'
86
+ description:
87
+ email:
88
+ - marinesourin@live.fr
89
+ - marine@captive.fr
90
+ - c.feyaerts@captive.fr
91
+ - t.kienlen@captive.fr
92
+ executables: []
93
+ extensions: []
94
+ extra_rdoc_files: []
95
+ files:
96
+ - ".gitignore"
97
+ - ".gitlab-ci.yml"
98
+ - ".rubocop.yml"
99
+ - ".rubocop_todo.yml"
100
+ - ".travis.yml"
101
+ - CODE_OF_CONDUCT.md
102
+ - Gemfile
103
+ - Gemfile.lock
104
+ - LICENSE.txt
105
+ - README.md
106
+ - Rakefile
107
+ - alveole.gemspec
108
+ - bin/console
109
+ - bin/setup
110
+ - lib/alveole.rb
111
+ - lib/alveole/components/avatar_component.rb
112
+ - lib/alveole/components/avatar_component/avatar_component.html.slim
113
+ - lib/alveole/components/badge_component.rb
114
+ - lib/alveole/components/badge_component/badge_component.html.slim
115
+ - lib/alveole/components/breadcrumb_component.rb
116
+ - lib/alveole/components/breadcrumb_component/breadcrumb_component.html.slim
117
+ - lib/alveole/components/breadcrumbs_component.rb
118
+ - lib/alveole/components/button_component.rb
119
+ - lib/alveole/components/button_component/button_component.html.slim
120
+ - lib/alveole/components/definition_component.rb
121
+ - lib/alveole/components/definition_component/definition_component.html.slim
122
+ - lib/alveole/components/form_component.rb
123
+ - lib/alveole/components/form_component/form_component.html.slim
124
+ - lib/alveole/components/form_submit_component.rb
125
+ - lib/alveole/components/form_submit_component/form_submit_component.html.slim
126
+ - lib/alveole/components/heading_component.rb
127
+ - lib/alveole/components/heading_component/heading_component.html.slim
128
+ - lib/alveole/components/input_component.rb
129
+ - lib/alveole/components/input_component/input_component.html.slim
130
+ - lib/alveole/components/notice_component.rb
131
+ - lib/alveole/components/notice_component/notice_component.html.slim
132
+ - lib/alveole/components/page_component.rb
133
+ - lib/alveole/components/page_component/page_component.html.slim
134
+ - lib/alveole/components/sidebar_component.rb
135
+ - lib/alveole/components/sidebar_component/sidebar_component.html.slim
136
+ - lib/alveole/components/table_column_component.rb
137
+ - lib/alveole/components/table_column_component/table_column_component.html.slim
138
+ - lib/alveole/components/table_component.rb
139
+ - lib/alveole/components/table_component/table_component.html.slim
140
+ - lib/alveole/components/table_header_component.rb
141
+ - lib/alveole/components/table_header_component/table_header_component.html.slim
142
+ - lib/alveole/components/table_row_component.rb
143
+ - lib/alveole/components/table_row_component/table_row_component.html.slim
144
+ - lib/alveole/components/toolbar_component.rb
145
+ - lib/alveole/components/toolbar_component/toolbar_component.html.slim
146
+ - lib/alveole/concerns/bem.rb
147
+ - lib/alveole/engine.rb
148
+ - lib/alveole/helpers/method_helper.rb
149
+ - lib/alveole/javascript/components.js
150
+ - lib/alveole/previews/avatar_component_preview.rb
151
+ - lib/alveole/previews/badge_component_preview.rb
152
+ - lib/alveole/previews/breadcrumb_component_preview.rb
153
+ - lib/alveole/previews/button_component_preview.rb
154
+ - lib/alveole/previews/definition_component_preview.rb
155
+ - lib/alveole/previews/form_component_preview.rb
156
+ - lib/alveole/previews/form_submit_component_preview.rb
157
+ - lib/alveole/previews/heading_component_preview.rb
158
+ - lib/alveole/previews/input_component_preview.rb
159
+ - lib/alveole/previews/notice_component_preview.rb
160
+ - lib/alveole/previews/page_component_preview.rb
161
+ - lib/alveole/previews/sidebar_component_preview.rb
162
+ - lib/alveole/previews/table_column_component_preview.rb
163
+ - lib/alveole/previews/table_component_preview.rb
164
+ - lib/alveole/previews/table_header_component_preview.rb
165
+ - lib/alveole/previews/table_row_component_preview.rb
166
+ - lib/alveole/previews/toolbar_component_preview.rb
167
+ - lib/alveole/version.rb
168
+ - lib/generators/alveole/config_generator.rb
169
+ - lib/generators/alveole/templates/alveole_config.rb
170
+ homepage: https://git.captive.fr
171
+ licenses:
172
+ - MIT
173
+ metadata:
174
+ allowed_push_host: https://rubygems.org
175
+ homepage_uri: https://git.captive.fr
176
+ source_code_uri: https://git.captive.fr
177
+ changelog_uri: https://git.captive.fr
178
+ post_install_message:
179
+ rdoc_options: []
180
+ require_paths:
181
+ - lib
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: 2.5.0
187
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ requirements: []
193
+ rubygems_version: 3.2.22
194
+ signing_key:
195
+ specification_version: 4
196
+ summary: Components and generator for the Alveole design system
197
+ test_files: []