@faststore/ui 2.2.10 → 2.2.16

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/ui",
3
- "version": "2.2.10",
3
+ "version": "2.2.16",
4
4
  "description": "A lightweight, framework agnostic component library for React",
5
5
  "author": "emersonlaurentino",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  }
49
49
  ],
50
50
  "dependencies": {
51
- "@faststore/components": "^2.2.10",
51
+ "@faststore/components": "^2.2.16",
52
52
  "include-media": "^1.4.10",
53
53
  "modern-normalize": "^1.1.0",
54
54
  "react-swipeable": "^7.0.0",
@@ -59,8 +59,8 @@
59
59
  "react-dom": "^18.2.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@faststore/eslint-config": "^2.2.0",
63
- "@faststore/shared": "^2.2.0",
62
+ "@faststore/eslint-config": "^2.2.16",
63
+ "@faststore/shared": "^2.2.16",
64
64
  "@size-limit/preset-small-lib": "^7.0.8",
65
65
  "@types/tabbable": "^3.1.1",
66
66
  "babel-loader": "^8.2.5",
@@ -72,5 +72,5 @@
72
72
  "node": "16.18.0",
73
73
  "yarn": "1.19.1"
74
74
  },
75
- "gitHead": "a0774a2e911ebcdf167e0456b53ef0be84c58a99"
75
+ "gitHead": "4ecdc351834e7d73981508a3b22e3fc04cb19b2c"
76
76
  }
@@ -214,15 +214,6 @@
214
214
  }
215
215
  }
216
216
 
217
- @mixin image_pos($pos) {
218
- [data-fs-image-gallery-position='#{$pos}'] {
219
- object-position: $pos;
220
- [data-fs-image] {
221
- object-position: $pos;
222
- }
223
- }
224
- }
225
-
226
217
  // --------------------------------------------------------
227
218
  // Variants Styles
228
219
  // --------------------------------------------------------
@@ -235,24 +226,7 @@
235
226
  }
236
227
  }
237
228
 
238
- &[data-fs-image-gallery-position="top"] {
239
- > [data-fs-image],
240
- [data-fs-image-gallery-selector-thumbnail] [data-fs-image] {
241
- object-position: top;
242
- }
243
- }
244
-
245
- &[data-fs-image-gallery-position="center"] {
246
- > [data-fs-image],
247
- [data-fs-image-gallery-selector-thumbnail] [data-fs-image] {
248
- object-position: center;
249
- }
250
- }
251
-
252
- &[data-fs-image-gallery-position="bottom"] {
253
- > [data-fs-image],
254
- [data-fs-image-gallery-selector-thumbnail] [data-fs-image] {
255
- object-position: bottom;
256
- }
229
+ > [data-fs-image] {
230
+ object-fit: contain;
257
231
  }
258
232
  }