@smwb/ui-styles 1.0.2 → 1.0.3

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.
@@ -91,11 +91,26 @@
91
91
  }
92
92
 
93
93
  .smwb-carousel__fullscreen-stage {
94
+ position: relative;
95
+ width: 100%;
96
+ height: 100%;
97
+ overflow: hidden;
98
+ // Let horizontal swipes drive navigation without the page intercepting them.
99
+ touch-action: pan-y;
100
+ }
101
+
102
+ .smwb-carousel__fullscreen-track {
103
+ display: flex;
104
+ width: 100%;
105
+ height: 100%;
106
+ will-change: transform;
107
+ }
108
+
109
+ .smwb-carousel__fullscreen-slide {
110
+ flex: 0 0 100%;
94
111
  display: flex;
95
112
  align-items: center;
96
113
  justify-content: center;
97
- max-width: 100%;
98
- max-height: 100%;
99
114
 
100
115
  img {
101
116
  max-width: 96vw;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smwb/ui-styles",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Framework-agnostic LESS design tokens and component styles (smwb-*) shared by the @smwb UI libraries. Prebuilt aggregate CSS lives in @smwb/ui-css.",
5
5
  "license": "MIT",
6
6
  "sideEffects": [