@tekkare/romulus 0.1.324 → 0.1.325

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/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.16.0"
6
6
  },
7
- "version": "0.1.323",
7
+ "version": "0.1.324",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -51,6 +51,12 @@ export interface RmNavItem {
51
51
  * « Sous-pages » dans l'en-tete.
52
52
  */
53
53
  children?: RmNavItem[]
54
+ /**
55
+ * Filet au-dessus de l'entree, dans son groupe. Pour couper une courte
56
+ * liste en deux sans ouvrir un nouveau groupe, dont l'ecart de 16px est
57
+ * trop large pour trois ou quatre entrees.
58
+ */
59
+ separator?: boolean
54
60
  }
55
61
 
56
62
  export interface RmNavSection {
@@ -320,6 +326,7 @@ watch(() => props.collapsed, hideTip)
320
326
 
321
327
  <template v-if="isOpen(section)">
322
328
  <template v-for="item in section.items" :key="item.to ?? item.href ?? item.label">
329
+ <div v-if="item.separator" class="rm-sb__rule" role="separator" />
323
330
  <a
324
331
  v-if="item.href"
325
332
  :href="item.href"
@@ -12,6 +12,8 @@ export type OipNavItem = {
12
12
  active?: boolean;
13
13
  /** Sous-pages, sur un seul niveau : RmSidebarLeft les deplie sous l'entree. */
14
14
  children?: OipNavItem[];
15
+ /** Filet au-dessus de l'entree, dans son groupe, cf. RmNavItem. */
16
+ separator?: boolean;
15
17
  };
16
18
 
17
19
  export type OipNavSection = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/romulus",
3
- "version": "0.1.324",
3
+ "version": "0.1.325",
4
4
  "description": "Romulus Design System - Nuxt module by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",