{"name":"alert","helper":"rui_alert","complexity":"moderate","param_count":19,"slot_count":2,"form_builder":false,"standalone":true,"ai_score":7,"human_score":7,"token_estimate":148,"params":{"type":{"positional":true,"closed":true,"default":"info","values":["default","info","success","warning","danger","error","primary"]},"title":{},"variant":{"default":"soft","type":"symbol","closed":true,"values":["solid","outline","soft"]},"shape":{"default":"rounded","type":"symbol","closed":true,"values":["square","rounded","pill"]},"size":{"default":"base","type":"symbol","closed":true,"values":["xs","sm","base","lg","xl"]},"border_position":{"default":"none","type":"symbol","closed":true,"values":["none","left","top","bottom","all"]},"color":{"values_from":"colors","open":true},"auto_dismiss":{"default":false,"type":"boolean"},"dismiss_after":{"default":5,"type":"integer"},"dismissible":{"default":false,"type":"boolean"},"messages":{},"show_icon":{"default":true,"type":"boolean"},"animate":{},"href":{},"turbo_frame":{},"undo_url":{},"undo_method":{"default":"post","type":"symbol"},"show_progress_bar":{}},"slots":{"icon":{"type":"renders_one","component":"lambda","example":"component.with_icon"},"actions":{"type":"renders_many","component":"lambda","example":"component.with_action"}},"gotchas":[{"id":"alert_undo_cascade","severity":"medium","component":"rui_alert","summary":"undo_url: cascades auto_dismiss, animate, and show_progress_bar","params":["undo_url","auto_dismiss","animate","show_progress_bar"],"behavior":"Passing undo_url: auto-enables auto_dismiss: true, which auto-enables animate: true and show_progress_bar: true. These cascades emit deprecation warnings. Pass all params explicitly to silence them.","wrong":"\u003c%= rui_alert(type: :success, undo_url: undo_path) { \"Deleted\" } %\u003e","right":"\u003c%= rui_alert(type: :success, undo_url: undo_path, auto_dismiss: true, animate: true, show_progress_bar: true) { \"Deleted\" } %\u003e","notes":"Cascade behavior will be removed in v1.0 — explicit params will be required.","detection":"Scan for rui_alert calls with undo_url: but missing auto_dismiss:, animate:, or show_progress_bar:. Check Rails log for deprecation warnings containing 'auto_dismiss'.","recovery":"Add all three cascaded params explicitly: auto_dismiss: true, animate: true, show_progress_bar: true alongside undo_url:."}],"families":[],"compositions":[],"relationships":{"composes_with":[],"slotted_into":[],"confused_with":[]}}