@hanzogui/avatar 2.0.4 → 2.0.7

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.
@@ -39,12 +39,12 @@ __export(Avatar_exports, {
39
39
  createAvatarScope: () => createAvatarScope
40
40
  });
41
41
  module.exports = __toCommonJS(Avatar_exports);
42
- var import_gui_core = require("@hanzo/gui-core"),
43
- import_gui_create_context = require("@hanzo/gui-create-context"),
44
- import_gui_helpers = require("@hanzo/gui-helpers"),
45
- import_gui_image = require("@hanzo/gui-image"),
46
- import_gui_shapes = require("@hanzo/gui-shapes"),
47
- import_gui_stacks = require("@hanzo/gui-stacks"),
42
+ var import_gui_core = require("@hanzogui/core"),
43
+ import_gui_create_context = require("@hanzogui/create-context"),
44
+ import_gui_helpers = require("@hanzogui/helpers"),
45
+ import_gui_image = require("@hanzogui/image"),
46
+ import_gui_shapes = require("@hanzogui/shapes"),
47
+ import_gui_stacks = require("@hanzogui/stacks"),
48
48
  React = __toESM(require("react"), 1),
49
49
  import_jsx_runtime = require("react/jsx-runtime");
50
50
  const AVATAR_NAME = "Avatar",
@@ -42,12 +42,12 @@ __export(Avatar_exports, {
42
42
  });
43
43
  module.exports = __toCommonJS(Avatar_exports);
44
44
  var import_jsx_runtime = require("react/jsx-runtime"),
45
- import_gui_core = require("@hanzo/gui-core"),
46
- import_gui_create_context = require("@hanzo/gui-create-context"),
47
- import_gui_helpers = require("@hanzo/gui-helpers"),
48
- import_gui_image = require("@hanzo/gui-image"),
49
- import_gui_shapes = require("@hanzo/gui-shapes"),
50
- import_gui_stacks = require("@hanzo/gui-stacks"),
45
+ import_gui_core = require("@hanzogui/core"),
46
+ import_gui_create_context = require("@hanzogui/create-context"),
47
+ import_gui_helpers = require("@hanzogui/helpers"),
48
+ import_gui_image = require("@hanzogui/image"),
49
+ import_gui_shapes = require("@hanzogui/shapes"),
50
+ import_gui_stacks = require("@hanzogui/stacks"),
51
51
  React = __toESM(require("react"), 1);
52
52
  function _type_of(obj) {
53
53
  "@swc/helpers - typeof";
@@ -1,9 +1,9 @@
1
- import { getTokens, getVariableValue, styled } from "@hanzo/gui-core";
2
- import { createContextScope } from "@hanzo/gui-create-context";
3
- import { withStaticProperties } from "@hanzo/gui-helpers";
4
- import { Image } from "@hanzo/gui-image";
5
- import { Square, getShapeSize } from "@hanzo/gui-shapes";
6
- import { YStack } from "@hanzo/gui-stacks";
1
+ import { getTokens, getVariableValue, styled } from "@hanzogui/core";
2
+ import { createContextScope } from "@hanzogui/create-context";
3
+ import { withStaticProperties } from "@hanzogui/helpers";
4
+ import { Image } from "@hanzogui/image";
5
+ import { Square, getShapeSize } from "@hanzogui/shapes";
6
+ import { YStack } from "@hanzogui/stacks";
7
7
  import * as React from "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  const AVATAR_NAME = "Avatar",
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { getTokens, getVariableValue, styled } from "@hanzo/gui-core";
3
- import { createContextScope } from "@hanzo/gui-create-context";
4
- import { withStaticProperties } from "@hanzo/gui-helpers";
5
- import { Image } from "@hanzo/gui-image";
6
- import { Square, getShapeSize } from "@hanzo/gui-shapes";
7
- import { YStack } from "@hanzo/gui-stacks";
2
+ import { getTokens, getVariableValue, styled } from "@hanzogui/core";
3
+ import { createContextScope } from "@hanzogui/create-context";
4
+ import { withStaticProperties } from "@hanzogui/helpers";
5
+ import { Image } from "@hanzogui/image";
6
+ import { Square, getShapeSize } from "@hanzogui/shapes";
7
+ import { YStack } from "@hanzogui/stacks";
8
8
  import * as React from "react";
9
9
  function _type_of(obj) {
10
10
  "@swc/helpers - typeof";
@@ -1,9 +1,9 @@
1
- import { getTokens, getVariableValue, styled } from "@hanzo/gui-core";
2
- import { createContextScope } from "@hanzo/gui-create-context";
3
- import { withStaticProperties } from "@hanzo/gui-helpers";
4
- import { Image } from "@hanzo/gui-image";
5
- import { Square, getShapeSize } from "@hanzo/gui-shapes";
6
- import { YStack } from "@hanzo/gui-stacks";
1
+ import { getTokens, getVariableValue, styled } from "@hanzogui/core";
2
+ import { createContextScope } from "@hanzogui/create-context";
3
+ import { withStaticProperties } from "@hanzogui/helpers";
4
+ import { Image } from "@hanzogui/image";
5
+ import { Square, getShapeSize } from "@hanzogui/shapes";
6
+ import { YStack } from "@hanzogui/stacks";
7
7
  import * as React from "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  const AVATAR_NAME = "Avatar",
@@ -42,12 +42,12 @@ __export(Avatar_exports, {
42
42
  });
43
43
  module.exports = __toCommonJS(Avatar_exports);
44
44
  var import_jsx_runtime = require("react/jsx-runtime"),
45
- import_gui_core = require("@hanzo/gui-core"),
46
- import_gui_create_context = require("@hanzo/gui-create-context"),
47
- import_gui_helpers = require("@hanzo/gui-helpers"),
48
- import_gui_image = require("@hanzo/gui-image"),
49
- import_gui_shapes = require("@hanzo/gui-shapes"),
50
- import_gui_stacks = require("@hanzo/gui-stacks"),
45
+ import_gui_core = require("@hanzogui/core"),
46
+ import_gui_create_context = require("@hanzogui/create-context"),
47
+ import_gui_helpers = require("@hanzogui/helpers"),
48
+ import_gui_image = require("@hanzogui/image"),
49
+ import_gui_shapes = require("@hanzogui/shapes"),
50
+ import_gui_stacks = require("@hanzogui/stacks"),
51
51
  React = __toESM(require("react"), 1);
52
52
  function _type_of(obj) {
53
53
  "@swc/helpers - typeof";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/avatar",
3
- "version": "2.0.4",
3
+ "version": "2.0.7",
4
4
  "source": "src/index.ts",
5
5
  "files": [
6
6
  "src",
package/src/Avatar.tsx CHANGED
@@ -1,14 +1,14 @@
1
1
  // forked from radix https://github.com/radix-ui/primitives/blob/main/packages/react/avatar/src/Avatar.tsx
2
2
 
3
- import type { GetProps, SizeTokens, GuiElement } from '@hanzo/gui-core'
4
- import { getTokens, getVariableValue, styled } from '@hanzo/gui-core'
5
- import type { Scope } from '@hanzo/gui-create-context'
6
- import { createContextScope } from '@hanzo/gui-create-context'
7
- import { withStaticProperties } from '@hanzo/gui-helpers'
8
- import type { ImageProps } from '@hanzo/gui-image'
9
- import { Image } from '@hanzo/gui-image'
10
- import { Square, getShapeSize } from '@hanzo/gui-shapes'
11
- import { YStack } from '@hanzo/gui-stacks'
3
+ import type { GetProps, SizeTokens, GuiElement } from '@hanzogui/core'
4
+ import { getTokens, getVariableValue, styled } from '@hanzogui/core'
5
+ import type { Scope } from '@hanzogui/create-context'
6
+ import { createContextScope } from '@hanzogui/create-context'
7
+ import { withStaticProperties } from '@hanzogui/helpers'
8
+ import type { ImageProps } from '@hanzogui/image'
9
+ import { Image } from '@hanzogui/image'
10
+ import { Square, getShapeSize } from '@hanzogui/shapes'
11
+ import { YStack } from '@hanzogui/stacks'
12
12
  import * as React from 'react'
13
13
 
14
14
  const AVATAR_NAME = 'Avatar'