@hanzogui/image 2.0.4 → 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.
@@ -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("@hanzo/gui-web"),
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",
@@ -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("@hanzo/gui-web"),
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("@hanzo/gui-web"),
29
+ import_gui_web = require("@hanzogui/web"),
30
30
  defaultObjectFitMap = function (objectFit) {
31
31
  switch (objectFit) {
32
32
  case "fill":
@@ -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("@hanzo/gui-constants"),
39
- import_gui_web = require("@hanzo/gui-web"),
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("@hanzo/gui-constants"),
42
- import_gui_web = require("@hanzo/gui-web"),
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";
@@ -1,4 +1,4 @@
1
- import { View, styled } from "@hanzo/gui-web";
1
+ import { View, styled } from "@hanzogui/web";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  const StyledImage = styled(View, {
4
4
  name: "Image",
@@ -1,4 +1,4 @@
1
- import { getTokenValue, styled } from "@hanzo/gui-web";
1
+ import { getTokenValue, styled } from "@hanzogui/web";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  const defaultObjectFitMap = objectFit => {
4
4
  switch (objectFit) {
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { getTokenValue, styled } from "@hanzo/gui-web";
2
+ import { getTokenValue, styled } from "@hanzogui/web";
3
3
  var defaultObjectFitMap = function (objectFit) {
4
4
  switch (objectFit) {
5
5
  case "fill":
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { isWeb } from "@hanzo/gui-constants";
3
- import { styled, usePropsAndStyle } from "@hanzo/gui-web";
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 "@hanzo/gui-constants";
4
- import { styled, usePropsAndStyle } from "@hanzo/gui-web";
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";
@@ -1,4 +1,4 @@
1
- import { View, styled } from "@hanzo/gui-web";
1
+ import { View, styled } from "@hanzogui/web";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  const StyledImage = styled(View, {
4
4
  name: "Image",
@@ -1,4 +1,4 @@
1
- import { getTokenValue, styled } from "@hanzo/gui-web";
1
+ import { getTokenValue, styled } from "@hanzogui/web";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  const defaultObjectFitMap = objectFit => {
4
4
  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("@hanzo/gui-web"),
29
+ import_gui_web = require("@hanzogui/web"),
30
30
  defaultObjectFitMap = function (objectFit) {
31
31
  switch (objectFit) {
32
32
  case "fill":
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { isWeb } from "@hanzo/gui-constants";
3
- import { styled, usePropsAndStyle } from "@hanzo/gui-web";
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("@hanzo/gui-constants"),
42
- import_gui_web = require("@hanzo/gui-web"),
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.4",
3
+ "version": "2.0.5",
4
4
  "source": "src/index.ts",
5
5
  "files": [
6
6
  "src",
package/src/Image.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { View, styled } from '@hanzo/gui-web'
1
+ import { View, styled } from '@hanzogui/web'
2
2
  import type { ImageProps, ImageType } from './types'
3
3
 
4
4
  const StyledImage = styled(View, {
@@ -1,4 +1,4 @@
1
- import { getTokenValue, styled } from '@hanzo/gui-web'
1
+ import { getTokenValue, styled } from '@hanzogui/web'
2
2
  import type { ComponentType } from 'react'
3
3
  import type { ImageResizeMode } from 'react-native'
4
4
  import type { ImageProps, ImageType } from './types'
@@ -77,7 +77,7 @@ const defaultTransformSource = (props: {
77
77
  * @example
78
78
  * Using with expo-image
79
79
  * import { Image as ExpoImage } from 'expo-image'
80
- * import { createImage } from '@hanzo/gui-image'
80
+ * import { createImage } from '@hanzogui/image'
81
81
  *
82
82
  * export const Image = createImage({
83
83
  * Component: ExpoImage,
package/src/types.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ViewProps } from '@hanzo/gui-web'
1
+ import type { ViewProps } from '@hanzogui/web'
2
2
  import type {
3
3
  ImageResizeMode,
4
4
  ImageSourcePropType,
package/src/v1/Image.tsx CHANGED
@@ -1,13 +1,13 @@
1
1
  import React from 'react'
2
- import { isWeb } from '@hanzo/gui-constants'
2
+ import { isWeb } from '@hanzogui/constants'
3
3
  import type {
4
4
  GetProps,
5
5
  RadiusTokens,
6
6
  SizeTokens,
7
7
  ViewProps,
8
8
  ThemeValueFallback,
9
- } from '@hanzo/gui-web'
10
- import { styled, usePropsAndStyle } from '@hanzo/gui-web'
9
+ } from '@hanzogui/web'
10
+ import { styled, usePropsAndStyle } from '@hanzogui/web'
11
11
  import type { FC } from 'react'
12
12
  import { Image as RNImage } from 'react-native'
13
13