Sha256: a059c9ea87d33ef2ff024c8ffedf8dc804411a4d492a9e1745e1aa8d04335398

Contents?: true

Size: 745 Bytes

Versions: 2

Compression:

Stored size: 745 Bytes

Contents

shared:
  main:
    - name: preview
      partial: lookbook/previews/panels/preview
      label: Preview
      hotkey: v

    - name: output
      partial: lookbook/previews/panels/output
      label: HTML
      hotkey: h

  drawer:
    - name: source
      partial: lookbook/previews/panels/source
      label: Source
      hotkey: s
      copy: "->(data) { data.examples.map { |e| e.source }.join(\n) }"

    - name: notes
      partial: lookbook/previews/panels/notes
      label: Notes
      hotkey: n
      disabled: ->(data) { data.examples.select { |e| e.notes.present? }.none? }

    - name: params
      partial: lookbook/previews/panels/params
      label: Params
      hotkey: p
      disabled: ->(data) { data.preview.params.none? }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lookbook-1.2.1 config/panels.yml
lookbook-1.2.0 config/panels.yml