@react-spectrum/image 3.5.1-nightly.4624 → 3.5.2-nightly.4629

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.
@@ -33,7 +33,7 @@ $parcel$export(module.exports, "Image", () => $bda2e7b47de3a920$export$3e431a229
33
33
  // incomplete component for show right now
34
34
  function $bda2e7b47de3a920$var$Image(props, ref) {
35
35
  /* Slots should be able to pass an alt for default behavior, but in Images, the child may know better. */ let userProvidedAlt = props.alt;
36
- props = (0, $lyGvT$reactspectrumutils.useSlotProps)(props, "image");
36
+ props = (0, $lyGvT$reactspectrumutils.useSlotProps)(props, 'image');
37
37
  props = (0, $lyGvT$reactspectrumprovider.useProviderProps)(props);
38
38
  let { objectFit: objectFit, src: src, alt: alt, ...otherProps } = props;
39
39
  let { styleProps: styleProps } = (0, $lyGvT$reactspectrumutils.useStyleProps)(otherProps);
@@ -45,7 +45,7 @@ function $bda2e7b47de3a920$var$Image(props, ref) {
45
45
  className: (0, $lyGvT$reactspectrumutils.classNames)((0, ($parcel$interopDefault($ec6587ec6732a958$exports))), styleProps.className),
46
46
  style: {
47
47
  ...styleProps.style,
48
- overflow: "hidden"
48
+ overflow: 'hidden'
49
49
  },
50
50
  ref: domRef
51
51
  }, /*#__PURE__*/ (0, ($parcel$interopDefault($lyGvT$react))).createElement("img", {
@@ -54,7 +54,7 @@ function $bda2e7b47de3a920$var$Image(props, ref) {
54
54
  style: {
55
55
  objectFit: objectFit
56
56
  },
57
- className: (0, $lyGvT$reactspectrumutils.classNames)((0, ($parcel$interopDefault($ec6587ec6732a958$exports))), "spectrum-Image-img"),
57
+ className: (0, $lyGvT$reactspectrumutils.classNames)((0, ($parcel$interopDefault($ec6587ec6732a958$exports))), 'spectrum-Image-img'),
58
58
  onError: props === null || props === void 0 ? void 0 : props.onError,
59
59
  onLoad: props === null || props === void 0 ? void 0 : props.onLoad
60
60
  }));
package/dist/Image.mjs CHANGED
@@ -27,7 +27,7 @@ function $parcel$interopDefault(a) {
27
27
  // incomplete component for show right now
28
28
  function $77e0ac4d4aa3e5ef$var$Image(props, ref) {
29
29
  /* Slots should be able to pass an alt for default behavior, but in Images, the child may know better. */ let userProvidedAlt = props.alt;
30
- props = (0, $6cGum$useSlotProps)(props, "image");
30
+ props = (0, $6cGum$useSlotProps)(props, 'image');
31
31
  props = (0, $6cGum$useProviderProps)(props);
32
32
  let { objectFit: objectFit, src: src, alt: alt, ...otherProps } = props;
33
33
  let { styleProps: styleProps } = (0, $6cGum$useStyleProps)(otherProps);
@@ -39,7 +39,7 @@ function $77e0ac4d4aa3e5ef$var$Image(props, ref) {
39
39
  className: (0, $6cGum$classNames)((0, ($parcel$interopDefault($6cGum$image_vars_cssmodulejs))), styleProps.className),
40
40
  style: {
41
41
  ...styleProps.style,
42
- overflow: "hidden"
42
+ overflow: 'hidden'
43
43
  },
44
44
  ref: domRef
45
45
  }, /*#__PURE__*/ (0, $6cGum$react).createElement("img", {
@@ -48,7 +48,7 @@ function $77e0ac4d4aa3e5ef$var$Image(props, ref) {
48
48
  style: {
49
49
  objectFit: objectFit
50
50
  },
51
- className: (0, $6cGum$classNames)((0, ($parcel$interopDefault($6cGum$image_vars_cssmodulejs))), "spectrum-Image-img"),
51
+ className: (0, $6cGum$classNames)((0, ($parcel$interopDefault($6cGum$image_vars_cssmodulejs))), 'spectrum-Image-img'),
52
52
  onError: props === null || props === void 0 ? void 0 : props.onError,
53
53
  onLoad: props === null || props === void 0 ? void 0 : props.onLoad
54
54
  }));
@@ -27,7 +27,7 @@ function $parcel$interopDefault(a) {
27
27
  // incomplete component for show right now
28
28
  function $77e0ac4d4aa3e5ef$var$Image(props, ref) {
29
29
  /* Slots should be able to pass an alt for default behavior, but in Images, the child may know better. */ let userProvidedAlt = props.alt;
30
- props = (0, $6cGum$useSlotProps)(props, "image");
30
+ props = (0, $6cGum$useSlotProps)(props, 'image');
31
31
  props = (0, $6cGum$useProviderProps)(props);
32
32
  let { objectFit: objectFit, src: src, alt: alt, ...otherProps } = props;
33
33
  let { styleProps: styleProps } = (0, $6cGum$useStyleProps)(otherProps);
@@ -39,7 +39,7 @@ function $77e0ac4d4aa3e5ef$var$Image(props, ref) {
39
39
  className: (0, $6cGum$classNames)((0, ($parcel$interopDefault($6cGum$image_vars_cssmodulejs))), styleProps.className),
40
40
  style: {
41
41
  ...styleProps.style,
42
- overflow: "hidden"
42
+ overflow: 'hidden'
43
43
  },
44
44
  ref: domRef
45
45
  }, /*#__PURE__*/ (0, $6cGum$react).createElement("img", {
@@ -48,7 +48,7 @@ function $77e0ac4d4aa3e5ef$var$Image(props, ref) {
48
48
  style: {
49
49
  objectFit: objectFit
50
50
  },
51
- className: (0, $6cGum$classNames)((0, ($parcel$interopDefault($6cGum$image_vars_cssmodulejs))), "spectrum-Image-img"),
51
+ className: (0, $6cGum$classNames)((0, ($parcel$interopDefault($6cGum$image_vars_cssmodulejs))), 'spectrum-Image-img'),
52
52
  onError: props === null || props === void 0 ? void 0 : props.onError,
53
53
  onLoad: props === null || props === void 0 ? void 0 : props.onLoad
54
54
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/image",
3
- "version": "3.5.1-nightly.4624+d80999e89",
3
+ "version": "3.5.2-nightly.4629+c34886769",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,14 +36,14 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/utils": "3.0.0-nightly.2912+d80999e89",
40
- "@react-spectrum/utils": "3.0.0-nightly.2912+d80999e89",
41
- "@react-types/image": "3.4.1-nightly.4624+d80999e89",
42
- "@react-types/shared": "3.0.0-nightly.2912+d80999e89",
39
+ "@react-aria/utils": "3.0.0-nightly.2917+c34886769",
40
+ "@react-spectrum/utils": "3.0.0-nightly.2917+c34886769",
41
+ "@react-types/image": "3.4.2-nightly.4629+c34886769",
42
+ "@react-types/shared": "3.0.0-nightly.2917+c34886769",
43
43
  "@swc/helpers": "^0.5.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2912+d80999e89"
46
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2917+c34886769"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@react-spectrum/provider": "^3.0.0",
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "d80999e897b4d4db9fcfb4e9b8fcdc9fdd700882"
55
+ "gitHead": "c34886769d3e69bb56553a02eead6a0fd877e754"
56
56
  }