strapi-plugin-navigation 3.0.0 → 3.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/_chunks/{ca-Catou0wg.mjs → ca-BQ81Qo-9.mjs} +8 -1
- package/dist/_chunks/{ca-DtaqQvTI.js → ca-DnfumDWu.js} +8 -1
- package/dist/_chunks/{en-BPYZYsnc.mjs → en-CcW4J8BX.mjs} +8 -1
- package/dist/_chunks/{en-CT7eKHZS.js → en-DFL7XJr6.js} +8 -1
- package/dist/_chunks/{fr-BTVWPkax.mjs → fr-C2AllG-a.mjs} +8 -1
- package/dist/_chunks/{fr-ybbSdjZO.js → fr-CM4is9Gz.js} +8 -1
- package/dist/admin/index.js +239 -222
- package/dist/admin/index.mjs +239 -222
- package/dist/admin/src/translations/ca.d.ts +7 -0
- package/dist/admin/src/translations/en.d.ts +7 -0
- package/dist/admin/src/translations/fr.d.ts +7 -0
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +3 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<div align="center"
|
|
2
|
-
<img style="width: 150px; height: auto;" src="
|
|
1
|
+
<div align="center" style="max-width: 10rem; margin: 0 auto">
|
|
2
|
+
<img style="width: 150px; height: auto;" src="https://www.sensinum.com/img/open-source/strapi-plugin-navigation/logo.png" alt="Logo - Strapi Navigation plugin" />
|
|
3
3
|
</div>
|
|
4
4
|
<div align="center">
|
|
5
5
|
<h1>Strapi - Navigation plugin</h1>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
23
|
<div style="margin: 20px 0" align="center">
|
|
24
|
-
<img style="width: 100%; height: auto;" src="
|
|
24
|
+
<img style="width: 100%; height: auto;" src="https://www.sensinum.com/img/open-source/strapi-plugin-navigation/preview.png" alt="UI preview" />
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
27
|
Strapi Navigation Plugin provides a website navigation / menu builder feature for [Strapi Headless CMS](https://github.com/strapi/strapi) admin panel. Navigation has the possibility to control the audience and can be consumed by the website with different output structure renderers:
|
|
@@ -77,7 +77,7 @@ Strapi Navigation Plugin provides a website navigation / menu builder feature fo
|
|
|
77
77
|
As a ✅ **verified** plugin by Strapi team we're available on the [**Strapi Marketplace**](https://market.strapi.io/plugins/strapi-plugin-navigation) as well as **In-App Marketplace** where you can follow the installation instructions.
|
|
78
78
|
|
|
79
79
|
<div style="margin: 20px 0" align="center">
|
|
80
|
-
<img style="width: 100%; height: auto;" src="
|
|
80
|
+
<img style="width: 100%; height: auto;" src="https://www.sensinum.com/img/open-source/strapi-plugin-navigation/marketplace.png" alt="Strapi In-App Marketplace" />
|
|
81
81
|
</div>
|
|
82
82
|
|
|
83
83
|
### Via command line
|
|
@@ -100,7 +100,7 @@ The **UI Navigation** plugin should appear in the **Plugins** section of Strapi
|
|
|
100
100
|
You can manage your multiple navigation containers by going to the **Navigation** manage view by clicking "Manage" button.
|
|
101
101
|
|
|
102
102
|
<div style="margin: 20px 0" align="center">
|
|
103
|
-
<img style="width: 100%; height: auto;" src="
|
|
103
|
+
<img style="width: 100%; height: auto;" src="https://www.sensinum.com/img/open-source/strapi-plugin-navigation/manager-view.png" alt="Navigation Manager View" />
|
|
104
104
|
</div>
|
|
105
105
|
|
|
106
106
|
As a next step you must configure your the plugin by the way you want to. See [**Configuration**](#🔧-configuration) section.
|
|
@@ -113,7 +113,7 @@ Complete installation requirements are exact same as for Strapi itself and can b
|
|
|
113
113
|
|
|
114
114
|
**Supported Strapi versions**:
|
|
115
115
|
|
|
116
|
-
- Strapi v5.
|
|
116
|
+
- Strapi v5.6.0 (recently tested)
|
|
117
117
|
- Strapi v5.x
|
|
118
118
|
|
|
119
119
|
> This plugin is designed for **Strapi v5** and is not working with v4.x. To get version for **Strapi v4** install version [v4.x](https://github.com/VirtusLab-Open-Source/strapi-plugin-navigation/tree/strapi-v4).
|
|
@@ -129,7 +129,7 @@ To start your journey with **Navigation plugin** you must first setup it using t
|
|
|
129
129
|
On the dedicated page, you will be able to set up all crucial properties which drive the plugin and customize each individual collection for which **Navigation plugin** should be enabled.
|
|
130
130
|
|
|
131
131
|
<div style="margin: 20px 0" align="center">
|
|
132
|
-
<img style="width: 100%; height: auto;" src="
|
|
132
|
+
<img style="width: 100%; height: auto;" src="https://www.sensinum.com/img/open-source/strapi-plugin-navigation/configuration.png" alt="Plugin configuration" />
|
|
133
133
|
</div>
|
|
134
134
|
|
|
135
135
|
> *Note*
|
|
@@ -111,6 +111,9 @@ const ca = {
|
|
|
111
111
|
label: "Clé du routeur UI",
|
|
112
112
|
placeholder: 'Si vide, généré automatiquement par "Titre"'
|
|
113
113
|
},
|
|
114
|
+
uiRouter: {
|
|
115
|
+
unableToRender: "Impossible de restituer le slug et/ou la clé du routeur d'interface utilisateur en raison de caractères non pris en charge"
|
|
116
|
+
},
|
|
114
117
|
path: {
|
|
115
118
|
label: "URL",
|
|
116
119
|
placeholder: "Partie unique de l'URL identifiant cet élément",
|
|
@@ -124,7 +127,11 @@ const ca = {
|
|
|
124
127
|
}
|
|
125
128
|
},
|
|
126
129
|
menuAttached: {
|
|
127
|
-
label: "Attacher au menu"
|
|
130
|
+
label: "Attacher au menu",
|
|
131
|
+
value: {
|
|
132
|
+
yes: "Sí",
|
|
133
|
+
no: "No"
|
|
134
|
+
}
|
|
128
135
|
},
|
|
129
136
|
type: {
|
|
130
137
|
label: "Type d'élément de navigation",
|
|
@@ -113,6 +113,9 @@ const ca = {
|
|
|
113
113
|
label: "Clé du routeur UI",
|
|
114
114
|
placeholder: 'Si vide, généré automatiquement par "Titre"'
|
|
115
115
|
},
|
|
116
|
+
uiRouter: {
|
|
117
|
+
unableToRender: "Impossible de restituer le slug et/ou la clé du routeur d'interface utilisateur en raison de caractères non pris en charge"
|
|
118
|
+
},
|
|
116
119
|
path: {
|
|
117
120
|
label: "URL",
|
|
118
121
|
placeholder: "Partie unique de l'URL identifiant cet élément",
|
|
@@ -126,7 +129,11 @@ const ca = {
|
|
|
126
129
|
}
|
|
127
130
|
},
|
|
128
131
|
menuAttached: {
|
|
129
|
-
label: "Attacher au menu"
|
|
132
|
+
label: "Attacher au menu",
|
|
133
|
+
value: {
|
|
134
|
+
yes: "Sí",
|
|
135
|
+
no: "No"
|
|
136
|
+
}
|
|
130
137
|
},
|
|
131
138
|
type: {
|
|
132
139
|
label: "Type d'élément de navigation",
|
|
@@ -115,6 +115,9 @@ const en = {
|
|
|
115
115
|
label: "UI router key",
|
|
116
116
|
placeholder: 'If empty, auto generated by "Title"'
|
|
117
117
|
},
|
|
118
|
+
uiRouter: {
|
|
119
|
+
unableToRender: "Unable to render slug and/or UI Router Key because of not supported characters"
|
|
120
|
+
},
|
|
118
121
|
path: {
|
|
119
122
|
label: "URL",
|
|
120
123
|
placeholder: "Unique url part identifies this item",
|
|
@@ -128,7 +131,11 @@ const en = {
|
|
|
128
131
|
}
|
|
129
132
|
},
|
|
130
133
|
menuAttached: {
|
|
131
|
-
label: "Attach to menu"
|
|
134
|
+
label: "Attach to menu",
|
|
135
|
+
value: {
|
|
136
|
+
yes: "Yes",
|
|
137
|
+
no: "No"
|
|
138
|
+
}
|
|
132
139
|
},
|
|
133
140
|
type: {
|
|
134
141
|
label: "Navigation item type",
|
|
@@ -117,6 +117,9 @@ const en = {
|
|
|
117
117
|
label: "UI router key",
|
|
118
118
|
placeholder: 'If empty, auto generated by "Title"'
|
|
119
119
|
},
|
|
120
|
+
uiRouter: {
|
|
121
|
+
unableToRender: "Unable to render slug and/or UI Router Key because of not supported characters"
|
|
122
|
+
},
|
|
120
123
|
path: {
|
|
121
124
|
label: "URL",
|
|
122
125
|
placeholder: "Unique url part identifies this item",
|
|
@@ -130,7 +133,11 @@ const en = {
|
|
|
130
133
|
}
|
|
131
134
|
},
|
|
132
135
|
menuAttached: {
|
|
133
|
-
label: "Attach to menu"
|
|
136
|
+
label: "Attach to menu",
|
|
137
|
+
value: {
|
|
138
|
+
yes: "Yes",
|
|
139
|
+
no: "No"
|
|
140
|
+
}
|
|
134
141
|
},
|
|
135
142
|
type: {
|
|
136
143
|
label: "Navigation item type",
|
|
@@ -115,6 +115,9 @@ const fr = {
|
|
|
115
115
|
label: "Clé du routeur UI",
|
|
116
116
|
placeholder: 'Si vide, généré automatiquement par "Titre"'
|
|
117
117
|
},
|
|
118
|
+
uiRouter: {
|
|
119
|
+
unableToRender: "Impossible de restituer le slug et/ou la clé du routeur d'interface utilisateur en raison de caractères non pris en charge"
|
|
120
|
+
},
|
|
118
121
|
path: {
|
|
119
122
|
label: "URL",
|
|
120
123
|
placeholder: "Partie unique de l'URL identifiant cet élément",
|
|
@@ -128,7 +131,11 @@ const fr = {
|
|
|
128
131
|
}
|
|
129
132
|
},
|
|
130
133
|
menuAttached: {
|
|
131
|
-
label: "Attacher au menu"
|
|
134
|
+
label: "Attacher au menu",
|
|
135
|
+
value: {
|
|
136
|
+
yes: "Oui",
|
|
137
|
+
no: "Non"
|
|
138
|
+
}
|
|
132
139
|
},
|
|
133
140
|
type: {
|
|
134
141
|
label: "Type d'élément de navigation",
|
|
@@ -117,6 +117,9 @@ const fr = {
|
|
|
117
117
|
label: "Clé du routeur UI",
|
|
118
118
|
placeholder: 'Si vide, généré automatiquement par "Titre"'
|
|
119
119
|
},
|
|
120
|
+
uiRouter: {
|
|
121
|
+
unableToRender: "Impossible de restituer le slug et/ou la clé du routeur d'interface utilisateur en raison de caractères non pris en charge"
|
|
122
|
+
},
|
|
120
123
|
path: {
|
|
121
124
|
label: "URL",
|
|
122
125
|
placeholder: "Partie unique de l'URL identifiant cet élément",
|
|
@@ -130,7 +133,11 @@ const fr = {
|
|
|
130
133
|
}
|
|
131
134
|
},
|
|
132
135
|
menuAttached: {
|
|
133
|
-
label: "Attacher au menu"
|
|
136
|
+
label: "Attacher au menu",
|
|
137
|
+
value: {
|
|
138
|
+
yes: "Oui",
|
|
139
|
+
no: "Non"
|
|
140
|
+
}
|
|
134
141
|
},
|
|
135
142
|
type: {
|
|
136
143
|
label: "Type d'élément de navigation",
|