Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gem/lib/ruby_ui/native_select/native_select_icon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion mcp/data/registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down