@data-fair/app-dashboards 1.0.0 → 1.0.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.
@@ -1299,29 +1299,6 @@
1299
1299
  }
1300
1300
  }
1301
1301
  },
1302
- "sectionsGroup": {
1303
- "title": "Rendu des sections",
1304
- "type": "string",
1305
- "oneOf": [
1306
- {
1307
- "const": "accordion",
1308
- "title": "En accordéon"
1309
- },
1310
- {
1311
- "const": "tabs-tab",
1312
- "title": "Dans des onglets"
1313
- },
1314
- {
1315
- "const": "tabs-button",
1316
- "title": "Dans des onglets (sélection par boutton)"
1317
- },
1318
- {
1319
- "const": "flow",
1320
- "title": "Les unes à la suite des autres"
1321
- }
1322
- ],
1323
- "default": "accordion"
1324
- },
1325
1302
  "showSources": {
1326
1303
  "title": "Afficher les liens vers les sources des données",
1327
1304
  "type": "boolean",
@@ -1534,6 +1511,29 @@
1534
1511
  }
1535
1512
  }
1536
1513
  },
1514
+ "sectionsGroup": {
1515
+ "title": "Rendu des sections",
1516
+ "type": "string",
1517
+ "oneOf": [
1518
+ {
1519
+ "const": "accordion",
1520
+ "title": "En accordéon"
1521
+ },
1522
+ {
1523
+ "const": "tabs-tab",
1524
+ "title": "Dans des onglets"
1525
+ },
1526
+ {
1527
+ "const": "tabs-button",
1528
+ "title": "Dans des onglets (sélection par boutton)"
1529
+ },
1530
+ {
1531
+ "const": "flow",
1532
+ "title": "Les unes à la suite des autres"
1533
+ }
1534
+ ],
1535
+ "default": "accordion"
1536
+ },
1537
1537
  "sectionsTitleStyle": {
1538
1538
  "title": "Style des titres de sections",
1539
1539
  "description": "Style appliqué à tous les libellés de sections",
@@ -1548,6 +1548,9 @@
1548
1548
  "color": "primary"
1549
1549
  }
1550
1550
  },
1551
+ "layout": {
1552
+ "if": "rootData.sectionsGroup === 'flow'"
1553
+ },
1551
1554
  "type": "object",
1552
1555
  "properties": {
1553
1556
  "tag": {
package/dist/index.html CHANGED
@@ -25,8 +25,8 @@
25
25
 
26
26
  <!-- Capture a global variable defined by data-fair's reverse proxy. -->
27
27
  <script type="text/javascript">window.APPLICATION=%APPLICATION%;</script>
28
- <script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@1.0.0/dist/assets/index-CsckV716.js"></script>
29
- <link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@1.0.0/dist/assets/index-B300Ftha.css">
28
+ <script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@1.0.1/dist/assets/index-DoUo7GQr.js"></script>
29
+ <link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-dashboards@1.0.1/dist/assets/index-B300Ftha.css">
30
30
  </head>
31
31
 
32
32
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/app-dashboards",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "scripts": {
5
5
  "dev": "zellij --layout .zellij.kdl",
6
6
  "dev-server": "APP_URL=http://localhost:3000/app/ df-dev-server",