@hanzogui/image 2.0.0 → 2.0.5
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/cjs/Image.cjs +1 -1
- package/dist/cjs/createImage.cjs +1 -1
- package/dist/cjs/createImage.native.js +1 -1
- package/dist/cjs/v1/Image.cjs +2 -2
- package/dist/cjs/v1/Image.native.js +2 -2
- package/dist/esm/Image.mjs +1 -1
- package/dist/esm/createImage.mjs +1 -1
- package/dist/esm/createImage.native.js +1 -1
- package/dist/esm/v1/Image.mjs +2 -2
- package/dist/esm/v1/Image.native.js +2 -2
- package/dist/jsx/Image.mjs +1 -1
- package/dist/jsx/createImage.mjs +1 -1
- package/dist/jsx/createImage.native.js +1 -1
- package/dist/jsx/v1/Image.mjs +2 -2
- package/dist/jsx/v1/Image.native.js +2 -2
- package/package.json +5 -5
package/dist/cjs/Image.cjs
CHANGED
|
@@ -23,7 +23,7 @@ __export(Image_exports, {
|
|
|
23
23
|
Image: () => Image
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(Image_exports);
|
|
26
|
-
var import_gui_web = require("@
|
|
26
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
27
27
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
28
28
|
const StyledImage = (0, import_gui_web.styled)(import_gui_web.View, {
|
|
29
29
|
name: "Image",
|
package/dist/cjs/createImage.cjs
CHANGED
|
@@ -23,7 +23,7 @@ __export(createImage_exports, {
|
|
|
23
23
|
createImage: () => createImage
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(createImage_exports);
|
|
26
|
-
var import_gui_web = require("@
|
|
26
|
+
var import_gui_web = require("@hanzogui/web"),
|
|
27
27
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
28
28
|
const defaultObjectFitMap = objectFit => {
|
|
29
29
|
switch (objectFit) {
|
|
@@ -26,7 +26,7 @@ __export(createImage_exports, {
|
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(createImage_exports);
|
|
28
28
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
29
|
-
import_gui_web = require("@
|
|
29
|
+
import_gui_web = require("@hanzogui/web"),
|
|
30
30
|
defaultObjectFitMap = function (objectFit) {
|
|
31
31
|
switch (objectFit) {
|
|
32
32
|
case "fill":
|
package/dist/cjs/v1/Image.cjs
CHANGED
|
@@ -35,8 +35,8 @@ __export(Image_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(Image_exports);
|
|
37
37
|
var import_react = __toESM(require("react"), 1),
|
|
38
|
-
import_gui_constants = require("@
|
|
39
|
-
import_gui_web = require("@
|
|
38
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
39
|
+
import_gui_web = require("@hanzogui/web"),
|
|
40
40
|
import_react_native = require("react-native-web"),
|
|
41
41
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
42
42
|
const StyledImage = (0, import_gui_web.styled)(import_react_native.Image, {
|
|
@@ -38,8 +38,8 @@ __export(Image_exports, {
|
|
|
38
38
|
module.exports = __toCommonJS(Image_exports);
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
40
40
|
import_react = __toESM(require("react"), 1),
|
|
41
|
-
import_gui_constants = require("@
|
|
42
|
-
import_gui_web = require("@
|
|
41
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
42
|
+
import_gui_web = require("@hanzogui/web"),
|
|
43
43
|
import_react_native = require("react-native");
|
|
44
44
|
function _type_of(obj) {
|
|
45
45
|
"@swc/helpers - typeof";
|
package/dist/esm/Image.mjs
CHANGED
package/dist/esm/createImage.mjs
CHANGED
package/dist/esm/v1/Image.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { isWeb } from "@
|
|
3
|
-
import { styled, usePropsAndStyle } from "@
|
|
2
|
+
import { isWeb } from "@hanzogui/constants";
|
|
3
|
+
import { styled, usePropsAndStyle } from "@hanzogui/web";
|
|
4
4
|
import { Image as RNImage } from "react-native-web";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const StyledImage = styled(RNImage, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { isWeb } from "@
|
|
4
|
-
import { styled, usePropsAndStyle } from "@
|
|
3
|
+
import { isWeb } from "@hanzogui/constants";
|
|
4
|
+
import { styled, usePropsAndStyle } from "@hanzogui/web";
|
|
5
5
|
import { Image as RNImage } from "react-native";
|
|
6
6
|
function _type_of(obj) {
|
|
7
7
|
"@swc/helpers - typeof";
|
package/dist/jsx/Image.mjs
CHANGED
package/dist/jsx/createImage.mjs
CHANGED
|
@@ -26,7 +26,7 @@ __export(createImage_exports, {
|
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(createImage_exports);
|
|
28
28
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
29
|
-
import_gui_web = require("@
|
|
29
|
+
import_gui_web = require("@hanzogui/web"),
|
|
30
30
|
defaultObjectFitMap = function (objectFit) {
|
|
31
31
|
switch (objectFit) {
|
|
32
32
|
case "fill":
|
package/dist/jsx/v1/Image.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { isWeb } from "@
|
|
3
|
-
import { styled, usePropsAndStyle } from "@
|
|
2
|
+
import { isWeb } from "@hanzogui/constants";
|
|
3
|
+
import { styled, usePropsAndStyle } from "@hanzogui/web";
|
|
4
4
|
import { Image as RNImage } from "react-native-web";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const StyledImage = styled(RNImage, {
|
|
@@ -38,8 +38,8 @@ __export(Image_exports, {
|
|
|
38
38
|
module.exports = __toCommonJS(Image_exports);
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
40
40
|
import_react = __toESM(require("react"), 1),
|
|
41
|
-
import_gui_constants = require("@
|
|
42
|
-
import_gui_web = require("@
|
|
41
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
42
|
+
import_gui_web = require("@hanzogui/web"),
|
|
43
43
|
import_react_native = require("react-native");
|
|
44
44
|
function _type_of(obj) {
|
|
45
45
|
"@swc/helpers - typeof";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/image",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"clean:build": "hanzo-gui-build clean:build"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@hanzogui/constants": "2.0.
|
|
40
|
-
"@hanzogui/core": "2.0.
|
|
41
|
-
"@hanzogui/web": "2.0.
|
|
39
|
+
"@hanzogui/constants": "2.0.1",
|
|
40
|
+
"@hanzogui/core": "2.0.1",
|
|
41
|
+
"@hanzogui/web": "2.0.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@hanzogui/build": "2.0.
|
|
44
|
+
"@hanzogui/build": "2.0.1",
|
|
45
45
|
"react": ">=19",
|
|
46
46
|
"react-native": "0.83.2"
|
|
47
47
|
},
|