app/components/poetry/ui/navigation_menu/component.rb
Hosts security block token
SHA-2562c4bfcae48c3979fdded43c45adaffd266bbf1c3c7e2cd45aea662ae27807dd8
MaleculeO(Er)
Evidence
1# frozen_string_literal: true
2
3module Poetry
4 module Ui
5 # A site-navigation bar with disclosure panels.
6 module NavigationMenu
7 # A site-navigation bar - a <nav> landmark, …
9:62… E bar,
10 # so Tab moves through it normally and nothing traps focus.
11 #
12 # By default each panel opens under its own item. viewport: true
13 # switches to one shared card that morphs its size and position
14 # between triggers - the fit for rich title-and-description panel
15 # grids.
16 #
17 # @example Disclosure bar with a …
31:14… ver buttons; navigation navigates.",
32 "This is a DISCLOSURE bar: Tab moves through it normally and nothing traps - do not " \
33 "wi …
37:53… per-item mode suits simple link lists " \
38 "(the top-nav block shows the viewport pattern)."
39 ].freeze
40
41 # One declared bar entry - a link (href:) or a trigger + panel pair
42 …