Sha256: 0ef5a4b0d6cafe5ad4f44269d5eae07a5a6eb19405efd108a288b65fff6ae726

Contents?: true

Size: 926 Bytes

Versions: 39

Compression:

Stored size: 926 Bytes

Contents

# typed: false
# frozen_string_literal: true

module Ariadne
  module Layout
    module TwoPanel
      class Component < Ariadne::BaseComponent
        renders_one :left_panel, Ariadne::BaseComponent::ACCEPT_ANYTHING

        style do
          base do
            [
              "ariadne-flex", "ariadne-flex-col", "sm:ariadne-flex-row", "ariadne-h-full",
            ]
          end
        end

        style :menu do
          base do
            [
              "ariadne-basis-1/4",
              "ariadne-shrink-0",
              "ariadne-px-2",
              "ariadne-pb-2",
              "sm:ariadne-p-4",
              "ariadne-bg-zinc-50",
              "dark:ariadne-bg-zinc-900",
              "max-sm:ariadne-border-b",
              "sm:ariadne-border-e",
              "ariadne-border-black/10",
              "dark:ariadne-border-white/10",
            ]
          end
        end
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.92 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.91 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.90 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.89.1 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.89 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.88 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.87 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.86.9 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.86.8 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.86.7 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.86.6 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.86.5 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.86.4 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.86.3 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.86.2 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.86.1 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.86 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.85 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.84 app/components/ariadne/layout/two_panel/component.rb
ariadne_view_components-0.0.83.3 app/components/ariadne/layout/two_panel/component.rb