@stackshift-ui/image 6.1.0-beta.4 → 6.1.0
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/dist/chunk-UCU4ZDUX.mjs +1 -0
- package/dist/image.d.ts +1 -0
- package/dist/image.js +1 -1
- package/dist/image.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
- package/dist/chunk-NQ52GWT6.mjs +0 -13
- package/dist/chunk-YTWR6D52.mjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useStackShiftUIComponents as i}from"@stackshift-ui/system";import{jsx as p}from"react/jsx-runtime";var m="Image",s=({children:o,loading:n="lazy",...e})=>{let t=i(),{[m]:a="img"}=t,r=e.priority?void 0:n;return p(a,{loading:r,...e,children:o})};export{s as a};
|
package/dist/image.d.ts
CHANGED
package/dist/image.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var g=(o,e)=>{for(var n in e)r(o,n,{get:e[n],enumerable:!0})},l=(o,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of s(e))!c.call(o,t)&&t!==n&&r(o,t,{get:()=>e[t],enumerable:!(a=d(e,t))||a.enumerable});return o};var f=o=>l(r({},"__esModule",{value:!0}),o);var L={};g(L,{Image:()=>I});module.exports=f(L);var i=require("@stackshift-ui/system"),m=require("react/jsx-runtime"),y="Image",I=({children:o,loading:e="lazy",...n})=>{let a=(0,i.useStackShiftUIComponents)(),{[y]:t="img"}=a,p=n.priority?void 0:e;return(0,m.jsx)(t,{loading:p,...n,children:o})};0&&(module.exports={Image});
|
package/dist/image.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-UCU4ZDUX.mjs";export{a as Image};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var
|
|
2
|
+
"use strict";var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var g=(o,e)=>{for(var n in e)r(o,n,{get:e[n],enumerable:!0})},l=(o,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of s(e))!c.call(o,t)&&t!==n&&r(o,t,{get:()=>e[t],enumerable:!(a=d(e,t))||a.enumerable});return o};var f=o=>l(r({},"__esModule",{value:!0}),o);var u={};g(u,{Image:()=>I});module.exports=f(u);var i=require("@stackshift-ui/system"),m=require("react/jsx-runtime"),y="Image",I=({children:o,loading:e="lazy",...n})=>{let a=(0,i.useStackShiftUIComponents)(),{[y]:t="img"}=a,p=n.priority?void 0:e;return(0,m.jsx)(t,{loading:p,...n,children:o})};0&&(module.exports={Image});
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a as e}from"./chunk-
|
|
2
|
+
"use strict";import{a as e}from"./chunk-UCU4ZDUX.mjs";export{e as Image};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/image",
|
|
3
|
-
"version": "6.1.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@stackshift-ui/eslint-config": "6.0.10"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@stackshift-ui/
|
|
35
|
-
"@stackshift-ui/
|
|
34
|
+
"@stackshift-ui/scripts": "6.1.0",
|
|
35
|
+
"@stackshift-ui/system": "6.1.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@types/react": "16.8 - 19",
|
package/dist/chunk-NQ52GWT6.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// src/image.tsx
|
|
2
|
-
import { useStackShiftUIComponents } from "@stackshift-ui/system";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
var displayName = "Image";
|
|
5
|
-
var Image = ({ children, loading = "lazy", ...props }) => {
|
|
6
|
-
const components = useStackShiftUIComponents();
|
|
7
|
-
const { [displayName]: Component = "img" } = components;
|
|
8
|
-
return /* @__PURE__ */ jsx(Component, { loading, ...props, children });
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
Image
|
|
13
|
-
};
|
package/dist/chunk-YTWR6D52.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useStackShiftUIComponents as m}from"@stackshift-ui/system";import{jsx as r}from"react/jsx-runtime";var p="Image",c=({children:e,loading:o="lazy",...n})=>{let t=m(),{[p]:a="img"}=t;return r(a,{loading:o,...n,children:e})};export{c as a};
|