neon_sakura 0.1.4 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 252c8fb14c8fa6807d04e69ed6dc68afa5598968ec6adac8fd2bb9bf328ea23d
4
- data.tar.gz: 4217db78b88bbf5e32007a8312328f05ced5adc6ded5825e5e00a3f984353d7a
3
+ metadata.gz: 3cf9aa0ac0c3eb7dffae4918ddcd9ef7d2ebcb0242e0e8601d9c290f82a12c19
4
+ data.tar.gz: f5939c6e5572dc937c62bb8293c85bc56f19dcd2a370f40dc1229f7da4f38a0d
5
5
  SHA512:
6
- metadata.gz: 571fb6432c2a02e8e7c72c6065bd3f5d9250af4e04751ba4868d3e6f7e205206c0914ec4580084731497c95521be46777cbc980231dd58bffa342efeddad0045
7
- data.tar.gz: 03277b449d9b0ae5e81640f9bdcc4cc87957068a39fb76b9d57f425e736d8d1099115b3ec88d54cef9a7c1a97e5c06da6c083870709f3c38034cbff5843e2b4c
6
+ metadata.gz: 3510bde44cbbeca0ab25445a5f396f132a818dfa6641ff9b18f1e5e7e5881eb832c71c2378cc8b8b79fba8753d7c549b2d52dc9a3f5a85237256aba324c5c4f7
7
+ data.tar.gz: a3154b53c81b234e80b80c55ddc505bec69e7144e691dc98e8c7b52fc51fa8602c67febc02500256357424732947c56e933598b8dd603626a25da6875d222388
data/CHANGELOG.md CHANGED
@@ -7,7 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [0.1.4] - 2025-01-XX
10
+ ## [0.1.5] - 2025-01-06
11
+
12
+ ### Fixed
13
+ - **Icon Corrections** - Fixed 4 broken/incorrect SVG icons
14
+ - `file_question` - Fixed to use proper question-mark-circle icon from Heroicons
15
+ - `history` - Fixed duplicate/incorrect paths, now uses clean clock icon
16
+ - `network` - Replaced broken custom SVG with server-stack icon from Heroicons
17
+ - `store` - Verified and cleaned up storefront icon
18
+ - All icons now use consistent `css_class` parameter
19
+ - All icons include proper xmlns attribute
20
+
21
+ ### Changed
22
+ - **Configuration Architecture** - Removed hardcoded dependencies
23
+ - Removed hardcoded `Artemis::Version` references in footer/header
24
+ - Added configurable `version_module` parameter to NeonSakura configuration
25
+ - Renamed all `artemis-*` CSS classes to generic `mc-*` (Mission Control) names
26
+ - Updated GitHub URLs from `artemis-search/neon_sakura` to `trex22/neon_sakura`
27
+ - Updated git hook comments to be project-agnostic
28
+
29
+ - **Gemspec Improvements** - Cleaner gem metadata
30
+ - Removed duplicate homepage_uri metadata
31
+ - Added bug_tracker_uri for better RubyGems integration
32
+ - Fixed file permissions for world-readable distribution
33
+
34
+ ## [0.1.4] - 2025-01-05
11
35
 
12
36
  ### Added
13
37
  - **Gravatar Support** - New `ProfileHelper` with `gravatar_url` method
@@ -565,4 +589,11 @@ OR
565
589
  - Ensured all CSS imports work correctly in gem context
566
590
  - Verified JavaScript components work with Propshaft asset pipeline
567
591
 
592
+ [0.1.5]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.5
593
+ [0.1.4]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.4
594
+ [0.1.3]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.3
595
+ [0.1.2]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.2
596
+ [0.1.1]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.1
597
+ [0.1.0]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.0
598
+ [0.0.2]: https://github.com/trex22/neon_sakura/releases/tag/v0.0.2
568
599
  [0.0.1]: https://github.com/trex22/neon_sakura/releases/tag/v0.0.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neon_sakura (0.1.4)
4
+ neon_sakura (0.1.5)
5
5
  propshaft (>= 1.3.1)
6
6
  rails (>= 8.0.0)
7
7
 
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  <img src="app/assets/images/cherry_blossom.svg" alt="Neon Sakura Logo" width="1024" />
5
5
  </p>
6
6
 
7
- A gem that extracts the styling and theming components from the Artemis Rails application for reuse across multiple projects.
7
+ A gem that provides styling and theming components for Rails applications with a dark-themed UI, multi-theme support, and comprehensive UI components.
8
8
 
9
9
  ## Installation
10
10
 
@@ -44,7 +44,7 @@ The gem also provides layout templates and view components:
44
44
 
45
45
  - Layout templates for application and error pages
46
46
  - SVG icon components for common UI elements
47
- - Shared partials for common patterns in Artemis applications
47
+ - Shared partials for common UI patterns
48
48
  - Header and footer components for consistent page structure
49
49
 
50
50
  ### Integration
@@ -9,6 +9,39 @@ svg {
9
9
  flex-shrink: 0;
10
10
  }
11
11
 
12
+ /* Bootstrap Card Styling - rounded corners and consistent theming */
13
+ .card {
14
+ background-color: var(--color-surface);
15
+ border: 1px solid var(--color-border);
16
+ border-radius: 0.5rem;
17
+ transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
18
+ }
19
+
20
+ .card:hover {
21
+ border-color: color-mix(in srgb, var(--color-border) 80%, var(--color-text-muted) 20%);
22
+ }
23
+
24
+ .card-header {
25
+ background-color: var(--color-surface);
26
+ border-bottom: 1px solid var(--color-border);
27
+ border-top-left-radius: 0.5rem;
28
+ border-top-right-radius: 0.5rem;
29
+ padding: 0.75rem 1rem;
30
+ }
31
+
32
+ .card-body {
33
+ background-color: var(--color-surface);
34
+ padding: 1rem;
35
+ }
36
+
37
+ .card-footer {
38
+ background-color: var(--color-surface);
39
+ border-top: 1px solid var(--color-border);
40
+ border-bottom-left-radius: 0.5rem;
41
+ border-bottom-right-radius: 0.5rem;
42
+ padding: 0.75rem 1rem;
43
+ }
44
+
12
45
  /* Default link styling - theme-aware */
13
46
  a {
14
47
  color: var(--color-accent);
@@ -1,6 +1,10 @@
1
- <svg class="<%= local_assigns[:css_class] || 'w-4 h-4' %>" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="<%= local_assigns[:aria_hidden] || 'true' %>">
2
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path>
3
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 2v6h6"></path>
4
- <circle cx="12" cy="14" r="1" fill="currentColor"></circle>
5
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 11v-1"></path>
6
- </svg>
1
+ <%# Icon: File Question (file with question mark) %>
2
+ <%# Source: https://heroicons.com/ (document-question-mark) %>
3
+ <svg xmlns="http://www.w3.org/2000/svg"
4
+ fill="none"
5
+ viewBox="0 0 24 24"
6
+ stroke-width="1.5"
7
+ stroke="currentColor"
8
+ class="<%= css_class %>">
9
+ <path stroke-linecap="round" stroke-linejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z" />
10
+ </svg>
@@ -1,11 +1,10 @@
1
- <%# Icon: History (Recent/Past) %>
2
- <%# Source: https://heroicons.com/ (clock + arrow) %>
1
+ <%# Icon: History (clock/recent/past) %>
2
+ <%# Source: https://heroicons.com/ (clock) %>
3
3
  <svg xmlns="http://www.w3.org/2000/svg"
4
4
  fill="none"
5
5
  viewBox="0 0 24 24"
6
6
  stroke-width="1.5"
7
7
  stroke="currentColor"
8
8
  class="<%= css_class %>">
9
- <path stroke-linecap="round" stroke-linejoin="round" d="M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z" />
10
- <path stroke-linecap="round" stroke-linejoin="round" d="M9 3.75H6.912a2.25 2.25 0 00-2.15 1.588L2.35 13.177a2.25 2.25 0 00-.1.661V18a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18v-4.162c0-.224-.034-.447-.1-.661L19.24 5.338a2.25 2.25 0 00-2.15-1.588H15M2.25 13.5h3.86a2.25 2.25 0 012.012 1.244l.256.512a2.25 2.25 0 002.013 1.244h3.218a2.25 2.25 0 002.013-1.244l.256-.512a2.25 2.25 0 012.013-1.244h3.859" />
9
+ <path stroke-linecap="round" stroke-linejoin="round" d="M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
11
10
  </svg>
@@ -1,10 +1,10 @@
1
- <%# Icon: Network (connections/API/network connections) %>
2
- <%# Source: Custom SVG - network topology %>
1
+ <%# Icon: Network (server/network connections) %>
2
+ <%# Source: https://heroicons.com/ (server-stack) %>
3
3
  <svg xmlns="http://www.w3.org/2000/svg"
4
4
  fill="none"
5
5
  viewBox="0 0 24 24"
6
6
  stroke-width="1.5"
7
7
  stroke="currentColor"
8
8
  class="<%= css_class %>">
9
- <path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m0 0 4.5-4.5M12 19.5 7.5 15M4.5 7.5h15M19.5 7.5 15 3m4.5 4.5L15 12m-6-4.5L4.5 3m4.5 4.5L4.5 12" />
9
+ <path stroke-linecap="round" stroke-linejoin="round" d="M5.25 14.25h13.5m-13.5 0a3 3 0 0 1-3-3m3 3a3 3 0 1 0 0 6h13.5a3 3 0 1 0 0-6m-16.5-3a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3m-19.5 0a4.5 4.5 0 0 1 .9-2.7L5.737 5.1a3.375 3.375 0 0 1 2.7-1.35h7.126c1.062 0 2.062.5 2.7 1.35l2.587 3.45a4.5 4.5 0 0 1 .9 2.7m0 0a3 3 0 0 1-3 3m0 3h.008v.008h-.008v-.008Zm0-6h.008v.008h-.008v-.008Zm-3 6h.008v.008h-.008v-.008Zm0-6h.008v.008h-.008v-.008Z" />
10
10
  </svg>
@@ -1,5 +1,5 @@
1
- <%# Icon: Store (shop/storefront) %>
2
- <%# Source: https://heroicons.com/ %>
1
+ <%# Icon: Store (shop/storefront/building) %>
2
+ <%# Source: https://heroicons.com/ (building-storefront) %>
3
3
  <svg xmlns="http://www.w3.org/2000/svg"
4
4
  fill="none"
5
5
  viewBox="0 0 24 24"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NeonSakura
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neon_sakura
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - trex22