nitro_kit 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +1 -0
  3. data/Rakefile +6 -0
  4. data/app/components/nitro_kit/accordion.rb +60 -0
  5. data/app/components/nitro_kit/badge.rb +34 -0
  6. data/app/components/nitro_kit/button.rb +109 -0
  7. data/app/components/nitro_kit/button_group.rb +19 -0
  8. data/app/components/nitro_kit/card.rb +23 -0
  9. data/app/components/nitro_kit/checkbox.rb +62 -0
  10. data/app/components/nitro_kit/component.rb +31 -0
  11. data/app/components/nitro_kit/dropdown.rb +110 -0
  12. data/app/components/nitro_kit/field.rb +37 -0
  13. data/app/components/nitro_kit/field_group.rb +14 -0
  14. data/app/components/nitro_kit/fieldset.rb +16 -0
  15. data/app/components/nitro_kit/form_builder.rb +43 -0
  16. data/app/components/nitro_kit/icon.rb +23 -0
  17. data/app/components/nitro_kit/label.rb +10 -0
  18. data/app/components/nitro_kit/radio_button.rb +63 -0
  19. data/app/components/nitro_kit/radio_group.rb +35 -0
  20. data/app/components/nitro_kit/switch.rb +66 -0
  21. data/app/helpers/application_helper.rb +89 -0
  22. data/app/helpers/nitro_kit/accordion_helper.rb +7 -0
  23. data/app/helpers/nitro_kit/badge_helper.rb +15 -0
  24. data/app/helpers/nitro_kit/button_group_helper.rb +7 -0
  25. data/app/helpers/nitro_kit/button_helper.rb +40 -0
  26. data/app/helpers/nitro_kit/card_helper.rb +7 -0
  27. data/app/helpers/nitro_kit/checkbox_helper.rb +24 -0
  28. data/app/helpers/nitro_kit/dropdown_helper.rb +7 -0
  29. data/app/helpers/nitro_kit/field_helper.rb +7 -0
  30. data/app/helpers/nitro_kit/icon_helper.rb +7 -0
  31. data/app/helpers/nitro_kit/label_helper.rb +15 -0
  32. data/app/helpers/nitro_kit/radio_button_helper.rb +20 -0
  33. data/app/helpers/nitro_kit/switch_helper.rb +15 -0
  34. data/lib/generators/nitro_kit/add_generator.rb +87 -0
  35. data/lib/generators/nitro_kit/install_generator.rb +9 -0
  36. data/lib/nitro_kit/railtie.rb +8 -0
  37. data/lib/nitro_kit/schema_builder.rb +47 -0
  38. data/lib/nitro_kit/variants.rb +21 -0
  39. data/lib/nitro_kit/version.rb +3 -0
  40. data/lib/nitro_kit.rb +8 -0
  41. metadata +127 -0
metadata ADDED
@@ -0,0 +1,127 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nitro_kit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Mikkel Malmberg
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-11-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 7.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 7.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: tailwind_merge
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: phlex-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.0.0.beta2
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.0.beta2
55
+ description: WIP, not usable yet
56
+ email:
57
+ - mikkel@brnbw.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - README.md
63
+ - Rakefile
64
+ - app/components/nitro_kit/accordion.rb
65
+ - app/components/nitro_kit/badge.rb
66
+ - app/components/nitro_kit/button.rb
67
+ - app/components/nitro_kit/button_group.rb
68
+ - app/components/nitro_kit/card.rb
69
+ - app/components/nitro_kit/checkbox.rb
70
+ - app/components/nitro_kit/component.rb
71
+ - app/components/nitro_kit/dropdown.rb
72
+ - app/components/nitro_kit/field.rb
73
+ - app/components/nitro_kit/field_group.rb
74
+ - app/components/nitro_kit/fieldset.rb
75
+ - app/components/nitro_kit/form_builder.rb
76
+ - app/components/nitro_kit/icon.rb
77
+ - app/components/nitro_kit/label.rb
78
+ - app/components/nitro_kit/radio_button.rb
79
+ - app/components/nitro_kit/radio_group.rb
80
+ - app/components/nitro_kit/switch.rb
81
+ - app/helpers/application_helper.rb
82
+ - app/helpers/nitro_kit/accordion_helper.rb
83
+ - app/helpers/nitro_kit/badge_helper.rb
84
+ - app/helpers/nitro_kit/button_group_helper.rb
85
+ - app/helpers/nitro_kit/button_helper.rb
86
+ - app/helpers/nitro_kit/card_helper.rb
87
+ - app/helpers/nitro_kit/checkbox_helper.rb
88
+ - app/helpers/nitro_kit/dropdown_helper.rb
89
+ - app/helpers/nitro_kit/field_helper.rb
90
+ - app/helpers/nitro_kit/icon_helper.rb
91
+ - app/helpers/nitro_kit/label_helper.rb
92
+ - app/helpers/nitro_kit/radio_button_helper.rb
93
+ - app/helpers/nitro_kit/switch_helper.rb
94
+ - lib/generators/nitro_kit/add_generator.rb
95
+ - lib/generators/nitro_kit/install_generator.rb
96
+ - lib/nitro_kit.rb
97
+ - lib/nitro_kit/railtie.rb
98
+ - lib/nitro_kit/schema_builder.rb
99
+ - lib/nitro_kit/variants.rb
100
+ - lib/nitro_kit/version.rb
101
+ homepage: https://github.com/mikker/nitro_kit
102
+ licenses:
103
+ - MIT
104
+ metadata:
105
+ homepage_uri: https://github.com/mikker/nitro_kit
106
+ source_code_uri: https://github.com/mikker/nitro_kit
107
+ changelog_uri: https://github.com/mikker/nitro_kit/releases
108
+ post_install_message:
109
+ rdoc_options: []
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ requirements: []
123
+ rubygems_version: 3.5.23
124
+ signing_key:
125
+ specification_version: 4
126
+ summary: WIP, not usable yet
127
+ test_files: []