keystone_ui 0.12.0 → 0.12.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: 1ba08014c8024c4d2be934c04bf5986fabf96067a28816c89b27a68593865878
4
- data.tar.gz: 22c8e2fe139a1cb802d7c7e694f54aa95f627f2a8eb0808f9ec65db78a5762ab
3
+ metadata.gz: 07ebe3c8dc5677b0bf7a2a4a0a41fc1c32e14add49dc5c2f5553da430fa7ed76
4
+ data.tar.gz: 93ff7e18143f614975b886f7cd5c530ceabf171cbca2a309a5f79040d2d8b6a6
5
5
  SHA512:
6
- metadata.gz: 8115ce638bb73b100305498b251d5ce6a8d4993d82587061f74dfe24f04f5c039f5bfc33158661daf8d6e305e8c9b866c78ef70102be03e1a7da892b02170ffe
7
- data.tar.gz: 7f92473cf68ce1eda055362700d86ac278844b4825763ea7b304dad3ddc0d2a2661b1572b8808a9d5043b36fafaf3518ebb00908b04f01f09910d9c74d08ce70
6
+ metadata.gz: 8ba1385d0c2646d2cc05c30b9d90a2c69ef8d90cd22e288213961adc4fe2fd27913e8fa1945d190b3a705b951a35a7fec9c2a9241769bf8581df6eee0712ee10
7
+ data.tar.gz: c2a7fcad43b6cdc7210d80a9e1155ce01dd6a4c12d682d206467273329b989e1346d26eb1004b8764933c54c88779d5198a6a4a0778898eddc493834a112118f
@@ -1,4 +1,4 @@
1
- <label class="block cursor-pointer">
1
+ <label class="inline-block cursor-pointer">
2
2
  <input type="radio" name="<%= name %>" value="<%= value %>" <%= "checked" if checked? %> class="peer sr-only">
3
3
  <span class="<%= classes %>">
4
4
  <span class="<%= label_classes %>"><%= label %></span>
@@ -3,10 +3,10 @@
3
3
  module Keystone
4
4
  module Ui
5
5
  class RadioCardComponent < ViewComponent::Base
6
- BASE_CLASSES = "block p-4 rounded-lg border-2 cursor-pointer transition"
7
- HIGHLIGHT_CLASSES = "border-surface-200 peer-checked:border-accent-500 peer-checked:bg-accent-50"
8
- LABEL_CLASSES = "block font-medium text-surface-900"
9
- HINT_CLASSES = "block mt-1 text-sm text-surface-500"
6
+ BASE_CLASSES = "inline-flex flex-col px-4 py-3 rounded-lg border-2 cursor-pointer transition"
7
+ HIGHLIGHT_CLASSES = "border-gray-200 dark:border-zinc-700 peer-checked:border-accent-500 peer-checked:bg-accent-50 dark:peer-checked:bg-zinc-800"
8
+ LABEL_CLASSES = "block font-medium text-gray-900 dark:text-gray-100"
9
+ HINT_CLASSES = "block mt-1 text-sm text-surface-500 dark:text-gray-400"
10
10
 
11
11
  attr_reader :name, :value, :label, :hint
12
12
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KeystoneUi
4
- VERSION = "0.12.0"
4
+ VERSION = "0.12.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keystone_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Schneider
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-15 00:00:00.000000000 Z
11
+ date: 2026-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: keystone_ui-styles