@ossy/storage 3.19.0 → 3.21.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ossy/storage",
3
3
  "description": "Analytics module — workspace analytics for website traffic",
4
- "version": "3.19.0",
4
+ "version": "3.21.0",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "module": "./src/index.js",
@@ -31,5 +31,5 @@
31
31
  "ramda": "*",
32
32
  "react": "*"
33
33
  },
34
- "gitHead": "0ac103001a468f56597c02cf1c6802bf7bd89b33"
34
+ "gitHead": "f3eeb810cfdd6eb8be7951eb767669fa29a1b3d8"
35
35
  }
@@ -671,15 +671,45 @@ export const ResourcesPage = () => {
671
671
  gap="xs"
672
672
  style={{ height: '100%', minHeight: 0, flex: '1 1 auto' }}
673
673
  >
674
- {/* Match ListPanelLayout compact: panel replaces list under 900px. */}
675
- <style href="@ossy/storage/list-panel-compact" precedence="medium">{`
674
+ {/* Grid split so the detail panel stretches to the remaining page height.
675
+ Compact: panel replaces the list under 900px, matching ListPanelLayout. */}
676
+ <style href="@ossy/storage/list-panel-compact" precedence="high">{`
677
+ [data-storage-list-panel][data-layout="row"] {
678
+ display: grid;
679
+ grid-template-columns: minmax(0, 1fr);
680
+ grid-template-rows: minmax(0, 1fr);
681
+ align-items: stretch;
682
+ height: 100%;
683
+ min-height: 0;
684
+ }
685
+
686
+ [data-storage-list-panel][data-storage-has-panel="true"][data-layout="row"] {
687
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
688
+ }
689
+
690
+ [data-storage-list-panel] > [data-storage-list],
691
+ [data-storage-list-panel] > [data-resource-panel] {
692
+ height: 100%;
693
+ max-height: 100%;
694
+ min-height: 0;
695
+ min-width: 0;
696
+ }
697
+
698
+ [data-storage-list-panel] > [data-resource-panel] {
699
+ width: 100%;
700
+ }
701
+
676
702
  @media (max-width: 900px) {
703
+ [data-storage-list-panel][data-storage-has-panel="true"][data-layout="row"] {
704
+ grid-template-columns: minmax(0, 1fr);
705
+ }
706
+
677
707
  [data-storage-list-panel][data-storage-has-panel="true"] > [data-storage-list] {
678
708
  display: none;
679
709
  }
680
710
 
681
711
  [data-storage-list-panel][data-storage-has-panel="true"] > [data-resource-panel] {
682
- width: 100% !important;
712
+ width: 100%;
683
713
  }
684
714
  }
685
715
  `}</style>
@@ -1115,7 +1145,7 @@ export const ResourcesPage = () => {
1115
1145
  </View>
1116
1146
  </View.Item>
1117
1147
 
1118
- <ResourcePanel resourceId={selectedResourceId} onClose={clearSelectedResourceId} />
1148
+ <ResourcePanel width="100%" resourceId={selectedResourceId} onClose={clearSelectedResourceId} />
1119
1149
 
1120
1150
  </View>
1121
1151
 
@@ -40,7 +40,7 @@
40
40
  "storage.resources.viewGraph": "Grafvy",
41
41
  "storage.graph.loading": "Laddar graf…",
42
42
  "storage.graph.loadingLib": "Initierar 3D-motor…",
43
- "storage.graph.empty": "Inga inbäddade resurser ännu. Kör Bädda in resurs-uppgiften på några filer först.",
43
+ "storage.graph.empty": "Inga inbäddade resurser ännu. Kör rutinen Bädda in resurs på några filer först.",
44
44
  "storage.graph.error": "Kunde inte ladda grafdata.",
45
45
  "storage.resources.sort": "Sortera",
46
46
  "storage.resources.sortByName": "Namn",
@@ -54,11 +54,11 @@
54
54
  "storage.resources.paginationPage": "Sida {page} av {pages}",
55
55
  "storage.resources.paginationPrevious": "Föregående sida",
56
56
  "storage.resources.paginationNext": "Nästa sida",
57
- "storage.resources.tasks": "Uppgifter",
58
- "storage.resources.taskRunning": "Kör uppgift…",
59
- "storage.resources.taskFinished": "Uppgiften klar",
60
- "storage.resources.taskSkipped": "Uppgiften hoppades över",
61
- "storage.resources.taskFailedTitle": "Uppgiften misslyckades",
57
+ "storage.resources.tasks": "Rutiner",
58
+ "storage.resources.taskRunning": "Kör rutin…",
59
+ "storage.resources.taskFinished": "Rutinen klar",
60
+ "storage.resources.taskSkipped": "Rutinen hoppades över",
61
+ "storage.resources.taskFailedTitle": "Rutinen misslyckades",
62
62
  "storage.taskRunDialog.cancel": "Avbryt",
63
63
  "storage.taskRunDialog.run": "Kör"
64
64
  }