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