fuji_admin 0.1.0 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84d5ee21faecdb6bc1cfc795a561d6048b78c6fc5606a1677f1f7e3f2c98255e
4
- data.tar.gz: 752b254a7fa3769e3edc3dc7145793d1212ce9a6ff220830fb1ad42bebec468a
3
+ metadata.gz: ccce6482f20c02fb0e013ae881950edcad26f73b103598af0d4f50dc68c5e4ad
4
+ data.tar.gz: 61dd4630982524c9d2fe94ee648a94a4530648761c271b7831bd3b3089a3baa7
5
5
  SHA512:
6
- metadata.gz: f749ae04c4dbb606f8f5ee790b1af74f37fe8138ba7f71d79dc151004a0a18296784c8095da90fef088dbd23e8e0581f53f7c6986e20b2b6208667c7bbfa4b35
7
- data.tar.gz: b9798fe929298c2b856ccb858095cd270fdd542d08a03a33e5ea7191834203118be47ce8078b1cd39769e55c6163ac008d1b1c2bf5f4af61a73edefb9dae7fe1
6
+ metadata.gz: 484a5eaba8e30df55ac28e7afc7db3d19c5115759dec579f3d8d11149a18ad65ae4d4928ba14f33fde053729e406fe0cd9698b53d5f6f1e9a0032e088ea758d5
7
+ data.tar.gz: fd2d4c1278dbb0643a734160e7efe9f6097de7cfeadd8d2549990ff093fb74ad7d717add8d91ce2c7a5f54f95870d87a4b1fe1eecbba9a8150fcaf52c0147fb0
data/README.md CHANGED
@@ -4,10 +4,6 @@ A responsive [ActiveAdmin](https://github.com/activeadmin/activeadmin) theme.
4
4
  Clean card-based layout, slide-in filter drawer, float-label inputs,
5
5
  row-action dropdowns, and a live palette switcher with 30 built-in palettes.
6
6
 
7
- Inspired by [arctic_admin](https://github.com/cprodhomme/arctic_admin) (SCSS
8
- structure) and [PrimeReact Verona](https://verona.primereact.org/) (visual
9
- language).
10
-
11
7
  ## Features
12
8
 
13
9
  - **Responsive layout** — fixed header + sidebar nav at `lg+`, auto-injected
@@ -35,12 +31,10 @@ language).
35
31
 
36
32
  ## Installation
37
33
 
38
- ### From GitHub (recommended)
39
-
40
34
  In your host app's `Gemfile`:
41
35
 
42
36
  ```ruby
43
- gem "fuji_admin", github: "BarbaricCorgi/fuji_admin"
37
+ gem "fuji_admin", "~> 0.1"
44
38
  ```
45
39
 
46
40
  Then:
@@ -49,9 +43,6 @@ Then:
49
43
  bundle install
50
44
  ```
51
45
 
52
- The Gemfile.lock pins the exact commit SHA, so CI / Docker / Kamal builds
53
- are reproducible without needing to publish to RubyGems.
54
-
55
46
  ### Asset imports
56
47
 
57
48
  In `app/assets/stylesheets/active_admin.scss`:
@@ -96,15 +87,28 @@ Clone both repos side-by-side:
96
87
  └── my_admin_app/
97
88
  ```
98
89
 
99
- Point the host's `Gemfile` at the github source (as above), then tell
100
- Bundler to resolve it locally so edits in `fuji_admin/` reflect immediately:
90
+ Bundler's `bundle config local.<gem>` override only works when the host's
91
+ Gemfile references a git source, not a published RubyGem. So for live local
92
+ editing, point the host's Gemfile at the GitHub source temporarily:
93
+
94
+ ```ruby
95
+ # Host app Gemfile — during fuji_admin development
96
+ gem "fuji_admin", github: "BarbaricCorgi/fuji_admin"
97
+ ```
98
+
99
+ Then tell Bundler to resolve it against your local checkout:
101
100
 
102
101
  ```bash
103
102
  bundle config local.fuji_admin ~/development/fuji_admin
104
103
  ```
105
104
 
106
- This is a per-machine config stored in `~/.bundle/config` — CI and
107
- production never see it and fall back to the github source.
105
+ This is a per-machine setting stored in `~/.bundle/config` — CI / Docker /
106
+ Kamal never see it and fall back to the github source. Edits in
107
+ `~/development/fuji_admin` reflect in the host app immediately.
108
+
109
+ When you're ready to ship, flip the Gemfile back to
110
+ `gem "fuji_admin", "~> 0.1"`, publish a new version (`gem build && gem push`),
111
+ and run `bundle update fuji_admin` in the host.
108
112
 
109
113
  ## Customising palettes
110
114
 
@@ -131,13 +135,6 @@ Palettes without a `theme` block get auto-derived surfaces + text by mixing
131
135
  the `primary` with white / black at runtime via `color-mix()`, so every
132
136
  palette reads as a coherent mini-theme.
133
137
 
134
- ## Credits
135
-
136
- - [arctic_admin](https://github.com/cprodhomme/arctic_admin) — SCSS
137
- structure (variables → mixins → layouts → components → pages).
138
- - [PrimeReact Verona](https://verona.primereact.org/) — visual language
139
- (layout proportions, rounded cards, float labels, filter chips).
140
-
141
138
  ## License
142
139
 
143
140
  MIT — see [LICENSE.txt](LICENSE.txt).
@@ -504,7 +504,7 @@ body.active_admin #sidebar .sidebar_section.panel:not(#filters_sidebar_section)
504
504
  right: 0;
505
505
  bottom: calc(100% + #{$space-2});
506
506
  width: 320px;
507
- max-height: #{"min(70vh, 560px)"}; // interpolated so SassC emits raw CSS min()
507
+ max-height: 70vh; // SassC rejects `min(70vh, 560px)` even when interpolated
508
508
  overflow-y: auto;
509
509
  background-color: $surface-0;
510
510
  border: 1px solid $surface-border;
@@ -1,3 +1,3 @@
1
1
  module FujiAdmin
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuji_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - barbariccorgi