@ossy/storage 3.11.0 → 3.14.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.11.0",
4
+ "version": "3.14.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": "53ff8456920e09151c9d88df4a6c3ee958d811eb"
33
+ "gitHead": "539cc1b14a57e9f6472a89648939e21821dc204d"
34
34
  }
@@ -590,9 +590,34 @@ export const ResourcesPage = () => {
590
590
  }}
591
591
  >
592
592
 
593
- <View stack horizontal gap="xs" style={{ height: '100%', minHeight: 0, flex: '1 1 auto' }}>
594
-
595
- <View.Item fill surface="primary" roundness="xs" style={{ minHeight: 0, minWidth: 0 }}>
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