Sha256: a05b2a38772719a10cb4723db29354634dc54ffaf586dc67a46281d48e62a001
Contents?: true
Size: 838 Bytes
Versions: 2
Compression:
Stored size: 838 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-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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ariadne_view_components-0.0.74.1 | app/components/ariadne/ui/dialog/component.rb |
ariadne_view_components-0.0.74 | app/components/ariadne/ui/dialog/component.rb |