form_components 0.1.1
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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +29 -0
- data/MIT-LICENSE +20 -0
- data/README.md +194 -0
- data/app/assets/stylesheets/form_components/application.css +9 -0
- data/app/assets/tailwind/form_components/engine.css +6 -0
- data/app/components/form_components/base/component.rb +76 -0
- data/app/components/form_components/check_box/component.html.slim +13 -0
- data/app/components/form_components/check_box/component.rb +26 -0
- data/app/components/form_components/collection/component.html.slim +10 -0
- data/app/components/form_components/collection/component.rb +76 -0
- data/app/components/form_components/collection_check_boxes/component.rb +12 -0
- data/app/components/form_components/collection_radio_buttons/component.rb +12 -0
- data/app/components/form_components/color_field/component.css +69 -0
- data/app/components/form_components/color_field/component.html.slim +8 -0
- data/app/components/form_components/color_field/component.rb +26 -0
- data/app/components/form_components/color_field/component_controller.js +25 -0
- data/app/components/form_components/combobox/component.html.slim +8 -0
- data/app/components/form_components/combobox/component.rb +28 -0
- data/app/components/form_components/field/component.rb +58 -0
- data/app/components/form_components/file_field/component.html.slim +10 -0
- data/app/components/form_components/file_field/component.rb +25 -0
- data/app/components/form_components/label/component.rb +31 -0
- data/app/components/form_components/nested_form/component.html.slim +20 -0
- data/app/components/form_components/nested_form/component.rb +71 -0
- data/app/components/form_components/nested_form/component_controller.js +36 -0
- data/app/components/form_components/radio_button/component.html.slim +12 -0
- data/app/components/form_components/radio_button/component.rb +24 -0
- data/app/components/form_components/rating_field/component.rb +39 -0
- data/app/components/form_components/scale_field/component.rb +44 -0
- data/app/components/form_components/select/component.html.slim +8 -0
- data/app/components/form_components/select/component.rb +35 -0
- data/app/components/form_components/submit/component.rb +21 -0
- data/app/components/form_components/text_area/component.html.slim +14 -0
- data/app/components/form_components/text_area/component.rb +22 -0
- data/app/components/form_components/text_field/component.html.slim +16 -0
- data/app/components/form_components/text_field/component.rb +33 -0
- data/app/components/form_components/validation.rb +41 -0
- data/app/form_builders/form_components/form_builder.rb +133 -0
- data/app/form_builders/form_components/validation_context.rb +17 -0
- data/app/javascript/form_components/application.js +12 -0
- data/config/importmap.rb +6 -0
- data/lib/form_components/engine.rb +23 -0
- data/lib/form_components/version.rb +5 -0
- data/lib/form_components.rb +13 -0
- data/vendor/javascript/form_components/jscolorpicker/LICENSE +21 -0
- data/vendor/javascript/form_components/jscolorpicker/colorpicker.css +409 -0
- data/vendor/javascript/form_components/jscolorpicker/colorpicker.js +2410 -0
- metadata +145 -0
metadata
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: form_components
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Tom de Grunt
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: rails
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '7.1'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '7.1'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: view_component
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '3'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '3'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: slim-rails
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '3'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '3'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: importmap-rails
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '2'
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '2'
|
|
68
|
+
description: Text fields, text areas, check boxes, radio buttons, selects, a combobox,
|
|
69
|
+
ratings, scales, color and file fields, a submit button and nested forms as view
|
|
70
|
+
components, with their Stimulus controllers and styles, in a Rails engine.
|
|
71
|
+
email:
|
|
72
|
+
- tom@degrunt.nl
|
|
73
|
+
executables: []
|
|
74
|
+
extensions: []
|
|
75
|
+
extra_rdoc_files: []
|
|
76
|
+
files:
|
|
77
|
+
- CHANGELOG.md
|
|
78
|
+
- MIT-LICENSE
|
|
79
|
+
- README.md
|
|
80
|
+
- app/assets/stylesheets/form_components/application.css
|
|
81
|
+
- app/assets/tailwind/form_components/engine.css
|
|
82
|
+
- app/components/form_components/base/component.rb
|
|
83
|
+
- app/components/form_components/check_box/component.html.slim
|
|
84
|
+
- app/components/form_components/check_box/component.rb
|
|
85
|
+
- app/components/form_components/collection/component.html.slim
|
|
86
|
+
- app/components/form_components/collection/component.rb
|
|
87
|
+
- app/components/form_components/collection_check_boxes/component.rb
|
|
88
|
+
- app/components/form_components/collection_radio_buttons/component.rb
|
|
89
|
+
- app/components/form_components/color_field/component.css
|
|
90
|
+
- app/components/form_components/color_field/component.html.slim
|
|
91
|
+
- app/components/form_components/color_field/component.rb
|
|
92
|
+
- app/components/form_components/color_field/component_controller.js
|
|
93
|
+
- app/components/form_components/combobox/component.html.slim
|
|
94
|
+
- app/components/form_components/combobox/component.rb
|
|
95
|
+
- app/components/form_components/field/component.rb
|
|
96
|
+
- app/components/form_components/file_field/component.html.slim
|
|
97
|
+
- app/components/form_components/file_field/component.rb
|
|
98
|
+
- app/components/form_components/label/component.rb
|
|
99
|
+
- app/components/form_components/nested_form/component.html.slim
|
|
100
|
+
- app/components/form_components/nested_form/component.rb
|
|
101
|
+
- app/components/form_components/nested_form/component_controller.js
|
|
102
|
+
- app/components/form_components/radio_button/component.html.slim
|
|
103
|
+
- app/components/form_components/radio_button/component.rb
|
|
104
|
+
- app/components/form_components/rating_field/component.rb
|
|
105
|
+
- app/components/form_components/scale_field/component.rb
|
|
106
|
+
- app/components/form_components/select/component.html.slim
|
|
107
|
+
- app/components/form_components/select/component.rb
|
|
108
|
+
- app/components/form_components/submit/component.rb
|
|
109
|
+
- app/components/form_components/text_area/component.html.slim
|
|
110
|
+
- app/components/form_components/text_area/component.rb
|
|
111
|
+
- app/components/form_components/text_field/component.html.slim
|
|
112
|
+
- app/components/form_components/text_field/component.rb
|
|
113
|
+
- app/components/form_components/validation.rb
|
|
114
|
+
- app/form_builders/form_components/form_builder.rb
|
|
115
|
+
- app/form_builders/form_components/validation_context.rb
|
|
116
|
+
- app/javascript/form_components/application.js
|
|
117
|
+
- config/importmap.rb
|
|
118
|
+
- lib/form_components.rb
|
|
119
|
+
- lib/form_components/engine.rb
|
|
120
|
+
- lib/form_components/version.rb
|
|
121
|
+
- vendor/javascript/form_components/jscolorpicker/LICENSE
|
|
122
|
+
- vendor/javascript/form_components/jscolorpicker/colorpicker.css
|
|
123
|
+
- vendor/javascript/form_components/jscolorpicker/colorpicker.js
|
|
124
|
+
homepage: https://github.com/entdec/form_components
|
|
125
|
+
licenses:
|
|
126
|
+
- MIT
|
|
127
|
+
metadata: {}
|
|
128
|
+
rdoc_options: []
|
|
129
|
+
require_paths:
|
|
130
|
+
- lib
|
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
|
+
requirements:
|
|
133
|
+
- - ">="
|
|
134
|
+
- !ruby/object:Gem::Version
|
|
135
|
+
version: '3.2'
|
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
|
+
requirements:
|
|
138
|
+
- - ">="
|
|
139
|
+
- !ruby/object:Gem::Version
|
|
140
|
+
version: '0'
|
|
141
|
+
requirements: []
|
|
142
|
+
rubygems_version: 3.6.9
|
|
143
|
+
specification_version: 4
|
|
144
|
+
summary: A form builder for Rails that renders its fields as Tailwind view components
|
|
145
|
+
test_files: []
|