@designa8/vibedesign-attio-internal-v1-2-176b 0.1.13 → 0.1.15

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @designa8/vibedesign-attio-internal-v1-2-176b
2
2
 
3
- Complete design system generated by Atoms Design, version **0.1.13**.
3
+ Complete design system generated by Atoms Design, version **0.1.15**.
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/dist/index.cjs CHANGED
@@ -8284,24 +8284,23 @@ var surfaceStyle = {
8284
8284
  };
8285
8285
  var DEFAULT_SIDEBAR_ITEMS = [
8286
8286
  { label: "Home", href: "#home", icon: "house" },
8287
+ { label: "Conversations", href: "#conversations", icon: "mail" },
8288
+ { label: "Customers", href: "#customers", icon: "user" },
8289
+ { label: "Articles", href: "#articles", icon: "file" },
8290
+ { label: "Reports", href: "#reports", icon: "chart-column" },
8287
8291
  { label: "Tasks", href: "#tasks", icon: "circle-check" },
8288
- { label: "Notes", href: "#notes", icon: "file" },
8289
- { label: "Emails", href: "#emails", icon: "mail" },
8290
8292
  { label: "Calls", href: "#calls", icon: "phone" },
8291
- { label: "Reports", href: "#reports", icon: "chart-column" },
8292
- { label: "Sequences", href: "#sequences", icon: "route" },
8293
8293
  { label: "Workflows", href: "#workflows", icon: "zap" }
8294
8294
  ];
8295
8295
  var DEFAULT_SIDEBAR_SECTIONS = [
8296
8296
  {
8297
- id: "records",
8298
- title: "Records",
8297
+ id: "shared-views",
8298
+ title: "Shared with me",
8299
8299
  items: [
8300
- { label: "Companies", href: "#companies", icon: "building-2", tile: "blue" },
8301
- { label: "People", href: "#people", icon: "user", tile: "blue" },
8302
- { label: "Deals", href: "#deals", icon: "circle-dollar-sign", tile: "orange" },
8303
- { label: "Users", href: "#users", icon: "user", tile: "cyan" },
8304
- { label: "Workspaces", href: "#workspaces", icon: "layout-grid", tile: "violet" }
8300
+ { label: "Inbox triage", href: "#views/inbox-triage", icon: "mail", tile: "blue" },
8301
+ { label: "Escalation queue", href: "#views/escalation-queue", icon: "zap", tile: "orange" },
8302
+ { label: "Help articles", href: "#views/help-articles", icon: "file", tile: "cyan" },
8303
+ { label: "Team reports", href: "#views/team-reports", icon: "chart-column", tile: "green" }
8305
8304
  ]
8306
8305
  }
8307
8306
  ];
@@ -8319,7 +8318,7 @@ var SidebarDesktop = React77.forwardRef(
8319
8318
  collapsed: collapsedProp,
8320
8319
  defaultCollapsed = false,
8321
8320
  onCollapsedChange,
8322
- workspace = { name: "Acme Sales", initials: "AS" },
8321
+ workspace = { name: "Linden Supply", initials: "LS" },
8323
8322
  onWorkspaceClick,
8324
8323
  onSearchClick,
8325
8324
  searchShortcut = "\u2318K",
@@ -8512,35 +8511,33 @@ var surfaceStyle2 = {
8512
8511
  };
8513
8512
  var DEFAULT_ITEMS3 = [
8514
8513
  { label: "Home", href: "#home", icon: "house" },
8514
+ { label: "Inbox", href: "#inbox", icon: "mail" },
8515
8515
  { label: "Tasks", href: "#tasks", icon: "circle-check" },
8516
- { label: "Notes", href: "#notes", icon: "file" },
8517
- { label: "Emails", href: "#emails", icon: "mail" },
8516
+ { label: "Articles", href: "#articles", icon: "file" },
8518
8517
  { label: "Calls", href: "#calls", icon: "phone" },
8519
8518
  { label: "Reports", href: "#reports", icon: "chart-column" },
8520
- { label: "Sequences", href: "#sequences", icon: "route" },
8521
8519
  { label: "Workflows", href: "#workflows", icon: "zap" }
8522
8520
  ];
8523
8521
  var DEFAULT_SECTIONS = [
8524
8522
  {
8525
- id: "records",
8526
- title: "Records",
8523
+ id: "spaces",
8524
+ title: "Spaces",
8527
8525
  items: [
8528
- { label: "Companies", href: "#companies", icon: "building-2", tile: "blue" },
8529
- { label: "People", href: "#people", icon: "user", tile: "blue" },
8530
- { label: "Deals", href: "#deals", icon: "circle-dollar-sign", tile: "orange" },
8531
- { label: "Users", href: "#users", icon: "user", tile: "cyan" },
8532
- { label: "Workspaces", href: "#workspaces", icon: "layout-grid", tile: "violet" }
8526
+ { label: "Customer Support", href: "#support", icon: "user", tile: "blue" },
8527
+ { label: "Onboarding", href: "#onboarding", icon: "layout-grid", tile: "green" },
8528
+ { label: "Billing Help", href: "#billing-help", icon: "building-2", tile: "violet" },
8529
+ { label: "Teammates", href: "#teammates", icon: "user", tile: "cyan" }
8533
8530
  ]
8534
8531
  }
8535
8532
  ];
8536
8533
  var SidebarMobile = React78.forwardRef(
8537
8534
  ({
8538
- brandName = "Relay",
8535
+ brandName = "Linden",
8539
8536
  brandHref = "#",
8540
8537
  surface: surface2 = "card",
8541
8538
  open: openProp,
8542
8539
  onOpenChange,
8543
- workspace = { name: "Acme Sales", initials: "AS" },
8540
+ workspace = { name: "Linden Support", initials: "LS" },
8544
8541
  onWorkspaceClick,
8545
8542
  onSearchClick,
8546
8543
  items = DEFAULT_ITEMS3,
package/dist/index.js CHANGED
@@ -8165,24 +8165,23 @@ var surfaceStyle = {
8165
8165
  };
8166
8166
  var DEFAULT_SIDEBAR_ITEMS = [
8167
8167
  { label: "Home", href: "#home", icon: "house" },
8168
+ { label: "Conversations", href: "#conversations", icon: "mail" },
8169
+ { label: "Customers", href: "#customers", icon: "user" },
8170
+ { label: "Articles", href: "#articles", icon: "file" },
8171
+ { label: "Reports", href: "#reports", icon: "chart-column" },
8168
8172
  { label: "Tasks", href: "#tasks", icon: "circle-check" },
8169
- { label: "Notes", href: "#notes", icon: "file" },
8170
- { label: "Emails", href: "#emails", icon: "mail" },
8171
8173
  { label: "Calls", href: "#calls", icon: "phone" },
8172
- { label: "Reports", href: "#reports", icon: "chart-column" },
8173
- { label: "Sequences", href: "#sequences", icon: "route" },
8174
8174
  { label: "Workflows", href: "#workflows", icon: "zap" }
8175
8175
  ];
8176
8176
  var DEFAULT_SIDEBAR_SECTIONS = [
8177
8177
  {
8178
- id: "records",
8179
- title: "Records",
8178
+ id: "shared-views",
8179
+ title: "Shared with me",
8180
8180
  items: [
8181
- { label: "Companies", href: "#companies", icon: "building-2", tile: "blue" },
8182
- { label: "People", href: "#people", icon: "user", tile: "blue" },
8183
- { label: "Deals", href: "#deals", icon: "circle-dollar-sign", tile: "orange" },
8184
- { label: "Users", href: "#users", icon: "user", tile: "cyan" },
8185
- { label: "Workspaces", href: "#workspaces", icon: "layout-grid", tile: "violet" }
8181
+ { label: "Inbox triage", href: "#views/inbox-triage", icon: "mail", tile: "blue" },
8182
+ { label: "Escalation queue", href: "#views/escalation-queue", icon: "zap", tile: "orange" },
8183
+ { label: "Help articles", href: "#views/help-articles", icon: "file", tile: "cyan" },
8184
+ { label: "Team reports", href: "#views/team-reports", icon: "chart-column", tile: "green" }
8186
8185
  ]
8187
8186
  }
8188
8187
  ];
@@ -8200,7 +8199,7 @@ var SidebarDesktop = React77.forwardRef(
8200
8199
  collapsed: collapsedProp,
8201
8200
  defaultCollapsed = false,
8202
8201
  onCollapsedChange,
8203
- workspace = { name: "Acme Sales", initials: "AS" },
8202
+ workspace = { name: "Linden Supply", initials: "LS" },
8204
8203
  onWorkspaceClick,
8205
8204
  onSearchClick,
8206
8205
  searchShortcut = "\u2318K",
@@ -8393,35 +8392,33 @@ var surfaceStyle2 = {
8393
8392
  };
8394
8393
  var DEFAULT_ITEMS3 = [
8395
8394
  { label: "Home", href: "#home", icon: "house" },
8395
+ { label: "Inbox", href: "#inbox", icon: "mail" },
8396
8396
  { label: "Tasks", href: "#tasks", icon: "circle-check" },
8397
- { label: "Notes", href: "#notes", icon: "file" },
8398
- { label: "Emails", href: "#emails", icon: "mail" },
8397
+ { label: "Articles", href: "#articles", icon: "file" },
8399
8398
  { label: "Calls", href: "#calls", icon: "phone" },
8400
8399
  { label: "Reports", href: "#reports", icon: "chart-column" },
8401
- { label: "Sequences", href: "#sequences", icon: "route" },
8402
8400
  { label: "Workflows", href: "#workflows", icon: "zap" }
8403
8401
  ];
8404
8402
  var DEFAULT_SECTIONS = [
8405
8403
  {
8406
- id: "records",
8407
- title: "Records",
8404
+ id: "spaces",
8405
+ title: "Spaces",
8408
8406
  items: [
8409
- { label: "Companies", href: "#companies", icon: "building-2", tile: "blue" },
8410
- { label: "People", href: "#people", icon: "user", tile: "blue" },
8411
- { label: "Deals", href: "#deals", icon: "circle-dollar-sign", tile: "orange" },
8412
- { label: "Users", href: "#users", icon: "user", tile: "cyan" },
8413
- { label: "Workspaces", href: "#workspaces", icon: "layout-grid", tile: "violet" }
8407
+ { label: "Customer Support", href: "#support", icon: "user", tile: "blue" },
8408
+ { label: "Onboarding", href: "#onboarding", icon: "layout-grid", tile: "green" },
8409
+ { label: "Billing Help", href: "#billing-help", icon: "building-2", tile: "violet" },
8410
+ { label: "Teammates", href: "#teammates", icon: "user", tile: "cyan" }
8414
8411
  ]
8415
8412
  }
8416
8413
  ];
8417
8414
  var SidebarMobile = React78.forwardRef(
8418
8415
  ({
8419
- brandName = "Relay",
8416
+ brandName = "Linden",
8420
8417
  brandHref = "#",
8421
8418
  surface: surface2 = "card",
8422
8419
  open: openProp,
8423
8420
  onOpenChange,
8424
- workspace = { name: "Acme Sales", initials: "AS" },
8421
+ workspace = { name: "Linden Support", initials: "LS" },
8425
8422
  onWorkspaceClick,
8426
8423
  onSearchClick,
8427
8424
  items = DEFAULT_ITEMS3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designa8/vibedesign-attio-internal-v1-2-176b",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Design system generated by Atoms Design.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -22,7 +22,7 @@ export interface SidebarItem {
22
22
  label: string;
23
23
  href: string;
24
24
  icon: IconName;
25
- /** Render the glyph on a colored tile (record types). */
25
+ /** Render the glyph on a colored tile (shared views and lists). */
26
26
  tile?: SidebarTileTone;
27
27
  }
28
28
 
@@ -62,7 +62,7 @@ export interface SidebarDesktopProps extends React.HTMLAttributes<HTMLElement> {
62
62
  searchShortcut?: string;
63
63
  /** Top-level nav items. */
64
64
  items?: SidebarItem[];
65
- /** Grouped items under a foldable caption (e.g. Records). */
65
+ /** Grouped items under a foldable caption (e.g. Saved views). */
66
66
  sections?: SidebarSection[];
67
67
  /** `href` of the current page. */
68
68
  activeHref?: string;
@@ -87,25 +87,24 @@ const surfaceStyle: Record<SidebarSurface, string> = {
87
87
 
88
88
  export const DEFAULT_SIDEBAR_ITEMS: SidebarItem[] = [
89
89
  { label: "Home", href: "#home", icon: "house" },
90
+ { label: "Conversations", href: "#conversations", icon: "mail" },
91
+ { label: "Customers", href: "#customers", icon: "user" },
92
+ { label: "Articles", href: "#articles", icon: "file" },
93
+ { label: "Reports", href: "#reports", icon: "chart-column" },
90
94
  { label: "Tasks", href: "#tasks", icon: "circle-check" },
91
- { label: "Notes", href: "#notes", icon: "file" },
92
- { label: "Emails", href: "#emails", icon: "mail" },
93
95
  { label: "Calls", href: "#calls", icon: "phone" },
94
- { label: "Reports", href: "#reports", icon: "chart-column" },
95
- { label: "Sequences", href: "#sequences", icon: "route" },
96
96
  { label: "Workflows", href: "#workflows", icon: "zap" },
97
97
  ];
98
98
 
99
99
  export const DEFAULT_SIDEBAR_SECTIONS: SidebarSection[] = [
100
100
  {
101
- id: "records",
102
- title: "Records",
101
+ id: "shared-views",
102
+ title: "Shared with me",
103
103
  items: [
104
- { label: "Companies", href: "#companies", icon: "building-2", tile: "blue" },
105
- { label: "People", href: "#people", icon: "user", tile: "blue" },
106
- { label: "Deals", href: "#deals", icon: "circle-dollar-sign", tile: "orange" },
107
- { label: "Users", href: "#users", icon: "user", tile: "cyan" },
108
- { label: "Workspaces", href: "#workspaces", icon: "layout-grid", tile: "violet" },
104
+ { label: "Inbox triage", href: "#views/inbox-triage", icon: "mail", tile: "blue" },
105
+ { label: "Escalation queue", href: "#views/escalation-queue", icon: "zap", tile: "orange" },
106
+ { label: "Help articles", href: "#views/help-articles", icon: "file", tile: "cyan" },
107
+ { label: "Team reports", href: "#views/team-reports", icon: "chart-column", tile: "green" },
109
108
  ],
110
109
  },
111
110
  ];
@@ -130,7 +129,7 @@ export const SidebarDesktop = React.forwardRef<HTMLElement, SidebarDesktopProps>
130
129
  collapsed: collapsedProp,
131
130
  defaultCollapsed = false,
132
131
  onCollapsedChange,
133
- workspace = { name: "Acme Sales", initials: "AS" },
132
+ workspace = { name: "Linden Supply", initials: "LS" },
134
133
  onWorkspaceClick,
135
134
  onSearchClick,
136
135
  searchShortcut = "⌘K",
@@ -1,14 +1,21 @@
1
1
  import * as React from "react";
2
2
  import { SidebarDesktop } from "./SidebarDesktop";
3
3
  import { Button } from "../../atoms/Button";
4
+ import { Avatar } from "../../atoms/Avatar";
4
5
  import type { SidebarSurface } from "./SidebarDesktop";
5
6
 
6
7
  export default function SidebarDesktopPreview() {
7
8
  const [collapsed, setCollapsed] = React.useState(false);
8
9
  const [surface, setSurface] = React.useState<SidebarSurface>("card");
9
- const [active, setActive] = React.useState("#home");
10
+ const [active, setActive] = React.useState("#conversations");
10
11
  const [last, setLast] = React.useState("—");
11
12
 
13
+ const teammates = [
14
+ { name: "Maya Chen", initials: "MC" },
15
+ { name: "Theo Alvarez", initials: "TA" },
16
+ { name: "Priya Raman", initials: "PR" },
17
+ ];
18
+
12
19
  return (
13
20
  <div className="w-full max-w-3xl mx-auto p-lg">
14
21
  <div className="mb-sm flex flex-wrap items-center gap-xs">
@@ -36,15 +43,26 @@ export default function SidebarDesktopPreview() {
36
43
  e.preventDefault();
37
44
  setActive(item.href);
38
45
  }}
39
- workspace={{ name: "Acme Sales", initials: "AS" }}
46
+ workspace={{ name: "Linden Supply", initials: "LS" }}
40
47
  onWorkspaceClick={() => setLast("Workspace switcher")}
41
48
  onSearchClick={() => setLast("Search")}
49
+ footer={
50
+ <ul className="flex flex-col gap-xs">
51
+ {teammates.map((person) => (
52
+ <li key={person.name} className="flex items-center gap-sm">
53
+ <Avatar name={person.name} initials={person.initials} size="sm" />
54
+ <span className="truncate text-body-sm text-body">{person.name}</span>
55
+ </li>
56
+ ))}
57
+ </ul>
58
+ }
42
59
  />
43
60
  <div className="flex min-w-0 flex-1 flex-col gap-xs pt-base">
44
61
  <p className="text-heading-xs text-ink">Current page: {active.replace("#", "")}</p>
45
62
  <p className="text-body-sm text-muted">
46
63
  Sidebar is {collapsed ? "folded" : "unfolded"} · surface: {surface} · Last action: {last}
47
64
  </p>
65
+ <p className="text-body-sm text-muted">Workspace: Linden Supply — customer questions inbox</p>
48
66
  </div>
49
67
  </div>
50
68
  </div>
@@ -62,25 +62,23 @@ const surfaceStyle: Record<SidebarSurface, string> = {
62
62
 
63
63
  const DEFAULT_ITEMS: SidebarItem[] = [
64
64
  { label: "Home", href: "#home", icon: "house" },
65
+ { label: "Inbox", href: "#inbox", icon: "mail" },
65
66
  { label: "Tasks", href: "#tasks", icon: "circle-check" },
66
- { label: "Notes", href: "#notes", icon: "file" },
67
- { label: "Emails", href: "#emails", icon: "mail" },
67
+ { label: "Articles", href: "#articles", icon: "file" },
68
68
  { label: "Calls", href: "#calls", icon: "phone" },
69
69
  { label: "Reports", href: "#reports", icon: "chart-column" },
70
- { label: "Sequences", href: "#sequences", icon: "route" },
71
70
  { label: "Workflows", href: "#workflows", icon: "zap" },
72
71
  ];
73
72
 
74
73
  const DEFAULT_SECTIONS: SidebarSection[] = [
75
74
  {
76
- id: "records",
77
- title: "Records",
75
+ id: "spaces",
76
+ title: "Spaces",
78
77
  items: [
79
- { label: "Companies", href: "#companies", icon: "building-2", tile: "blue" },
80
- { label: "People", href: "#people", icon: "user", tile: "blue" },
81
- { label: "Deals", href: "#deals", icon: "circle-dollar-sign", tile: "orange" },
82
- { label: "Users", href: "#users", icon: "user", tile: "cyan" },
83
- { label: "Workspaces", href: "#workspaces", icon: "layout-grid", tile: "violet" },
78
+ { label: "Customer Support", href: "#support", icon: "user", tile: "blue" },
79
+ { label: "Onboarding", href: "#onboarding", icon: "layout-grid", tile: "green" },
80
+ { label: "Billing Help", href: "#billing-help", icon: "building-2", tile: "violet" },
81
+ { label: "Teammates", href: "#teammates", icon: "user", tile: "cyan" },
84
82
  ],
85
83
  },
86
84
  ];
@@ -88,12 +86,12 @@ const DEFAULT_SECTIONS: SidebarSection[] = [
88
86
  export const SidebarMobile = React.forwardRef<HTMLElement, SidebarMobileProps>(
89
87
  (
90
88
  {
91
- brandName = "Relay",
89
+ brandName = "Linden",
92
90
  brandHref = "#",
93
91
  surface = "card",
94
92
  open: openProp,
95
93
  onOpenChange,
96
- workspace = { name: "Acme Sales", initials: "AS" },
94
+ workspace = { name: "Linden Support", initials: "LS" },
97
95
  onWorkspaceClick,
98
96
  onSearchClick,
99
97
  items = DEFAULT_ITEMS,
@@ -3,6 +3,7 @@ import { SidebarMobile } from "./SidebarMobile";
3
3
  import { IconButton } from "../../atoms/IconButton";
4
4
  import { Button } from "../../atoms/Button";
5
5
  import { Icon } from "../../atoms/Icon";
6
+ import { Avatar } from "../../atoms/Avatar";
6
7
  import type { SidebarSurface } from "../SidebarDesktop";
7
8
 
8
9
  export default function SidebarMobilePreview() {
@@ -31,6 +32,8 @@ export default function SidebarMobilePreview() {
31
32
 
32
33
  <SidebarMobile
33
34
  surface={surface}
35
+ brandName="Linden"
36
+ workspace={{ name: "Harbor & Rye", initials: "HR" }}
34
37
  open={open}
35
38
  onOpenChange={setOpen}
36
39
  activeHref={active}
@@ -41,7 +44,10 @@ export default function SidebarMobilePreview() {
41
44
  onWorkspaceClick={() => setLast("Workspace switcher")}
42
45
  onSearchClick={() => setLast("Search")}
43
46
  mobileActions={
44
- <IconButton icon="bell" variant="ghost" aria-label="Notifications" onClick={() => setLast("Notifications")} />
47
+ <div className="flex items-center gap-xxs">
48
+ <Avatar name="Maya" initials="MB" size="sm" tone="brand" />
49
+ <IconButton icon="bell" variant="ghost" aria-label="Notifications" onClick={() => setLast("Notifications")} />
50
+ </div>
45
51
  }
46
52
  drawerFooter={
47
53
  <Button variant="secondary" fullWidth leadingIcon={<Icon name="settings" size={16} />} onClick={() => { setLast("Settings"); setOpen(false); }}>