@smwb/ui-css 1.0.1 → 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.
Files changed (2) hide show
  1. package/dist/ui.css +17 -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;
@@ -3675,6 +3676,7 @@
3675
3676
  box-shadow: rgba(0, 0, 0, 0.14) 0px 8px 10px -5px, rgba(0, 0, 0, 0.14) 0px 1px 14px 1px, rgba(0, 0, 0, 0.14) 0px 6px 22px 4px;
3676
3677
  z-index: 100;
3677
3678
  padding: 10px 20px 20px;
3679
+ box-sizing: border-box;
3678
3680
  overflow: hidden;
3679
3681
  display: flex;
3680
3682
  max-width: 100vw;
@@ -4093,13 +4095,25 @@
4093
4095
  justify-content: center;
4094
4096
  }
4095
4097
  .smwb-carousel__fullscreen-stage {
4098
+ position: relative;
4099
+ width: 100%;
4100
+ height: 100%;
4101
+ overflow: hidden;
4102
+ touch-action: pan-y;
4103
+ }
4104
+ .smwb-carousel__fullscreen-track {
4105
+ display: flex;
4106
+ width: 100%;
4107
+ height: 100%;
4108
+ will-change: transform;
4109
+ }
4110
+ .smwb-carousel__fullscreen-slide {
4111
+ flex: 0 0 100%;
4096
4112
  display: flex;
4097
4113
  align-items: center;
4098
4114
  justify-content: center;
4099
- max-width: 100%;
4100
- max-height: 100%;
4101
4115
  }
4102
- .smwb-carousel__fullscreen-stage img {
4116
+ .smwb-carousel__fullscreen-slide img {
4103
4117
  max-width: 96vw;
4104
4118
  max-height: 92vh;
4105
4119
  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.3",
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.5",
23
23
  "less": "^4.6.4"
24
24
  },
25
25
  "homepage": "https://sourcecraft.dev/elfenmail/ui",