Sha256: 2bfcaff45c1cad75369c05147b8823d4adfd17646af780ee7b427765be1bc671
Contents?: true
Size: 928 Bytes
Versions: 5
Compression:
Stored size: 928 Bytes
Contents
# typed: false # frozen_string_literal: true module Ariadne module UI module Dialog class Component < Ariadne::BaseComponent option :title option :trigger_close_label option :description, optional: true renders_one :trigger renders_one :footer accepts_html_attributes style do base do [ "ariadne-fixed", "ariadne-w-96", "ariadne-max-w-[90vw]", "ariadne-max-h-[90-vh]", "ariadne-shadow-xl", "ariadne-rounded-2xl", "ariadne-bg-foreground", "dark:bg-foreground-dark", "ariadne-text-content", "dark:ariadne-text-content-dark", "backdrop:ariadne-bg-zinc-900/20", "backdrop:dark:ariadne-bg-zinc-100/20", ] end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems