@xenide-io/the-old-ui-theme 0.4.3 → 0.4.6
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/{chunk-54ZR4VL5.mjs → chunk-RZXHZWUB.mjs} +44 -17
- package/dist/{index-B5NOyoKS.d.mts → index-Od4pIP4F.d.mts} +7 -1
- package/dist/{index-B5NOyoKS.d.ts → index-Od4pIP4F.d.ts} +7 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +37 -10
- package/dist/index.mjs +1 -1
- package/dist/suite.d.mts +152 -41
- package/dist/suite.d.ts +152 -41
- package/dist/suite.js +1184 -661
- package/dist/suite.mjs +1123 -601
- package/dist/ui.d.mts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.js +37 -10
- package/dist/ui.mjs +1 -1
- package/package.json +7 -3
- package/src/components/ui/Modal.tsx +70 -26
- package/src/styles/suite-skin.css +284 -24
- package/src/suite/components/ai-panel.tsx +269 -103
- package/src/suite/components/suite-app-layout.tsx +48 -28
- package/src/suite/components/suite-layout.tsx +85 -41
- package/src/suite/components/suite-mobile-drawer.tsx +35 -22
- package/src/suite/components/suite-notification-bell.tsx +9 -3
- package/src/suite/components/suite-settings-layout.tsx +82 -0
- package/src/suite/components/suite-settings-mobile-nav.tsx +18 -17
- package/src/suite/components/suite-skeleton.tsx +3 -3
- package/src/suite/components/today-calibrating.tsx +11 -35
- package/src/suite/components/today-page-frame.tsx +19 -11
- package/src/suite/components/today-ui.tsx +276 -19
- package/src/suite/index.ts +41 -25
- package/src/suite/lib/apps.ts +32 -2
- package/src/suite/lib/use-sidebar-width.ts +114 -0
- package/src/components/sections/AccordionShowcase.tsx +0 -45
- package/src/components/sections/AlertShowcase.tsx +0 -40
- package/src/components/sections/AvatarShowcase.tsx +0 -80
- package/src/components/sections/BadgeShowcase.tsx +0 -65
- package/src/components/sections/ButtonShowcase.tsx +0 -308
- package/src/components/sections/CalendarShowcase.tsx +0 -35
- package/src/components/sections/CardShowcase.tsx +0 -159
- package/src/components/sections/CodeMockupShowcase.tsx +0 -56
- package/src/components/sections/ColorPalette.tsx +0 -117
- package/src/components/sections/CommandPaletteShowcase.tsx +0 -48
- package/src/components/sections/CountdownShowcase.tsx +0 -43
- package/src/components/sections/DiffShowcase.tsx +0 -70
- package/src/components/sections/DrawerShowcase.tsx +0 -97
- package/src/components/sections/DropdownShowcase.tsx +0 -98
- package/src/components/sections/EmptyStateShowcase.tsx +0 -50
- package/src/components/sections/FilterChipsShowcase.tsx +0 -98
- package/src/components/sections/FormShowcase.tsx +0 -127
- package/src/components/sections/HoverCardShowcase.tsx +0 -50
- package/src/components/sections/IconShowcase.tsx +0 -121
- package/src/components/sections/IndicatorShowcase.tsx +0 -52
- package/src/components/sections/KbdShowcase.tsx +0 -57
- package/src/components/sections/ModalShowcase.tsx +0 -211
- package/src/components/sections/NavigationShowcase.tsx +0 -199
- package/src/components/sections/NewComponentsShowcase.tsx +0 -1052
- package/src/components/sections/ProductLayoutsShowcase.tsx +0 -78
- package/src/components/sections/ProgressShowcase.tsx +0 -82
- package/src/components/sections/QuillChartShowcase.tsx +0 -92
- package/src/components/sections/QuillDashboardShowcase.tsx +0 -149
- package/src/components/sections/SegmentedControlShowcase.tsx +0 -49
- package/src/components/sections/SetupThemeShowcase.tsx +0 -262
- package/src/components/sections/SidebarShowcase.tsx +0 -152
- package/src/components/sections/StackShowcase.tsx +0 -33
- package/src/components/sections/StepperShowcase.tsx +0 -37
- package/src/components/sections/SuiteShowcase.tsx +0 -669
- package/src/components/sections/SwapShowcase.tsx +0 -99
- package/src/components/sections/TabShowcase.tsx +0 -84
- package/src/components/sections/TableShowcase.tsx +0 -142
- package/src/components/sections/TimelineShowcase.tsx +0 -83
- package/src/components/sections/ToastShowcase.tsx +0 -108
- package/src/components/sections/TooltipShowcase.tsx +0 -38
- package/src/components/sections/UtilityShowcase.tsx +0 -81
- package/src/styles/excel-themes.css +0 -110
- package/src/styles/lemon-primitives.css +0 -550
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { useState } from "react";
|
|
4
|
-
import { IconCheck, IconClose, IconPlus } from "@/components/icons";
|
|
5
|
-
import { Button, ComponentDocs, Input, Modal, Select, ShowcaseWrapper, Textarea } from "@/components/ui";
|
|
6
|
-
|
|
7
|
-
export default function ModalShowcase() {
|
|
8
|
-
const [openModal, setOpenModal] = useState<string | null>(null);
|
|
9
|
-
|
|
10
|
-
const close = () => setOpenModal(null);
|
|
11
|
-
|
|
12
|
-
const code = `import { Button, IconCheck, IconClose, IconPlus, Input, Modal, Select, Textarea } from "@xenide-io/the-old-ui-theme";
|
|
13
|
-
|
|
14
|
-
<div className="ph-panel space-y-4">
|
|
15
|
-
<h3 className="text-sm font-semibold uppercase tracking-wider text-ph-mutedtext">Patterns</h3>
|
|
16
|
-
|
|
17
|
-
<div className="flex flex-wrap gap-3">
|
|
18
|
-
<Button variant="secondary" onClick={() => setOpenModal("info")}>
|
|
19
|
-
Info
|
|
20
|
-
</Button>
|
|
21
|
-
<Button variant="success" onClick={() => setOpenModal("success")}>
|
|
22
|
-
Success
|
|
23
|
-
</Button>
|
|
24
|
-
<Button variant="danger" onClick={() => setOpenModal("error")}>
|
|
25
|
-
Error
|
|
26
|
-
</Button>
|
|
27
|
-
<Button variant="primary" icon={<IconPlus className="h-4 w-4" aria-hidden />} onClick={() => setOpenModal("form")}>
|
|
28
|
-
Form modal
|
|
29
|
-
</Button>
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<Modal
|
|
33
|
-
open={openModal === "info"}
|
|
34
|
-
onClose={close}
|
|
35
|
-
title="Configure capture"
|
|
36
|
-
description="Lightweight overlay + white sheet — Lemon modals skew toward tight copy and decisive buttons."
|
|
37
|
-
footer={<Button variant="secondary" onClick={close}>Close</Button>}
|
|
38
|
-
/>
|
|
39
|
-
|
|
40
|
-
<Modal
|
|
41
|
-
open={openModal === "success"}
|
|
42
|
-
onClose={close}
|
|
43
|
-
showCloseButton={false}
|
|
44
|
-
footer={<Button variant="success" onClick={close}>Continue</Button>}
|
|
45
|
-
>
|
|
46
|
-
<div className="flex items-start gap-3">
|
|
47
|
-
<div className="flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-[var(--ph-success-bg)] text-[var(--ph-success-text)]">
|
|
48
|
-
<IconCheck className="h-5 w-5" />
|
|
49
|
-
</div>
|
|
50
|
-
<div>
|
|
51
|
-
<h3 className="text-lg font-bold text-ph-success">Saved</h3>
|
|
52
|
-
<p className="mt-1 text-sm text-ph-subtle">Your dashboard layout synced to the team.</p>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</Modal>
|
|
56
|
-
|
|
57
|
-
<Modal
|
|
58
|
-
open={openModal === "error"}
|
|
59
|
-
onClose={close}
|
|
60
|
-
showCloseButton={false}
|
|
61
|
-
footer={
|
|
62
|
-
<>
|
|
63
|
-
<Button variant="ghost" onClick={close}>Cancel</Button>
|
|
64
|
-
<Button variant="danger" onClick={close}>View logs</Button>
|
|
65
|
-
</>
|
|
66
|
-
}
|
|
67
|
-
>
|
|
68
|
-
<div className="flex items-start gap-3">
|
|
69
|
-
<div className="flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-[var(--ph-danger-bg)] text-[var(--ph-danger-text)]">
|
|
70
|
-
<IconClose className="h-5 w-5" />
|
|
71
|
-
</div>
|
|
72
|
-
<div>
|
|
73
|
-
<h3 className="text-lg font-bold text-ph-danger">Query failed</h3>
|
|
74
|
-
<p className="mt-1 text-sm text-ph-subtle">ClickHouse returned a timeout — retry or narrow the date range.</p>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</Modal>
|
|
78
|
-
|
|
79
|
-
<Modal
|
|
80
|
-
open={openModal === "form"}
|
|
81
|
-
onClose={close}
|
|
82
|
-
size="lg"
|
|
83
|
-
title="Create feature flag"
|
|
84
|
-
footer={
|
|
85
|
-
<>
|
|
86
|
-
<Button variant="ghost" onClick={close}>Cancel</Button>
|
|
87
|
-
<Button variant="primary" onClick={close}>Create</Button>
|
|
88
|
-
</>
|
|
89
|
-
}
|
|
90
|
-
>
|
|
91
|
-
<div className="space-y-4">
|
|
92
|
-
<Input label="Key" placeholder="billing-ui-v3" />
|
|
93
|
-
<Textarea label="Description" placeholder="Expose the rewritten billing funnel" className="h-28" />
|
|
94
|
-
<Select label="Rollout">
|
|
95
|
-
<option>10% staged</option>
|
|
96
|
-
<option>Everyone</option>
|
|
97
|
-
</Select>
|
|
98
|
-
</div>
|
|
99
|
-
</Modal>
|
|
100
|
-
</div>`;
|
|
101
|
-
|
|
102
|
-
return (
|
|
103
|
-
<ShowcaseWrapper
|
|
104
|
-
title="Modals"
|
|
105
|
-
description="Accessible modal shell with open state, title, description, size, close button, and footer props."
|
|
106
|
-
code={code}
|
|
107
|
-
filename="ModalExample.tsx"
|
|
108
|
-
docs={
|
|
109
|
-
<ComponentDocs
|
|
110
|
-
rows={[
|
|
111
|
-
{ name: "open", type: "boolean", defaultValue: "false", description: "Controls modal visibility." },
|
|
112
|
-
{ name: "onClose", type: "() => void", description: "Called by overlay and close button." },
|
|
113
|
-
{ name: "size", type: "sm | md | lg | xl | full", defaultValue: "md", description: "Controls panel max width." },
|
|
114
|
-
{ name: "title", type: "string", description: "Accessible dialog heading." },
|
|
115
|
-
{ name: "footer", type: "ReactNode", description: "Renders action row with consistent spacing." },
|
|
116
|
-
{ name: "closeOnOutsideClick", type: "boolean", defaultValue: "true", description: "Controls pointer dismissal outside the dialog." },
|
|
117
|
-
{ name: "closeOnEscape", type: "boolean", defaultValue: "true", description: "Controls Escape-key dismissal." },
|
|
118
|
-
]}
|
|
119
|
-
/>
|
|
120
|
-
}
|
|
121
|
-
>
|
|
122
|
-
<div className="ph-panel space-y-4">
|
|
123
|
-
<h3 className="text-sm font-semibold uppercase tracking-wider text-ph-mutedtext">Patterns</h3>
|
|
124
|
-
|
|
125
|
-
<div className="flex flex-wrap gap-3">
|
|
126
|
-
<Button variant="secondary" onClick={() => setOpenModal("info")}>
|
|
127
|
-
Info
|
|
128
|
-
</Button>
|
|
129
|
-
<Button variant="success" onClick={() => setOpenModal("success")}>
|
|
130
|
-
Success
|
|
131
|
-
</Button>
|
|
132
|
-
<Button variant="danger" onClick={() => setOpenModal("error")}>
|
|
133
|
-
Error
|
|
134
|
-
</Button>
|
|
135
|
-
<Button variant="primary" icon={<IconPlus className="h-4 w-4" aria-hidden />} onClick={() => setOpenModal("form")}>
|
|
136
|
-
Form modal
|
|
137
|
-
</Button>
|
|
138
|
-
</div>
|
|
139
|
-
|
|
140
|
-
<Modal
|
|
141
|
-
open={openModal === "info"}
|
|
142
|
-
onClose={close}
|
|
143
|
-
title="Configure capture"
|
|
144
|
-
description="Lightweight overlay + white sheet — Lemon modals skew toward tight copy and decisive buttons."
|
|
145
|
-
footer={<Button variant="secondary" onClick={close}>Close</Button>}
|
|
146
|
-
/>
|
|
147
|
-
|
|
148
|
-
<Modal
|
|
149
|
-
open={openModal === "success"}
|
|
150
|
-
onClose={close}
|
|
151
|
-
showCloseButton={false}
|
|
152
|
-
footer={<Button variant="success" onClick={close}>Continue</Button>}
|
|
153
|
-
>
|
|
154
|
-
<div className="flex items-start gap-3">
|
|
155
|
-
<div className="flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-[var(--ph-success-bg)] text-[var(--ph-success-text)]">
|
|
156
|
-
<IconCheck className="h-5 w-5" />
|
|
157
|
-
</div>
|
|
158
|
-
<div>
|
|
159
|
-
<h3 className="text-lg font-bold text-ph-success">Saved</h3>
|
|
160
|
-
<p className="mt-1 text-sm text-ph-subtle">Your dashboard layout synced to the team.</p>
|
|
161
|
-
</div>
|
|
162
|
-
</div>
|
|
163
|
-
</Modal>
|
|
164
|
-
|
|
165
|
-
<Modal
|
|
166
|
-
open={openModal === "error"}
|
|
167
|
-
onClose={close}
|
|
168
|
-
showCloseButton={false}
|
|
169
|
-
footer={
|
|
170
|
-
<>
|
|
171
|
-
<Button variant="ghost" onClick={close}>Cancel</Button>
|
|
172
|
-
<Button variant="danger" onClick={close}>View logs</Button>
|
|
173
|
-
</>
|
|
174
|
-
}
|
|
175
|
-
>
|
|
176
|
-
<div className="flex items-start gap-3">
|
|
177
|
-
<div className="flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-[var(--ph-danger-bg)] text-[var(--ph-danger-text)]">
|
|
178
|
-
<IconClose className="h-5 w-5" />
|
|
179
|
-
</div>
|
|
180
|
-
<div>
|
|
181
|
-
<h3 className="text-lg font-bold text-ph-danger">Query failed</h3>
|
|
182
|
-
<p className="mt-1 text-sm text-ph-subtle">ClickHouse returned a timeout — retry or narrow the date range.</p>
|
|
183
|
-
</div>
|
|
184
|
-
</div>
|
|
185
|
-
</Modal>
|
|
186
|
-
|
|
187
|
-
<Modal
|
|
188
|
-
open={openModal === "form"}
|
|
189
|
-
onClose={close}
|
|
190
|
-
size="lg"
|
|
191
|
-
title="Create feature flag"
|
|
192
|
-
footer={
|
|
193
|
-
<>
|
|
194
|
-
<Button variant="ghost" onClick={close}>Cancel</Button>
|
|
195
|
-
<Button variant="primary" onClick={close}>Create</Button>
|
|
196
|
-
</>
|
|
197
|
-
}
|
|
198
|
-
>
|
|
199
|
-
<div className="space-y-4">
|
|
200
|
-
<Input label="Key" placeholder="billing-ui-v3" />
|
|
201
|
-
<Textarea label="Description" placeholder="Expose the rewritten billing funnel" className="h-28" />
|
|
202
|
-
<Select label="Rollout">
|
|
203
|
-
<option>10% staged</option>
|
|
204
|
-
<option>Everyone</option>
|
|
205
|
-
</Select>
|
|
206
|
-
</div>
|
|
207
|
-
</Modal>
|
|
208
|
-
</div>
|
|
209
|
-
</ShowcaseWrapper>
|
|
210
|
-
);
|
|
211
|
-
}
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { IconBell, IconPerson } from "@/components/icons";
|
|
4
|
-
import { Button, DropdownItem, DropdownMenu, SearchInput, ShowcaseWrapper } from "@/components/ui";
|
|
5
|
-
|
|
6
|
-
export default function NavigationShowcase() {
|
|
7
|
-
const code = `import { IconBell, IconPerson } from "the-old-ui";
|
|
8
|
-
import { Button, DropdownItem, DropdownMenu, SearchInput } from "the-old-ui";
|
|
9
|
-
|
|
10
|
-
<div className="space-y-8">
|
|
11
|
-
<div className="ph-panel">
|
|
12
|
-
<h3 className="mb-4 text-sm font-semibold uppercase tracking-wider text-ph-mutedtext">Top bar density</h3>
|
|
13
|
-
<div className="ph-navbar-demo justify-between gap-4">
|
|
14
|
-
<span className="text-lg font-bold text-ph-brand">posthog</span>
|
|
15
|
-
<div className="flex flex-1 flex-wrap items-center justify-end gap-2">
|
|
16
|
-
<SearchInput
|
|
17
|
-
label="Jump to"
|
|
18
|
-
hideLabel
|
|
19
|
-
shortcut="Cmd K"
|
|
20
|
-
placeholder="Jump to…"
|
|
21
|
-
density="compact"
|
|
22
|
-
/>
|
|
23
|
-
<Button type="button" variant="ghost" shape="circle" className="relative" aria-label="Notifications">
|
|
24
|
-
<IconBell className="h-5 w-5 text-ph-mutedtext" />
|
|
25
|
-
<span className="absolute right-2 top-2 h-2 w-2 rounded-full bg-ph-brand ring-2 ring-ph-surface" />
|
|
26
|
-
</Button>
|
|
27
|
-
<DropdownMenu
|
|
28
|
-
align="end"
|
|
29
|
-
aria-label="Account menu"
|
|
30
|
-
trigger={
|
|
31
|
-
<span className="flex h-9 w-9 cursor-pointer items-center justify-center rounded-full bg-ph-muted text-ph-ink">
|
|
32
|
-
<IconPerson className="h-5 w-5" aria-hidden />
|
|
33
|
-
</span>
|
|
34
|
-
}
|
|
35
|
-
>
|
|
36
|
-
<DropdownItem>Personal API keys</DropdownItem>
|
|
37
|
-
<DropdownItem>Organisation settings</DropdownItem>
|
|
38
|
-
</DropdownMenu>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
|
|
43
|
-
<div className="ph-panel flex gap-10">
|
|
44
|
-
<div>
|
|
45
|
-
<h3 className="mb-4 text-sm font-semibold uppercase tracking-wider text-ph-mutedtext">Side navigation</h3>
|
|
46
|
-
<ul className="w-52 space-y-1 text-sm font-medium">
|
|
47
|
-
<li>
|
|
48
|
-
<a href="#" className="block rounded-md bg-ph-muted px-3 py-2 text-ph-ink">
|
|
49
|
-
Home
|
|
50
|
-
</a>
|
|
51
|
-
</li>
|
|
52
|
-
<li>
|
|
53
|
-
<a href="#" className="block rounded-md px-3 py-2 text-ph-subtle hover:bg-ph-muted/70">
|
|
54
|
-
Data pipeline
|
|
55
|
-
</a>
|
|
56
|
-
</li>
|
|
57
|
-
<li>
|
|
58
|
-
<details open className="ph-details [&>summary::-webkit-details-marker]:hidden">
|
|
59
|
-
<summary className="cursor-pointer list-none px-3 py-2 text-ph-mutedtext">Warehouse</summary>
|
|
60
|
-
<ul className="mt-1 space-y-1 border-l border-ph-border pl-5">
|
|
61
|
-
<li>
|
|
62
|
-
<a href="#" className="block py-1 text-ph-subtle hover:text-ph-ink">
|
|
63
|
-
Sources
|
|
64
|
-
</a>
|
|
65
|
-
</li>
|
|
66
|
-
<li>
|
|
67
|
-
<a href="#" className="block py-1 text-ph-subtle hover:text-ph-ink">
|
|
68
|
-
Views
|
|
69
|
-
</a>
|
|
70
|
-
</li>
|
|
71
|
-
</ul>
|
|
72
|
-
</details>
|
|
73
|
-
</li>
|
|
74
|
-
</ul>
|
|
75
|
-
</div>
|
|
76
|
-
|
|
77
|
-
<div className="flex-1">
|
|
78
|
-
<h3 className="mb-4 text-sm font-semibold uppercase tracking-wider text-ph-mutedtext">Timeline steps</h3>
|
|
79
|
-
<ol className="ph-steps">
|
|
80
|
-
<li className="flex flex-col items-center gap-2">
|
|
81
|
-
<span className="flex h-8 w-8 items-center justify-center rounded-full bg-ph-brand text-xs font-bold text-white">
|
|
82
|
-
1
|
|
83
|
-
</span>
|
|
84
|
-
<span>Install snippet</span>
|
|
85
|
-
</li>
|
|
86
|
-
<li className="flex flex-col items-center gap-2 opacity-60">
|
|
87
|
-
<span className="flex h-8 w-8 items-center justify-center rounded-full border border-dashed border-ph-border text-xs">
|
|
88
|
-
2
|
|
89
|
-
</span>
|
|
90
|
-
<span>Send test event</span>
|
|
91
|
-
</li>
|
|
92
|
-
<li className="flex flex-col items-center gap-2 opacity-60">
|
|
93
|
-
<span className="flex h-8 w-8 items-center justify-center rounded-full border border-dashed border-ph-border text-xs">
|
|
94
|
-
3
|
|
95
|
-
</span>
|
|
96
|
-
<span>Invite team</span>
|
|
97
|
-
</li>
|
|
98
|
-
</ol>
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
</div>`;
|
|
102
|
-
|
|
103
|
-
return (
|
|
104
|
-
<ShowcaseWrapper title="Navigation chrome" code={code} filename="NavigationExample.tsx">
|
|
105
|
-
<div className="space-y-8">
|
|
106
|
-
<div className="ph-panel">
|
|
107
|
-
<h3 className="mb-4 text-sm font-semibold uppercase tracking-wider text-ph-mutedtext">Top bar density</h3>
|
|
108
|
-
<div className="ph-navbar-demo justify-between gap-4">
|
|
109
|
-
<span className="text-lg font-bold text-ph-brand">posthog</span>
|
|
110
|
-
<div className="flex flex-1 flex-wrap items-center justify-end gap-2">
|
|
111
|
-
<SearchInput
|
|
112
|
-
label="Jump to"
|
|
113
|
-
hideLabel
|
|
114
|
-
shortcut="Cmd K"
|
|
115
|
-
placeholder="Jump to…"
|
|
116
|
-
density="compact"
|
|
117
|
-
/>
|
|
118
|
-
<Button type="button" variant="ghost" shape="circle" className="relative" aria-label="Notifications">
|
|
119
|
-
<IconBell className="h-5 w-5 text-ph-mutedtext" />
|
|
120
|
-
<span className="absolute right-2 top-2 h-2 w-2 rounded-full bg-ph-brand ring-2 ring-ph-surface" />
|
|
121
|
-
</Button>
|
|
122
|
-
<DropdownMenu
|
|
123
|
-
align="end"
|
|
124
|
-
aria-label="Account menu"
|
|
125
|
-
trigger={
|
|
126
|
-
<span className="flex h-9 w-9 cursor-pointer items-center justify-center rounded-full bg-ph-muted text-ph-ink">
|
|
127
|
-
<IconPerson className="h-5 w-5" aria-hidden />
|
|
128
|
-
</span>
|
|
129
|
-
}
|
|
130
|
-
>
|
|
131
|
-
<DropdownItem>Personal API keys</DropdownItem>
|
|
132
|
-
<DropdownItem>Organisation settings</DropdownItem>
|
|
133
|
-
</DropdownMenu>
|
|
134
|
-
</div>
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
|
|
138
|
-
<div className="ph-panel flex gap-10">
|
|
139
|
-
<div>
|
|
140
|
-
<h3 className="mb-4 text-sm font-semibold uppercase tracking-wider text-ph-mutedtext">Side navigation</h3>
|
|
141
|
-
<ul className="w-52 space-y-1 text-sm font-medium">
|
|
142
|
-
<li>
|
|
143
|
-
<a href="#" className="block rounded-md bg-ph-muted px-3 py-2 text-ph-ink">
|
|
144
|
-
Home
|
|
145
|
-
</a>
|
|
146
|
-
</li>
|
|
147
|
-
<li>
|
|
148
|
-
<a href="#" className="block rounded-md px-3 py-2 text-ph-subtle hover:bg-ph-muted/70">
|
|
149
|
-
Data pipeline
|
|
150
|
-
</a>
|
|
151
|
-
</li>
|
|
152
|
-
<li>
|
|
153
|
-
<details open className="ph-details [&>summary::-webkit-details-marker]:hidden">
|
|
154
|
-
<summary className="cursor-pointer list-none px-3 py-2 text-ph-mutedtext">Warehouse</summary>
|
|
155
|
-
<ul className="mt-1 space-y-1 border-l border-ph-border pl-5">
|
|
156
|
-
<li>
|
|
157
|
-
<a href="#" className="block py-1 text-ph-subtle hover:text-ph-ink">
|
|
158
|
-
Sources
|
|
159
|
-
</a>
|
|
160
|
-
</li>
|
|
161
|
-
<li>
|
|
162
|
-
<a href="#" className="block py-1 text-ph-subtle hover:text-ph-ink">
|
|
163
|
-
Views
|
|
164
|
-
</a>
|
|
165
|
-
</li>
|
|
166
|
-
</ul>
|
|
167
|
-
</details>
|
|
168
|
-
</li>
|
|
169
|
-
</ul>
|
|
170
|
-
</div>
|
|
171
|
-
|
|
172
|
-
<div className="flex-1">
|
|
173
|
-
<h3 className="mb-4 text-sm font-semibold uppercase tracking-wider text-ph-mutedtext">Timeline steps</h3>
|
|
174
|
-
<ol className="ph-steps">
|
|
175
|
-
<li className="flex flex-col items-center gap-2">
|
|
176
|
-
<span className="flex h-8 w-8 items-center justify-center rounded-full bg-ph-brand text-xs font-bold text-white">
|
|
177
|
-
1
|
|
178
|
-
</span>
|
|
179
|
-
<span>Install snippet</span>
|
|
180
|
-
</li>
|
|
181
|
-
<li className="flex flex-col items-center gap-2 opacity-60">
|
|
182
|
-
<span className="flex h-8 w-8 items-center justify-center rounded-full border border-dashed border-ph-border text-xs">
|
|
183
|
-
2
|
|
184
|
-
</span>
|
|
185
|
-
<span>Send test event</span>
|
|
186
|
-
</li>
|
|
187
|
-
<li className="flex flex-col items-center gap-2 opacity-60">
|
|
188
|
-
<span className="flex h-8 w-8 items-center justify-center rounded-full border border-dashed border-ph-border text-xs">
|
|
189
|
-
3
|
|
190
|
-
</span>
|
|
191
|
-
<span>Invite team</span>
|
|
192
|
-
</li>
|
|
193
|
-
</ol>
|
|
194
|
-
</div>
|
|
195
|
-
</div>
|
|
196
|
-
</div>
|
|
197
|
-
</ShowcaseWrapper>
|
|
198
|
-
);
|
|
199
|
-
}
|