@hanzogui/avatar 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.
package/dist/cjs/Avatar.cjs
CHANGED
|
@@ -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("@
|
|
43
|
-
import_gui_create_context = require("@
|
|
44
|
-
import_gui_helpers = require("@
|
|
45
|
-
import_gui_image = require("@
|
|
46
|
-
import_gui_shapes = require("@
|
|
47
|
-
import_gui_stacks = require("@
|
|
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("@
|
|
46
|
-
import_gui_create_context = require("@
|
|
47
|
-
import_gui_helpers = require("@
|
|
48
|
-
import_gui_image = require("@
|
|
49
|
-
import_gui_shapes = require("@
|
|
50
|
-
import_gui_stacks = require("@
|
|
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/dist/esm/Avatar.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { getTokens, getVariableValue, styled } from "@
|
|
2
|
-
import { createContextScope } from "@
|
|
3
|
-
import { withStaticProperties } from "@
|
|
4
|
-
import { Image } from "@
|
|
5
|
-
import { Square, getShapeSize } from "@
|
|
6
|
-
import { YStack } from "@
|
|
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 "@
|
|
3
|
-
import { createContextScope } from "@
|
|
4
|
-
import { withStaticProperties } from "@
|
|
5
|
-
import { Image } from "@
|
|
6
|
-
import { Square, getShapeSize } from "@
|
|
7
|
-
import { YStack } from "@
|
|
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";
|
package/dist/jsx/Avatar.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { getTokens, getVariableValue, styled } from "@
|
|
2
|
-
import { createContextScope } from "@
|
|
3
|
-
import { withStaticProperties } from "@
|
|
4
|
-
import { Image } from "@
|
|
5
|
-
import { Square, getShapeSize } from "@
|
|
6
|
-
import { YStack } from "@
|
|
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("@
|
|
46
|
-
import_gui_create_context = require("@
|
|
47
|
-
import_gui_helpers = require("@
|
|
48
|
-
import_gui_image = require("@
|
|
49
|
-
import_gui_shapes = require("@
|
|
50
|
-
import_gui_stacks = require("@
|
|
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
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 '@
|
|
4
|
-
import { getTokens, getVariableValue, styled } from '@
|
|
5
|
-
import type { Scope } from '@
|
|
6
|
-
import { createContextScope } from '@
|
|
7
|
-
import { withStaticProperties } from '@
|
|
8
|
-
import type { ImageProps } from '@
|
|
9
|
-
import { Image } from '@
|
|
10
|
-
import { Square, getShapeSize } from '@
|
|
11
|
-
import { YStack } from '@
|
|
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'
|