Sha256: c351f9de3ff9847dc4f20a577c3b3122d9743ac273fc6a91d2a6c3bee122a58b
Contents?: true
Size: 867 Bytes
Versions: 3
Compression:
Stored size: 867 Bytes
Contents
# typed: false # frozen_string_literal: true module Ariadne module UI module Dialog class Component < Ariadne::BaseComponent option :trigger_text 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-white", "dark:ariadne-bg-zinc-950", "backdrop:ariadne-bg-zinc-900/20", "backdrop:dark:ariadne-bg-zinc-100/20", ] end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems