{{-- アップロード画像選択を生成する |ファイル選択 + ドロップ選択 でファイル選択する @props name file項目のname属性 @props value デフォルト値(ファイル名) @props url リンクURL @see Action Component.inputFileDropImage --}} @props(['name'=>'file', 'value', 'url']) @php // 表示内容を編集する $dragCss = "flex flex-wrap gap-1.5 py-2.5 px-2 sm:px-3 items-center justify-center sm:justify-start bg-primary-50 border border-primary-200 max-w-fit rounded group-[.active]/file:border group-[.active]/file:border-primary-700 group-[.active]/file:bg-primary-200"; $buttonCss = "btn-sub bg-primary-400 text-white border-transparent hover:bg-primary-300"; $delCss = "w-5 h-5 mr-1 text-primary-700 bg-secondary-100 rounded border-secondary-300 focus:ring-primary-300 focus:ring-offset-0 focus:ring-4 outline-none"; @endphp