@gradio/image 0.22.2 → 0.22.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @gradio/image
2
2
 
3
+ ## 0.22.4
4
+
5
+ ### Fixes
6
+
7
+ - [#11091](https://github.com/gradio-app/gradio/pull/11091) [`e3d80e3`](https://github.com/gradio-app/gradio/commit/e3d80e3c5c305ce84771ec78e5e25c705d4eff44) - Fix scaling issue when setting height in Image component. Thanks @freddyaboulton!
8
+
9
+ ## 0.22.3
10
+
11
+ ### Dependency updates
12
+
13
+ - @gradio/statustracker@0.10.10
14
+ - @gradio/upload@0.16.3
15
+ - @gradio/atoms@0.16.0
16
+
3
17
  ## 0.22.2
4
18
 
5
19
  ### Dependency updates
@@ -118,4 +118,12 @@ let image_container;
118
118
  max-height: 90vh;
119
119
  object-fit: scale-down;
120
120
  }
121
+
122
+ .image-frame {
123
+ width: auto;
124
+ height: 100%;
125
+ display: flex;
126
+ align-items: center;
127
+ justify-content: center;
128
+ }
121
129
  </style>
@@ -217,4 +217,10 @@ let image_container;
217
217
  .selectable {
218
218
  cursor: crosshair;
219
219
  }
220
+
221
+ .image-frame {
222
+ object-fit: cover;
223
+ width: 100%;
224
+ height: 100%;
225
+ }
220
226
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/image",
3
- "version": "0.22.2",
3
+ "version": "0.22.4",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -10,11 +10,11 @@
10
10
  "cropperjs": "^1.5.12",
11
11
  "lazy-brush": "^1.0.1",
12
12
  "resize-observer-polyfill": "^1.5.1",
13
- "@gradio/atoms": "^0.15.2",
14
- "@gradio/icons": "^0.12.0",
13
+ "@gradio/atoms": "^0.16.0",
15
14
  "@gradio/client": "^1.14.2",
16
- "@gradio/statustracker": "^0.10.9",
17
- "@gradio/upload": "^0.16.2",
15
+ "@gradio/icons": "^0.12.0",
16
+ "@gradio/statustracker": "^0.10.10",
17
+ "@gradio/upload": "^0.16.3",
18
18
  "@gradio/utils": "^0.10.2",
19
19
  "@gradio/wasm": "^0.18.1"
20
20
  },
@@ -130,4 +130,12 @@
130
130
  max-height: 90vh;
131
131
  object-fit: scale-down;
132
132
  }
133
+
134
+ .image-frame {
135
+ width: auto;
136
+ height: 100%;
137
+ display: flex;
138
+ align-items: center;
139
+ justify-content: center;
140
+ }
133
141
  </style>
@@ -249,4 +249,10 @@
249
249
  .selectable {
250
250
  cursor: crosshair;
251
251
  }
252
+
253
+ .image-frame {
254
+ object-fit: cover;
255
+ width: 100%;
256
+ height: 100%;
257
+ }
252
258
  </style>