daisy_components 0.1.0

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.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/.cursor/rules/how-to-write-tests.mdc +67 -0
  3. data/.cursor/rules/preview-file-stucture.mdc +95 -0
  4. data/.cursorrules +64 -0
  5. data/.github/dependabot.yml +12 -0
  6. data/.github/workflows/ci.yml +65 -0
  7. data/.gitignore +13 -0
  8. data/.vscode/launch.json +55 -0
  9. data/.vscode/settings.json +44 -0
  10. data/CHANGELOG.md +39 -0
  11. data/Gemfile +32 -0
  12. data/Gemfile.lock +335 -0
  13. data/MIT-LICENSE +20 -0
  14. data/README.md +64 -0
  15. data/Rakefile +7 -0
  16. data/app/assets/images/daisy_components/.keep +0 -0
  17. data/app/assets/stylesheets/daisy_ui/application.css +15 -0
  18. data/app/components/daisy_ui/actions/button.rb +262 -0
  19. data/app/components/daisy_ui/actions/dropdown.rb +125 -0
  20. data/app/components/daisy_ui/actions/swap.rb +126 -0
  21. data/app/components/daisy_ui/base_component.rb +29 -0
  22. data/app/components/daisy_ui/data_display/accordion.rb +128 -0
  23. data/app/components/daisy_ui/data_display/accordion_item.rb +121 -0
  24. data/app/components/daisy_ui/data_display/avatar.rb +131 -0
  25. data/app/components/daisy_ui/data_display/avatar_group.rb +102 -0
  26. data/app/components/daisy_ui/data_display/badge.rb +126 -0
  27. data/app/components/daisy_ui/data_display/card/actions.rb +94 -0
  28. data/app/components/daisy_ui/data_display/card/body.rb +113 -0
  29. data/app/components/daisy_ui/data_display/card/figure.rb +44 -0
  30. data/app/components/daisy_ui/data_display/card/title.rb +56 -0
  31. data/app/components/daisy_ui/data_display/card.rb +157 -0
  32. data/app/components/daisy_ui/data_display/chat.rb +92 -0
  33. data/app/components/daisy_ui/data_display/chat_bubble/metadata.rb +71 -0
  34. data/app/components/daisy_ui/data_display/chat_bubble.rb +166 -0
  35. data/app/components/daisy_ui/divider.rb +9 -0
  36. data/app/components/daisy_ui/item.rb +20 -0
  37. data/app/components/daisy_ui/title.rb +9 -0
  38. data/app/controllers/concerns/.keep +0 -0
  39. data/app/controllers/daisy_ui/application_controller.rb +6 -0
  40. data/app/helpers/daisy_ui/application_helper.rb +6 -0
  41. data/app/helpers/daisy_ui/icons_helper.rb +296 -0
  42. data/app/views/layouts/daisyui/application.html.erb +17 -0
  43. data/bin/parse_coverage.rb +59 -0
  44. data/bin/rails +57 -0
  45. data/bin/rubocop +10 -0
  46. data/bin/scrape_component +86 -0
  47. data/daisy_components.gemspec +33 -0
  48. data/docs/assets/2025-01_screeshot_1.png +0 -0
  49. data/docs/assets/2025-01_screeshot_2.png +0 -0
  50. data/docs/assets/2025-01_screeshot_3.png +0 -0
  51. data/lib/daisy_components.rb +5 -0
  52. data/lib/daisy_ui/engine.rb +51 -0
  53. data/lib/daisy_ui/version.rb +5 -0
  54. data/lib/daisy_ui.rb +13 -0
  55. data/lib/tasks/daisy_ui_tasks.rake +6 -0
  56. metadata +112 -0
metadata ADDED
@@ -0,0 +1,112 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: daisy_components
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Patrick Barattin
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 2025-05-27 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: 8.0.1
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: 8.0.1
26
+ description: A collection of ViewComponents implementing DaisyUI design system
27
+ email:
28
+ - p.barattin@gmail.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - ".cursor/rules/how-to-write-tests.mdc"
34
+ - ".cursor/rules/preview-file-stucture.mdc"
35
+ - ".cursorrules"
36
+ - ".github/dependabot.yml"
37
+ - ".github/workflows/ci.yml"
38
+ - ".gitignore"
39
+ - ".vscode/launch.json"
40
+ - ".vscode/settings.json"
41
+ - CHANGELOG.md
42
+ - Gemfile
43
+ - Gemfile.lock
44
+ - MIT-LICENSE
45
+ - README.md
46
+ - Rakefile
47
+ - app/assets/images/daisy_components/.keep
48
+ - app/assets/stylesheets/daisy_ui/application.css
49
+ - app/components/daisy_ui/actions/button.rb
50
+ - app/components/daisy_ui/actions/dropdown.rb
51
+ - app/components/daisy_ui/actions/swap.rb
52
+ - app/components/daisy_ui/base_component.rb
53
+ - app/components/daisy_ui/data_display/accordion.rb
54
+ - app/components/daisy_ui/data_display/accordion_item.rb
55
+ - app/components/daisy_ui/data_display/avatar.rb
56
+ - app/components/daisy_ui/data_display/avatar_group.rb
57
+ - app/components/daisy_ui/data_display/badge.rb
58
+ - app/components/daisy_ui/data_display/card.rb
59
+ - app/components/daisy_ui/data_display/card/actions.rb
60
+ - app/components/daisy_ui/data_display/card/body.rb
61
+ - app/components/daisy_ui/data_display/card/figure.rb
62
+ - app/components/daisy_ui/data_display/card/title.rb
63
+ - app/components/daisy_ui/data_display/chat.rb
64
+ - app/components/daisy_ui/data_display/chat_bubble.rb
65
+ - app/components/daisy_ui/data_display/chat_bubble/metadata.rb
66
+ - app/components/daisy_ui/divider.rb
67
+ - app/components/daisy_ui/item.rb
68
+ - app/components/daisy_ui/title.rb
69
+ - app/controllers/concerns/.keep
70
+ - app/controllers/daisy_ui/application_controller.rb
71
+ - app/helpers/daisy_ui/application_helper.rb
72
+ - app/helpers/daisy_ui/icons_helper.rb
73
+ - app/views/layouts/daisyui/application.html.erb
74
+ - bin/parse_coverage.rb
75
+ - bin/rails
76
+ - bin/rubocop
77
+ - bin/scrape_component
78
+ - daisy_components.gemspec
79
+ - docs/assets/2025-01_screeshot_1.png
80
+ - docs/assets/2025-01_screeshot_2.png
81
+ - docs/assets/2025-01_screeshot_3.png
82
+ - lib/daisy_components.rb
83
+ - lib/daisy_ui.rb
84
+ - lib/daisy_ui/engine.rb
85
+ - lib/daisy_ui/version.rb
86
+ - lib/tasks/daisy_ui_tasks.rake
87
+ homepage: https://github.com/Nittarab/daisy_components
88
+ licenses:
89
+ - MIT
90
+ metadata:
91
+ homepage_uri: https://github.com/Nittarab/daisy_components
92
+ source_code_uri: https://github.com/Nittarab/daisy_components
93
+ changelog_uri: https://github.com/Nittarab/daisy_components/blob/main/CHANGELOG.md
94
+ rubygems_mfa_required: 'true'
95
+ rdoc_options: []
96
+ require_paths:
97
+ - lib
98
+ required_ruby_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 3.4.0
103
+ required_rubygems_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ requirements: []
109
+ rubygems_version: 3.6.6
110
+ specification_version: 4
111
+ summary: DaisyUI components for Rails
112
+ test_files: []