@smwb/ui-css 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/dist/ui.css +16 -3
  2. package/package.json +2 -2
package/dist/ui.css CHANGED
@@ -1,5 +1,6 @@
1
1
  @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
2
2
  .smwb-appbar {
3
+ box-sizing: border-box;
3
4
  padding: 0 16px;
4
5
  display: flex;
5
6
  align-items: center;
@@ -4093,13 +4094,25 @@
4093
4094
  justify-content: center;
4094
4095
  }
4095
4096
  .smwb-carousel__fullscreen-stage {
4097
+ position: relative;
4098
+ width: 100%;
4099
+ height: 100%;
4100
+ overflow: hidden;
4101
+ touch-action: pan-y;
4102
+ }
4103
+ .smwb-carousel__fullscreen-track {
4104
+ display: flex;
4105
+ width: 100%;
4106
+ height: 100%;
4107
+ will-change: transform;
4108
+ }
4109
+ .smwb-carousel__fullscreen-slide {
4110
+ flex: 0 0 100%;
4096
4111
  display: flex;
4097
4112
  align-items: center;
4098
4113
  justify-content: center;
4099
- max-width: 100%;
4100
- max-height: 100%;
4101
4114
  }
4102
- .smwb-carousel__fullscreen-stage img {
4115
+ .smwb-carousel__fullscreen-slide img {
4103
4116
  max-width: 96vw;
4104
4117
  max-height: 92vh;
4105
4118
  width: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smwb/ui-css",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Prebuilt aggregate stylesheet for the @smwb design system (compiled from @smwb/ui-styles). Framework-agnostic — shared by the React and SolidJS libraries.",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
@@ -19,7 +19,7 @@
19
19
  "build": "lessc -rp=/ ../styles/less/components.less ./dist/ui.css"
20
20
  },
21
21
  "devDependencies": {
22
- "@smwb/ui-styles": "^1.0.2",
22
+ "@smwb/ui-styles": "^1.0.4",
23
23
  "less": "^4.6.4"
24
24
  },
25
25
  "homepage": "https://sourcecraft.dev/elfenmail/ui",