From faa444715c81708d73f3aea34106524015b508b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean=20Mendon=C3=A7a?= Date: Thu, 9 Jul 2026 15:34:34 -0300 Subject: [PATCH] =?UTF-8?q?fix(native=5Fselect):=20corrige=20capitaliza?= =?UTF-8?q?=C3=A7=C3=A3o=20de=20viewBox=20no=20chevron=20do=20NativeSelect?= =?UTF-8?q?Icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gem/lib/ruby_ui/native_select/native_select_icon.rb | 2 +- mcp/data/registry.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gem/lib/ruby_ui/native_select/native_select_icon.rb b/gem/lib/ruby_ui/native_select/native_select_icon.rb index 1169df8a..60120f17 100644 --- a/gem/lib/ruby_ui/native_select/native_select_icon.rb +++ b/gem/lib/ruby_ui/native_select/native_select_icon.rb @@ -17,7 +17,7 @@ def view_template(&block) def icon svg( xmlns: "http://www.w3.org/2000/svg", - viewbox: "0 0 24 24", + viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", stroke_width: "2", diff --git a/mcp/data/registry.json b/mcp/data/registry.json index 0c83744e..cdf9b1e7 100644 --- a/mcp/data/registry.json +++ b/mcp/data/registry.json @@ -1898,7 +1898,7 @@ }, { "path": "native_select_icon.rb", - "content": "# frozen_string_literal: true\n\nmodule RubyUI\n class NativeSelectIcon < Base\n def view_template(&block)\n span(**attrs) do\n if block\n block.call\n else\n icon\n end\n end\n end\n\n private\n\n def icon\n svg(\n xmlns: \"http://www.w3.org/2000/svg\",\n viewbox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n stroke_width: \"2\",\n stroke_linecap: \"round\",\n stroke_linejoin: \"round\",\n class: \"size-4\",\n aria_hidden: \"true\"\n ) do |s|\n s.path(d: \"m6 9 6 6 6-6\")\n end\n end\n\n def default_attrs\n {\n class: \"text-muted-foreground pointer-events-none absolute top-1/2 right-2.5 -translate-y-1/2 select-none\"\n }\n end\n end\nend\n" + "content": "# frozen_string_literal: true\n\nmodule RubyUI\n class NativeSelectIcon < Base\n def view_template(&block)\n span(**attrs) do\n if block\n block.call\n else\n icon\n end\n end\n end\n\n private\n\n def icon\n svg(\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n stroke_width: \"2\",\n stroke_linecap: \"round\",\n stroke_linejoin: \"round\",\n class: \"size-4\",\n aria_hidden: \"true\"\n ) do |s|\n s.path(d: \"m6 9 6 6 6-6\")\n end\n end\n\n def default_attrs\n {\n class: \"text-muted-foreground pointer-events-none absolute top-1/2 right-2.5 -translate-y-1/2 select-none\"\n }\n end\n end\nend\n" }, { "path": "native_select_option.rb",