Skip to content

Commit

Permalink
Merge pull request #860 from helsingborg-stad/fix/dropdown-docs
Browse files Browse the repository at this point in the history
Chore: dropdown docs
  • Loading branch information
Anna authored Dec 15, 2023
2 parents f1af015 + 2bb1703 commit f05b5bd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
6 changes: 4 additions & 2 deletions views/pages/components/usage/dropdown/click.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
@button([
'text' => 'Click',
'icon' => 'keyboard_arrow_down',
'size' => 'md'
'size' => 'md',
'classList' => [
'js-dropdown-button'
]
])
@endbutton
@enddropdown
21 changes: 16 additions & 5 deletions views/pages/components/usage/dropdown/direction.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
'text' => 'Left',
'icon' => 'keyboard_arrow_left',
'size' => 'md',
'reversePositions' => true
'reversePositions' => true,
'classList' => [
'js-dropdown-button'
]
])
@endbutton
Expand All @@ -21,7 +24,10 @@
@button([
'text' => 'Right',
'icon' => 'keyboard_arrow_right',
'size' => 'md'
'size' => 'md',
'classList' => [
'js-dropdown-button'
]
])
@endbutton
Expand All @@ -36,7 +42,10 @@
@button([
'text' => 'Up',
'icon' => 'keyboard_arrow_up',
'size' => 'md'
'size' => 'md',
'classList' => [
'js-dropdown-button'
]
])
@endbutton
Expand All @@ -50,8 +59,10 @@
@button([
'text' => 'Down',
'icon' => 'keyboard_arrow_down',
'size' => 'md'
'size' => 'md',
'classList' => [
'js-dropdown-button'
]
])
@endbutton
@enddropdown
13 changes: 0 additions & 13 deletions views/pages/components/usage/dropdown/hover.blade.php

This file was deleted.

0 comments on commit f05b5bd

Please sign in to comment.