bulma_x 0.2.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 (64) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +22 -0
  4. data/CHANGELOG.md +30 -0
  5. data/CONTRIBUTING.md +50 -0
  6. data/LICENSE +661 -0
  7. data/README.md +315 -0
  8. data/Rakefile +12 -0
  9. data/lib/bulma_x/base_component.rb +125 -0
  10. data/lib/bulma_x/base_input.rb +37 -0
  11. data/lib/bulma_x/block.rb +7 -0
  12. data/lib/bulma_x/box.rb +7 -0
  13. data/lib/bulma_x/breadcrumbs.rb +35 -0
  14. data/lib/bulma_x/button.rb +42 -0
  15. data/lib/bulma_x/card.rb +55 -0
  16. data/lib/bulma_x/checkbox.rb +23 -0
  17. data/lib/bulma_x/columns.rb +81 -0
  18. data/lib/bulma_x/component_dsl.rb +19 -0
  19. data/lib/bulma_x/dropdown.rb +65 -0
  20. data/lib/bulma_x/dsl/options.rb +129 -0
  21. data/lib/bulma_x/dsl/slots.rb +234 -0
  22. data/lib/bulma_x/dsl/validations.rb +74 -0
  23. data/lib/bulma_x/field.rb +150 -0
  24. data/lib/bulma_x/figure.rb +27 -0
  25. data/lib/bulma_x/file.rb +54 -0
  26. data/lib/bulma_x/footer.rb +7 -0
  27. data/lib/bulma_x/form.rb +27 -0
  28. data/lib/bulma_x/grid.rb +90 -0
  29. data/lib/bulma_x/help.rb +7 -0
  30. data/lib/bulma_x/hero.rb +36 -0
  31. data/lib/bulma_x/icon.rb +66 -0
  32. data/lib/bulma_x/image.rb +42 -0
  33. data/lib/bulma_x/input.rb +53 -0
  34. data/lib/bulma_x/level.rb +43 -0
  35. data/lib/bulma_x/link.rb +44 -0
  36. data/lib/bulma_x/media.rb +19 -0
  37. data/lib/bulma_x/message.rb +27 -0
  38. data/lib/bulma_x/modal.rb +26 -0
  39. data/lib/bulma_x/navbar.rb +162 -0
  40. data/lib/bulma_x/notification.rb +15 -0
  41. data/lib/bulma_x/pagination.rb +86 -0
  42. data/lib/bulma_x/panel.rb +29 -0
  43. data/lib/bulma_x/paragraph.rb +7 -0
  44. data/lib/bulma_x/progress.rb +36 -0
  45. data/lib/bulma_x/radio.rb +33 -0
  46. data/lib/bulma_x/section.rb +35 -0
  47. data/lib/bulma_x/select.rb +57 -0
  48. data/lib/bulma_x/shared/aria_options.rb +19 -0
  49. data/lib/bulma_x/shared/data_options.rb +19 -0
  50. data/lib/bulma_x/shared/flex_options.rb +57 -0
  51. data/lib/bulma_x/shared/global_options.rb +49 -0
  52. data/lib/bulma_x/shared/spacing_options.rb +80 -0
  53. data/lib/bulma_x/shared/text_options.rb +31 -0
  54. data/lib/bulma_x/slot.rb +13 -0
  55. data/lib/bulma_x/subtitle.rb +9 -0
  56. data/lib/bulma_x/table.rb +78 -0
  57. data/lib/bulma_x/tabs.rb +43 -0
  58. data/lib/bulma_x/tag.rb +25 -0
  59. data/lib/bulma_x/textarea.rb +29 -0
  60. data/lib/bulma_x/title.rb +21 -0
  61. data/lib/bulma_x/version.rb +5 -0
  62. data/lib/bulma_x/vertical_menu.rb +71 -0
  63. data/lib/bulma_x.rb +9 -0
  64. metadata +123 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 823e9fe9d30593327aa0d49f02099f41d96c1dc3ef9b86cf29f2f82d935d9ffc
4
+ data.tar.gz: cbfdbcb1ff2ac540069970e1914c554fbcd049a96d81ff9281fb4155bcf6ebfe
5
+ SHA512:
6
+ metadata.gz: be69706ce1d08b5b74367539cba02efc0b218647c0853123dd91ad444e3d9c5f373fd20253b87e314cbba092a2a1d182f1fdc01a657f7a540c2a897841f60ae6
7
+ data.tar.gz: d3fa32758ed942c806019069f235e53c581a776a63b1aa37b7052e7d9c7cba063e2f38ecf702c1b20c7e887eac36a9e1c48a58cd04dbe45a23d8c03748fb6d14
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,22 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.4
3
+ NewCops: enable
4
+
5
+ # Until we develop the automated documentation tool, we disable this cop
6
+ Style/Documentation:
7
+ Enabled: false
8
+
9
+ Metrics/MethodLength:
10
+ Max: 20
11
+
12
+ Metrics/BlockLength:
13
+ Max: 20
14
+ Exclude:
15
+ - 'spec/**/*_spec.rb'
16
+ - 'spec/support/matchers/*.rb'
17
+ - 'spec/support/shared_examples/*.rb'
18
+ - '*.gemspec'
19
+
20
+ Layout/LineLength:
21
+ AllowedPatterns:
22
+ - '^\s*#'
data/CHANGELOG.md ADDED
@@ -0,0 +1,30 @@
1
+ # Changelog
2
+
3
+ <a name="0.2.0"></a>
4
+ ## 0.2.0 (2025-05-15)
5
+
6
+ ### Added
7
+
8
+ - ✨ Makes method slot private [2d54a12]
9
+ - ✨ Columns is now deferred [d9a4fd1]
10
+ - ✅ Fixes all specs now that all components (except Pagination) are deferred [895b8f8]
11
+
12
+ ### Changed
13
+
14
+ - 🚨 Configure rubocop and remove remaining warnings [f0ffa25]
15
+ - 🔧 Adds .gitlab/issue_templates [1c11235]
16
+
17
+ ### Miscellaneous
18
+
19
+ - 📝 Add Features and Non-Features sections in README [208618d]
20
+ - 📝 Add contribution rules [880cc1c]
21
+ - 🚧 First pass with vanilla rubocop [fd1b395]
22
+ - 📝 Updates README with a quick overview of the project [81b058a]
23
+ - 🚧 Adds GlobalOption extra_classes and makes all component deferred [ffc944e]
24
+ - 🔀 Merge branch migrate_components_to_deferred_rendering into master [81f3dd8]
25
+
26
+
27
+ <a name="0.1.0"></a>
28
+ ## 0.1.0 (2025-05-06)
29
+
30
+ - 🎉 Initial release
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,50 @@
1
+ # Contributing
2
+
3
+ Thank you for considering contributing to BulmaX
4
+
5
+ You can contribute in the following ways:
6
+
7
+ - Finding and reporting bugs
8
+ - Contributing code to BulmaX by fixing bugs or implementing features
9
+ - Improving/Writing the documentation
10
+
11
+ ## Bug Reports
12
+
13
+ Bug reports and feature suggestions must use descriptive and concise titles and be submitted via Gitlab Issues. Please use the search function to make sure that you are not submitting duplicates, and that a similar report or request has not already been resolved or rejected.
14
+
15
+ ## Submitting Code Changes
16
+
17
+ ### Features
18
+
19
+ Please do not work on major features and ideas without first creating an issue for discussion. We are a tiny team, and are unlikely to be able to pick these up as quickly as you might prefer.
20
+
21
+ ### Smaller Fixes
22
+
23
+ If you are fixing a bug, please open a merge request (MR). Ensure that your changes include passing tests, adhere to our coding style, and that the MR references the issue it resolves.
24
+
25
+ ### Testing
26
+
27
+ New features should also ideally come with additional tests to ensure they work as expected, and don't break existing code.
28
+
29
+ ## Merge Requests
30
+
31
+ ### Size and Scope
32
+
33
+ Our time is limited and MRs making large, unsolicited changes are unlikely to get a response. Changes which link to an existing confirmed issue, or which come from a "help wanted" issue or other request are more likely to be reviewed.
34
+
35
+ The smaller and more narrowly focused the changes in a MR are, the easier they are to review and potentially merge. If the change only makes sense in some larger context of future ongoing work, note that in the description, but still aim to keep each distinct MR to a "smallest viable change" chunk of work.
36
+
37
+ ### Description of Changes
38
+
39
+ We are using [Gitmoji](https://gitmoji.dev/) style for commit messages and every MR is expected to have [git atomic commits](https://www.aleksandrhovhannisyan.com/blog/atomic-git-commits/) as much as possible.
40
+
41
+ > Using emojis on commit messages provides an easy way of identifying the purpose or intention of a commit with only looking at the emojis used.
42
+
43
+ Commit messages are expected to have a descriptive title, starting by a verb like "Add", "Change", "Deprecate", "Remove", or "Fix".
44
+
45
+ ### Technical Requirements
46
+
47
+ Pull requests that do not pass automated checks on CI may not be reviewed. In particular, please keep in mind:
48
+
49
+ - Testing (rspec)
50
+ - Code style rules (rubocop)