Skip to content

Commit 4b6ef21

Browse files
author
sachbearbeiter
committed
Minor changes for v4.2.0
1 parent 26f9d6c commit 4b6ef21

File tree

6 files changed

+19
-7
lines changed

6 files changed

+19
-7
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Note that this Composer package name (belugadigital/kirby-navigation) differs fr
1515

1616
| Kirby version | Compatible plugin version |
1717
|:--------------|:--------------------------|
18+
| ^5.0 | ^5.0 |
19+
| ^4.8 | ^4.2 |
1820
| ^4.0 | ^4.0 |
1921
| ^3.7 | ^3.0 |
2022
| ^3.6 | ^2.0 |

composer.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
"name": "chrisbeluga/kirby-navigation",
33
"description": "Kirby 4 field for hierarchical menus with drag & drop level indentation.",
44
"type": "kirby-plugin",
5-
"version": "4.1.3",
5+
"keywords": [
6+
"kirby-plugin",
7+
"navigation",
8+
"menu",
9+
"field"
10+
],
11+
"version": "4.2.0",
612
"license": "MIT",
713
"homepage": "https://github.com/chrisbeluga/kirby-navigation",
814
"authors": [
@@ -25,10 +31,15 @@
2531
}
2632
],
2733
"require": {
34+
"php": ">=8.1.0 <8.5.0",
35+
"getkirby/cms": "^4.0 || ^5.0",
2836
"getkirby/composer-installer": "^1.2"
2937
},
3038
"config": {
31-
"optimize-autoloader": true
39+
"optimize-autoloader": true,
40+
"allow-plugins": {
41+
"getkirby/composer-installer": true
42+
}
3243
},
3344
"extra": {
3445
"installer-name": "kirby-navigation"

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
use Kirby\Cms\App as Kirby;
4-
53
Kirby::plugin('chrisbeluga/navigation', [
64
'fields' => [
75
'navigation' => [

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"name": "kirby-navigation",
3+
"type": "module",
24
"scripts": {
35
"dev": "npx -y kirbyup src/index.js --watch",
46
"build": "npx -y kirbyup src/index.js"

src/Field.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
{{ $t('menu.link.add') }}
1616
</k-button>
1717
<k-dropdown-content
18-
ref="menu"
19-
align="right">
18+
ref="menu">
2019
<k-dropdown-item v-on:click="modal_open('default')">
2120
<span class="k-menu-title">
2221
{{ $t('menu.link.title') }}

0 commit comments

Comments
 (0)