@ossy/storage 3.11.0 → 3.15.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 +2 -2
- package/src/ResourcesPage.jsx +28 -3
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.
|
|
4
|
+
"version": "3.15.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
7
|
"module": "./src/index.js",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"ramda": "*",
|
|
31
31
|
"react": "*"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "23517232ddc4f2c64ca0062faa3cad84ceaa34a7"
|
|
34
34
|
}
|
package/src/ResourcesPage.jsx
CHANGED
|
@@ -590,9 +590,34 @@ export const ResourcesPage = () => {
|
|
|
590
590
|
}}
|
|
591
591
|
>
|
|
592
592
|
|
|
593
|
-
<View
|
|
594
|
-
|
|
595
|
-
|
|
593
|
+
<View
|
|
594
|
+
data-storage-list-panel=""
|
|
595
|
+
data-storage-has-panel={selectedResourceId ? 'true' : 'false'}
|
|
596
|
+
stack
|
|
597
|
+
horizontal
|
|
598
|
+
gap="xs"
|
|
599
|
+
style={{ height: '100%', minHeight: 0, flex: '1 1 auto' }}
|
|
600
|
+
>
|
|
601
|
+
{/* Match ListPanelLayout compact: panel replaces list under 900px. */}
|
|
602
|
+
<style href="@ossy/storage/list-panel-compact" precedence="medium">{`
|
|
603
|
+
@media (max-width: 900px) {
|
|
604
|
+
[data-storage-list-panel][data-storage-has-panel="true"] > [data-storage-list] {
|
|
605
|
+
display: none;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
[data-storage-list-panel][data-storage-has-panel="true"] > [data-resource-panel] {
|
|
609
|
+
width: 100% !important;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
`}</style>
|
|
613
|
+
|
|
614
|
+
<View.Item
|
|
615
|
+
data-storage-list=""
|
|
616
|
+
fill
|
|
617
|
+
surface="primary"
|
|
618
|
+
roundness="xs"
|
|
619
|
+
style={{ minHeight: 0, minWidth: 0 }}
|
|
620
|
+
>
|
|
596
621
|
<View stack bordered style={{ height: '100%', minHeight: 0 }}>
|
|
597
622
|
|
|
598
623
|
<View.Item
|