{"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,"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":[]}}