plutonium 0.60.0 → 0.60.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: 3fa2b8cea268efcf47ef9f1d599f0899ad89c86fb63b3bc7faa8451da9ddae14
4
- data.tar.gz: 4c10a0e528713d73ab87012443ac6b1032c633487cf57b231bc1d956061b6aa0
3
+ metadata.gz: 371d9fea402116abc683c5a86c2a23ff54d6e093a5d5d64860a905cd2fb64b72
4
+ data.tar.gz: 6fc951e3e6ab822ee42c17ee843b0373b185e9e2d54b63c68906391bae04d07b
5
5
  SHA512:
6
- metadata.gz: fdd98d0175ac22901548a4eb9dd82b52877aaec986dad07b635999a5b2a6bcccc52cc4b3034c85c3199657cd1c8c6dc496d6a8e9463b9f7de783fc504d8aa992
7
- data.tar.gz: d59318593eb59b0976fb4a15f78b7a05a83c891ff0c2fb768610ee7ed8e6073f91812a6828b43ed19503d6b906431eb6b41b11cb5f1048c39cb2e638a277c9a5
6
+ metadata.gz: e3b2bbce710220fe7cdaab63cb0b35c5b271cf4c07fe246fbc6a5a96cc178b1b223947150e547bc763c5adb59454d685e50984e6978a7427813d2f8182f72fdc
7
+ data.tar.gz: c243e2aa38c0ca4942655791b6a9ed8efc1e037d90ec63c1f07e1051ef4fe7fc8abf1b12af5dcb916632c301eb3eb9bdb3c7d7f4818a347992fac3a5ecc142e2
@@ -176,7 +176,7 @@ class AdminController < PlutoniumController
176
176
  end
177
177
  ```
178
178
 
179
- `Plutonium::Auth::Rodauth(:name)` exposes `current_user`, `logout_url`, and `rodauth` in the controller.
179
+ `Plutonium::Auth::Rodauth(:name)` exposes `current_user`, `logout_url`, and `rodauth` in the controller. It also adds a named accessor `current_<name>` aliased to `current_user` — e.g. `Rodauth(:admin)` gives `current_admin`. Read the signed-in account with `current_user` or its named alias (e.g. `current_admin`).
180
180
 
181
181
  For portal wiring (`AdminPortal::Concerns::Controller`), see [[plutonium-app]] › Portal controller concern.
182
182
 
@@ -501,10 +501,22 @@ Show pages with `permitted_associations` (see [[plutonium-behavior]]) render a t
501
501
  ```ruby
502
502
  Plutonium.configure do |config|
503
503
  config.shell = :modern # default — topbar + icon rail
504
+ # config.shell = :plain # topbar, no icon rail (whole app rail-less)
504
505
  # config.shell = :classic # legacy header + sidebar (only when upgrading)
505
506
  end
506
507
  ```
507
508
 
509
+ `:plain` keeps the Topbar but drops the icon rail. Override per-controller (and so per-portal, since it's an inherited `class_attribute`) with the `rail` DSL — `rail false` / `rail true`; `rail nil` (default) inherits the shell default, `rail?` reads the resolved value:
510
+
511
+ ```ruby
512
+ module CustomerPortal::Concerns::Controller
513
+ extend ActiveSupport::Concern
514
+ included { rail false } # entire portal rail-less
515
+ end
516
+ ```
517
+
518
+ Stable CSS hooks for rail-less overrides: `pu-topbar` (Topbar nav), `pu-sticky-footer` (form footer), and the `html.pu-no-rail` root class. A built-in rule cancels the desktop rail inset on the first two under `html.pu-no-rail`.
519
+
508
520
  ## Eject the chrome for per-portal customization
509
521
 
510
522
  ```bash
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.60.1] - 2026-06-15
2
+
3
+ ### 🚀 Features
4
+
5
+ - *(layout)* First-class railless portal support
6
+
7
+ ### 🐛 Bug Fixes
8
+
9
+ - *(forms)* Skip section fields not in the permitted set instead of raising
1
10
  ## [0.60.0] - 2026-06-14
2
11
 
3
12
  ### 🚀 Features