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:
=

インストール:
=

バージョン履歴:

  1. 1.4.0 November 26, 2025 (40.5KB)
  2. 1.3.0 November 26, 2025 (39.5KB)
  3. 1.2.0 November 24, 2025 (35.5KB)
全てのバージョンを表示(全7件)

Development依存関係 (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

所有者:

プッシュ者:

作者:

  • Andrei Makarov

SHA 256チェックサム:

=

累計ダウンロード数 977

このバージョンのみ 244

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 3.0

新しいバージョンはMFAを必要とします: true

MFAで投稿されたバージョン: true

リンク: