@designa8/vibedesign-openai-internal-v1-2-176b 0.1.13 → 0.1.14
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/README.md +1 -1
- package/package.json +1 -1
- package/src/atoms/Avatar/Avatar.tsx +1 -1
- package/src/atoms/Avatar/preview.tsx +34 -15
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @designa8/vibedesign-openai-internal-v1-2-176b
|
|
2
2
|
|
|
3
|
-
Complete design system generated by Atoms Design, version **0.1.
|
|
3
|
+
Complete design system generated by Atoms Design, version **0.1.14**.
|
|
4
4
|
Tokens, atoms, molecules, organisms, and templates — import from the package root;
|
|
5
5
|
never hardcode visual values in consumer code.
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ export interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
13
13
|
/** Override the computed initials. */
|
|
14
14
|
initials?: string;
|
|
15
15
|
size?: AvatarSize;
|
|
16
|
-
/** `circle` for people; `square` is a bordered rounded tile for
|
|
16
|
+
/** `circle` for people; `square` is a bordered rounded tile for a workspace, project, or company. */
|
|
17
17
|
shape?: AvatarShape;
|
|
18
18
|
/** Presence dot at the bottom-right. */
|
|
19
19
|
status?: AvatarStatus;
|
|
@@ -2,8 +2,6 @@ import * as React from "react";
|
|
|
2
2
|
import { Avatar } from "./Avatar";
|
|
3
3
|
import { Icon } from "../Icon";
|
|
4
4
|
|
|
5
|
-
const PHOTO = "https://i.pravatar.cc/160?img=47";
|
|
6
|
-
|
|
7
5
|
function Cell({ caption, children }: { caption: string; children: React.ReactNode }) {
|
|
8
6
|
return (
|
|
9
7
|
<div className="flex flex-col items-center gap-sm">
|
|
@@ -17,34 +15,55 @@ export default function AvatarPreview() {
|
|
|
17
15
|
return (
|
|
18
16
|
<div className="w-full max-w-3xl mx-auto p-lg space-y-lg bg-canvas text-ink">
|
|
19
17
|
<div className="flex flex-wrap items-start gap-lg">
|
|
20
|
-
<Cell caption="
|
|
21
|
-
<Avatar
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
<Cell caption="Workspace tile">
|
|
19
|
+
<Avatar
|
|
20
|
+
shape="square"
|
|
21
|
+
size="lg"
|
|
22
|
+
name="Workspace"
|
|
23
|
+
icon={<Icon name="layout-grid" size={20} />}
|
|
24
|
+
/>
|
|
25
25
|
</Cell>
|
|
26
26
|
<Cell caption="Initials">
|
|
27
|
-
<Avatar name="
|
|
27
|
+
<Avatar name="Maya Chen" size="lg" status="online" />
|
|
28
|
+
</Cell>
|
|
29
|
+
<Cell caption="Company">
|
|
30
|
+
<Avatar name="Northwind" size="lg" />
|
|
28
31
|
</Cell>
|
|
29
32
|
<Cell caption="Placeholder">
|
|
30
33
|
<Avatar size="lg" />
|
|
31
34
|
</Cell>
|
|
32
35
|
<Cell caption="With status">
|
|
33
36
|
<div className="flex items-center gap-sm">
|
|
34
|
-
<Avatar name="
|
|
37
|
+
<Avatar name="Priya Raman" size="md" status="online" />
|
|
35
38
|
<div className="flex flex-col">
|
|
36
|
-
<span className="text-body-md text-ink">
|
|
39
|
+
<span className="text-body-md text-ink">Priya Raman</span>
|
|
37
40
|
<span className="text-body-sm text-muted">Online</span>
|
|
38
41
|
</div>
|
|
39
42
|
</div>
|
|
40
43
|
</Cell>
|
|
41
44
|
</div>
|
|
45
|
+
|
|
42
46
|
<div className="flex flex-wrap items-end gap-md">
|
|
43
|
-
<Avatar
|
|
44
|
-
<Avatar
|
|
45
|
-
<Avatar
|
|
46
|
-
<Avatar
|
|
47
|
-
<Avatar
|
|
47
|
+
<Avatar name="Tom Okafor" size="xs" />
|
|
48
|
+
<Avatar name="Lena Varga" size="sm" />
|
|
49
|
+
<Avatar name="Maya Chen" size="md" />
|
|
50
|
+
<Avatar name="Priya Raman" size="lg" />
|
|
51
|
+
<Avatar name="Fieldstone" size="xl" status="away" />
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
<div className="flex flex-wrap items-center gap-md">
|
|
55
|
+
<Avatar name="Tom Okafor" size="md" status="online" />
|
|
56
|
+
<Avatar name="Lena Varga" size="md" status="away" />
|
|
57
|
+
<Avatar name="Maya Chen" size="md" status="busy" />
|
|
58
|
+
<Avatar name="Priya Raman" size="md" status="offline" />
|
|
59
|
+
<Avatar
|
|
60
|
+
shape="square"
|
|
61
|
+
size="md"
|
|
62
|
+
name="Workspace"
|
|
63
|
+
icon={<Icon name="layout-grid" size={16} />}
|
|
64
|
+
/>
|
|
65
|
+
<Avatar shape="square" size="md" name="Northwind" />
|
|
66
|
+
<Avatar shape="square" size="xl" name="Fieldstone" />
|
|
48
67
|
</div>
|
|
49
68
|
</div>
|
|
50
69
|
);
|