@designa8/vibedesign-attio-internal-v1-2-176b 0.1.21 → 0.1.22

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.21**.
3
+ Complete design system generated by Atoms Design, version **0.1.22**.
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
@@ -229,7 +229,8 @@ var ICON_REGISTRY = {
229
229
  "users": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }, { tag: "circle", cx: "9", cy: "7", r: "4" }, { tag: "path", d: "M22 21v-2a4 4 0 0 0-3-3.87" }, { tag: "path", d: "M16 3.13a4 4 0 0 1 0 7.75" }] },
230
230
  "user-plus": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }, { tag: "circle", cx: "9", cy: "7", r: "4" }, { tag: "line", x1: "19", x2: "19", y1: "8", y2: "14" }, { tag: "line", x1: "22", x2: "16", y1: "11", y2: "11" }] },
231
231
  "circle-x": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "10" }, { tag: "path", d: "m15 9-6 6" }, { tag: "path", d: "m9 9 6 6" }] },
232
- "calendar-clock": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5" }, { tag: "path", d: "M16 2v4" }, { tag: "path", d: "M8 2v4" }, { tag: "path", d: "M3 10h5" }, { tag: "path", d: "M17.5 17.5 16 16.3V14" }, { tag: "circle", cx: "16", cy: "16", r: "6" }] }
232
+ "calendar-clock": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5" }, { tag: "path", d: "M16 2v4" }, { tag: "path", d: "M8 2v4" }, { tag: "path", d: "M3 10h5" }, { tag: "path", d: "M17.5 17.5 16 16.3V14" }, { tag: "circle", cx: "16", cy: "16", r: "6" }] },
233
+ "circle": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "10" }] }
233
234
  };
234
235
 
235
236
  // virtual-pkg:src/atoms/Icon/Icon.tsx
@@ -5388,8 +5389,8 @@ function DataTableDesktopInner({
5388
5389
  page: pageProp,
5389
5390
  onPageChange,
5390
5391
  emptyTitle = "No conversations yet",
5391
- emptyDescription = "Start a conversation or add your first customer to get started.",
5392
- importLabel = "Import customers",
5392
+ emptyDescription = "Start a conversation, or add a customer or article to get going.",
5393
+ importLabel = "Add customer",
5393
5394
  onImport,
5394
5395
  emptyActionIcon = "download",
5395
5396
  label = "Results",
@@ -5592,9 +5593,9 @@ function DataTableMobileInner({
5592
5593
  pageSize = 10,
5593
5594
  page: pageProp,
5594
5595
  onPageChange,
5595
- emptyTitle = "No companies yet",
5596
- emptyDescription = "Import companies to get started.",
5597
- importLabel = "Import companies",
5596
+ emptyTitle = "No conversations yet",
5597
+ emptyDescription = "Add a customer to get the conversation started.",
5598
+ importLabel = "Add customer",
5598
5599
  onImport,
5599
5600
  emptyActionIcon = "download",
5600
5601
  label = "Records",
package/dist/index.js CHANGED
@@ -110,7 +110,8 @@ var ICON_REGISTRY = {
110
110
  "users": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }, { tag: "circle", cx: "9", cy: "7", r: "4" }, { tag: "path", d: "M22 21v-2a4 4 0 0 0-3-3.87" }, { tag: "path", d: "M16 3.13a4 4 0 0 1 0 7.75" }] },
111
111
  "user-plus": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }, { tag: "circle", cx: "9", cy: "7", r: "4" }, { tag: "line", x1: "19", x2: "19", y1: "8", y2: "14" }, { tag: "line", x1: "22", x2: "16", y1: "11", y2: "11" }] },
112
112
  "circle-x": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "10" }, { tag: "path", d: "m15 9-6 6" }, { tag: "path", d: "m9 9 6 6" }] },
113
- "calendar-clock": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5" }, { tag: "path", d: "M16 2v4" }, { tag: "path", d: "M8 2v4" }, { tag: "path", d: "M3 10h5" }, { tag: "path", d: "M17.5 17.5 16 16.3V14" }, { tag: "circle", cx: "16", cy: "16", r: "6" }] }
113
+ "calendar-clock": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5" }, { tag: "path", d: "M16 2v4" }, { tag: "path", d: "M8 2v4" }, { tag: "path", d: "M3 10h5" }, { tag: "path", d: "M17.5 17.5 16 16.3V14" }, { tag: "circle", cx: "16", cy: "16", r: "6" }] },
114
+ "circle": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "10" }] }
114
115
  };
115
116
 
116
117
  // virtual-pkg:src/atoms/Icon/Icon.tsx
@@ -5269,8 +5270,8 @@ function DataTableDesktopInner({
5269
5270
  page: pageProp,
5270
5271
  onPageChange,
5271
5272
  emptyTitle = "No conversations yet",
5272
- emptyDescription = "Start a conversation or add your first customer to get started.",
5273
- importLabel = "Import customers",
5273
+ emptyDescription = "Start a conversation, or add a customer or article to get going.",
5274
+ importLabel = "Add customer",
5274
5275
  onImport,
5275
5276
  emptyActionIcon = "download",
5276
5277
  label = "Results",
@@ -5473,9 +5474,9 @@ function DataTableMobileInner({
5473
5474
  pageSize = 10,
5474
5475
  page: pageProp,
5475
5476
  onPageChange,
5476
- emptyTitle = "No companies yet",
5477
- emptyDescription = "Import companies to get started.",
5478
- importLabel = "Import companies",
5477
+ emptyTitle = "No conversations yet",
5478
+ emptyDescription = "Add a customer to get the conversation started.",
5479
+ importLabel = "Add customer",
5479
5480
  onImport,
5480
5481
  emptyActionIcon = "download",
5481
5482
  label = "Records",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designa8/vibedesign-attio-internal-v1-2-176b",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Design system generated by Atoms Design.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -101,6 +101,7 @@ export const ICON_REGISTRY = {
101
101
  "user-plus": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }, { tag: "circle", cx: "9", cy: "7", r: "4" }, { tag: "line", x1: "19", x2: "19", y1: "8", y2: "14" }, { tag: "line", x1: "22", x2: "16", y1: "11", y2: "11" }] },
102
102
  "circle-x": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "10" }, { tag: "path", d: "m15 9-6 6" }, { tag: "path", d: "m9 9 6 6" }] },
103
103
  "calendar-clock": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5" }, { tag: "path", d: "M16 2v4" }, { tag: "path", d: "M8 2v4" }, { tag: "path", d: "M3 10h5" }, { tag: "path", d: "M17.5 17.5 16 16.3V14" }, { tag: "circle", cx: "16", cy: "16", r: "6" }] },
104
+ "circle": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "10" }] },
104
105
  } as const;
105
106
 
106
107
  export type IconName = keyof typeof ICON_REGISTRY;
@@ -5,39 +5,39 @@ import { Button } from "../../atoms/Button";
5
5
  import { SearchBar } from "../../molecules/SearchBar";
6
6
 
7
7
  const rows = [
8
- { id: "1", company: "Northwind", location: "United Kingdom", strength: "Weak" },
9
- { id: "2", company: "Lumen", location: "United Kingdom", strength: "Weak" },
10
- { id: "3", company: "Atlas", location: "France", strength: "Strong" },
11
- { id: "4", company: "Meridian", location: "Germany", strength: "Medium" },
12
- { id: "5", company: "Harbor", location: "Netherlands", strength: "Strong" },
13
- { id: "6", company: "Vantage", location: "Spain", strength: "Weak" },
14
- { id: "7", company: "Solace", location: "Ireland", strength: "Medium" },
15
- { id: "8", company: "Kestrel", location: "France", strength: "Strong" },
16
- { id: "9", company: "Pinewood", location: "Germany", strength: "Weak" },
17
- { id: "10", company: "Alto", location: "Italy", strength: "Medium" },
18
- { id: "11", company: "Copperfield", location: "United Kingdom", strength: "Strong" },
19
- { id: "12", company: "Nimbus", location: "Sweden", strength: "Weak" },
8
+ { id: "1", customer: "Linden Supply", owner: "Maya", status: "Waiting", region: "United Kingdom" },
9
+ { id: "2", customer: "Harbor & Rye", owner: "Theo", status: "Waiting", region: "United Kingdom" },
10
+ { id: "3", customer: "Marlow Goods", owner: "Priya", status: "Resolved", region: "France" },
11
+ { id: "4", customer: "Fernhill Studio", owner: "Jonas", status: "Open", region: "Germany" },
12
+ { id: "5", customer: "Copper Lane", owner: "Maya", status: "Resolved", region: "Netherlands" },
13
+ { id: "6", customer: "Bridgewell Co", owner: "Theo", status: "Waiting", region: "Spain" },
14
+ { id: "7", customer: "Oak & Ash", owner: "Priya", status: "Open", region: "Ireland" },
15
+ { id: "8", customer: "Sundial Works", owner: "Jonas", status: "Resolved", region: "France" },
16
+ { id: "9", customer: "Pinegrove Market", owner: "Maya", status: "Waiting", region: "Germany" },
17
+ { id: "10", customer: "Vale Kitchens", owner: "Theo", status: "Open", region: "Italy" },
18
+ { id: "11", customer: "Ridgeway Print", owner: "Priya", status: "Resolved", region: "United Kingdom" },
19
+ { id: "12", customer: "Northgate Bikes", owner: "Jonas", status: "Waiting", region: "Sweden" },
20
20
  ];
21
21
 
22
22
  const manyRows = Array.from({ length: 37 }, (_, index) => ({
23
23
  id: String(index + 1),
24
- company: `Account ${String(index + 1).padStart(2, "0")}`,
25
- location: index % 2 === 0 ? "United Kingdom" : "Germany",
24
+ customer: `Customer ${String(index + 1).padStart(2, "0")}`,
25
+ region: index % 2 === 0 ? "United Kingdom" : "Germany",
26
26
  }));
27
27
 
28
- const companyColumns = [
28
+ const customerColumns = [
29
29
  {
30
- key: "company",
31
- label: "Company",
30
+ key: "customer",
31
+ label: "Customer",
32
32
  sortable: true,
33
33
  render: (r: Record<string, unknown>) => (
34
34
  <span className="inline-flex items-center gap-sm">
35
- <Avatar name={String(r.company)} size="xs" shape="square" tone="inverse" />
36
- {String(r.company)}
35
+ <Avatar name={String(r.customer)} size="xs" shape="square" tone="inverse" />
36
+ {String(r.customer)}
37
37
  </span>
38
38
  ),
39
39
  },
40
- { key: "location", label: "Primary location", icon: "map-pin" as const, sortable: true },
40
+ { key: "region", label: "Primary region", icon: "map-pin" as const, sortable: true },
41
41
  ];
42
42
 
43
43
  export default function DataTablePreview() {
@@ -49,14 +49,14 @@ export default function DataTablePreview() {
49
49
  const [edgePage, setEdgePage] = React.useState(18);
50
50
 
51
51
  const filtered = query
52
- ? rows.filter((r) => r.company.toLowerCase().includes(query.toLowerCase()))
52
+ ? rows.filter((r) => r.customer.toLowerCase().includes(query.toLowerCase()))
53
53
  : rows;
54
54
 
55
55
  return (
56
56
  <div className="w-full max-w-3xl mx-auto p-lg space-y-lg">
57
57
  <div className="flex w-full flex-wrap items-center justify-between gap-sm">
58
58
  <p className="m-0 text-body-sm text-muted">
59
- {opened ? `Opened record: ${opened}` : "Click a row, or focus it and press Enter."}
59
+ {opened ? `Opened customer: ${opened}` : "Click a row, or focus it and press Enter."}
60
60
  </p>
61
61
  <Button
62
62
  variant="secondary"
@@ -75,25 +75,25 @@ export default function DataTablePreview() {
75
75
  Long list: 37 pages keep the first and last page with an ellipsis.
76
76
  </p>
77
77
  <DataTable
78
- label="Many accounts"
78
+ label="Many customers"
79
79
  rows={manyRows}
80
80
  pageSize={1}
81
81
  page={edgePage}
82
82
  onPageChange={setEdgePage}
83
- countLabel={(count) => `${count} accounts`}
84
- columns={companyColumns}
83
+ countLabel={(count) => `${count} customers`}
84
+ columns={customerColumns}
85
85
  />
86
86
  </div>
87
87
 
88
88
  <DataTable
89
- label="Companies"
89
+ label="Customers"
90
90
  rows={filtered}
91
91
  pageSize={5}
92
92
  page={page}
93
93
  onPageChange={setPage}
94
- onRowClick={(row) => setOpened(String(row.company))}
95
- countLabel={(count) => `${count} companies`}
96
- mobileDescription={(row) => `${String(row.location)} · ${String(row.strength)} connection`}
94
+ onRowClick={(row) => setOpened(String(row.customer))}
95
+ countLabel={(count) => `${count} customers`}
96
+ mobileDescription={(row) => `${String(row.region)} · ${String(row.owner)} · ${String(row.status)}`}
97
97
  toolbarStart={
98
98
  <div className="min-w-0 w-full">
99
99
  <SearchBar
@@ -103,22 +103,23 @@ export default function DataTablePreview() {
103
103
  setQuery(next);
104
104
  setPage(1);
105
105
  }}
106
- placeholder="Search companies"
106
+ placeholder="Search customers"
107
107
  shortcut={null}
108
108
  />
109
109
  </div>
110
110
  }
111
111
  views={[
112
- { value: "eu", label: "UK, French and German companies", icon: "layout-grid", iconTone: "success" },
113
- { value: "all", label: "All companies", icon: "layout-grid", iconTone: "success" },
112
+ { value: "eu", label: "UK, French and German customers", icon: "layout-grid", iconTone: "success" },
113
+ { value: "all", label: "All customers", icon: "layout-grid", iconTone: "success" },
114
114
  ]}
115
115
  view={view}
116
116
  onViewChange={setView}
117
117
  selectedIds={selected}
118
118
  onSelectionChange={setSelected}
119
119
  columns={[
120
- ...companyColumns,
121
- { key: "strength", label: "Connection strength", icon: "zap" as const, sortable: true },
120
+ ...customerColumns,
121
+ { key: "owner", label: "Teammate", icon: "user" as const, sortable: true },
122
+ { key: "status", label: "Status", icon: "circle" as const, sortable: true },
122
123
  ]}
123
124
  />
124
125
 
@@ -127,13 +128,13 @@ export default function DataTablePreview() {
127
128
  Empty state with a custom action glyph — pass emptyActionIcon="x".
128
129
  </p>
129
130
  <DataTable
130
- label="Companies with active filters"
131
+ label="Customers with active filters"
131
132
  rows={[]}
132
- columns={companyColumns}
133
+ columns={customerColumns}
133
134
  filters={[{ id: "region", label: "Region: Nordics" }]}
134
135
  onRemoveFilter={() => undefined}
135
136
  onClearFilters={() => undefined}
136
- emptyTitle="No companies match these filters"
137
+ emptyTitle="No customers match these filters"
137
138
  emptyDescription="Try removing a filter to widen the results."
138
139
  importLabel="Clear filters"
139
140
  emptyActionIcon="x"
@@ -107,8 +107,8 @@ export function DataTableDesktopInner<R extends DataTableRecord>(
107
107
  page: pageProp,
108
108
  onPageChange,
109
109
  emptyTitle = "No conversations yet",
110
- emptyDescription = "Start a conversation or add your first customer to get started.",
111
- importLabel = "Import customers",
110
+ emptyDescription = "Start a conversation, or add a customer or article to get going.",
111
+ importLabel = "Add customer",
112
112
  onImport,
113
113
  emptyActionIcon = "download",
114
114
  label = "Results",
@@ -88,9 +88,9 @@ export function DataTableMobileInner<R extends DataTableMobileRecord>(
88
88
  pageSize = 10,
89
89
  page: pageProp,
90
90
  onPageChange,
91
- emptyTitle = "No companies yet",
92
- emptyDescription = "Import companies to get started.",
93
- importLabel = "Import companies",
91
+ emptyTitle = "No conversations yet",
92
+ emptyDescription = "Add a customer to get the conversation started.",
93
+ importLabel = "Add customer",
94
94
  onImport,
95
95
  emptyActionIcon = "download",
96
96
  label = "Records",
@@ -2,23 +2,23 @@ import * as React from "react";
2
2
  import { DataTableMobile, type DataTableMobileColumn } from "./DataTableMobile";
3
3
  import { Avatar } from "../../atoms/Avatar";
4
4
 
5
- type Company = { id: string; company: string; location: string };
5
+ type Customer = { id: string; customer: string; region: string };
6
6
 
7
- const rows: Company[] = [
8
- { id: "1", company: "Northwind", location: "United Kingdom" },
9
- { id: "2", company: "Lumen", location: "United Kingdom" },
10
- { id: "3", company: "Atlas", location: "France" },
7
+ const rows: Customer[] = [
8
+ { id: "1", customer: "Linden Supply", region: "United Kingdom" },
9
+ { id: "2", customer: "Harbor & Rye", region: "United Kingdom" },
10
+ { id: "3", customer: "Fernhill Studio", region: "France" },
11
11
  ];
12
12
 
13
- const columns: DataTableMobileColumn<Company>[] = [
13
+ const columns: DataTableMobileColumn<Customer>[] = [
14
14
  {
15
- key: "company",
16
- label: "Company",
15
+ key: "customer",
16
+ label: "Customer",
17
17
  sortable: true,
18
18
  render: (r) => (
19
19
  <span className="inline-flex items-center gap-sm text-body-md">
20
- <Avatar name={r.company} size="sm" shape="square" tone="inverse" />
21
- {r.company}
20
+ <Avatar name={r.customer} size="sm" shape="square" tone="inverse" />
21
+ {r.customer}
22
22
  </span>
23
23
  ),
24
24
  },
@@ -26,21 +26,22 @@ const columns: DataTableMobileColumn<Company>[] = [
26
26
 
27
27
  export default function DataTableMobilePreview() {
28
28
  const [selected, setSelected] = React.useState<string[]>(["2"]);
29
- const [filters, setFilters] = React.useState([{ id: "uk", label: "Primary location is United Kingdom" }]);
30
- const visible = filters.length ? rows.filter((r) => r.location === "United Kingdom") : rows;
29
+ const [filters, setFilters] = React.useState([{ id: "uk", label: "Primary region is United Kingdom" }]);
30
+ const visible = filters.length ? rows.filter((r) => r.region === "United Kingdom") : rows;
31
31
  return (
32
32
  <div className="w-full p-lg">
33
33
  <div className="mx-auto w-full md:w-1/2 space-y-base">
34
34
  <DataTableMobile
35
- label="Companies"
35
+ label="Customers"
36
36
  columns={columns}
37
37
  rows={visible}
38
38
  filters={filters}
39
39
  onRemoveFilter={(id) => setFilters((f) => f.filter((x) => x.id !== id))}
40
+ mobileDescription={(r) => r.region}
40
41
  selectedIds={selected}
41
42
  onSelectionChange={setSelected}
42
43
  />
43
- <DataTableMobile label="Empty companies" columns={columns} rows={[]} />
44
+ <DataTableMobile label="Empty customers" columns={columns} rows={[]} />
44
45
  </div>
45
46
  </div>
46
47
  );