RubyGems Navigation menu

style_capsule 1.4.0

Provides component-scoped CSS encapsulation using [data-capsule] attributes for Phlex components, ViewComponent components, and ERB templates. Styles are automatically scoped to prevent leakage between components. Inspired by component-based CSS approaches like Angular's view encapsulation and CSS modules. Works with Rails and can be used standalone in other Ruby frameworks (Sinatra, Hanami, etc.) or plain Ruby scripts.

Gemfile:
=

installieren:
=

Versionen:

  1. 1.4.0 November 26, 2025 (40,5 KB)
  2. 1.3.0 November 26, 2025 (39,5 KB)
  3. 1.2.0 November 24, 2025 (35,5 KB)
Zeige alle Versionen (7 total)

Development Abhängigkeiten (16):

activesupport >= 6.0, < 9.0
appraisal ~> 2
phlex-rails ~> 2.0
railties >= 6.0, < 9.0
rake ~> 13
rbs ~> 3
rspec ~> 3
simplecov ~> 0.22
standard ~> 1
webmock ~> 3

Besitzer:

Pushed by:

Autoren:

  • Andrei Makarov

SHA 256-Prüfsumme:

=

Downloads insgesamt 977

Für diese Version 244

Version veröffentlicht:

Lizenz:

MIT

Erforderliche Ruby-Version: >= 3.0

New versions require MFA: true

Version published with MFA: true

Links: