@hanzo/ui 8.27.43 → 8.27.45
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/backends/gui/animated-testimonials.cjs +2 -2
- package/dist/backends/gui/animated-testimonials.js +2 -2
- package/dist/backends/gui/animated-testimonials.js.map +1 -1
- package/dist/backends/gui/animated-tooltip.cjs +2 -2
- package/dist/backends/gui/animated-tooltip.js +2 -2
- package/dist/backends/gui/animated-tooltip.js.map +1 -1
- package/dist/backends/gui/carousel.cjs +2 -2
- package/dist/backends/gui/carousel.d.ts.map +1 -1
- package/dist/backends/gui/carousel.js +2 -2
- package/dist/backends/gui/carousel.js.map +1 -1
- package/dist/backends/gui/index.cjs +4 -5
- package/dist/backends/gui/index.d.ts +1 -1
- package/dist/backends/gui/index.d.ts.map +1 -1
- package/dist/backends/gui/index.js +1 -1
- package/dist/backends/gui/index.js.map +1 -1
- package/dist/backends/gui/input-otp.cjs +2 -1
- package/dist/backends/gui/input-otp.d.ts.map +1 -1
- package/dist/backends/gui/input-otp.js +2 -1
- package/dist/backends/gui/input-otp.js.map +1 -1
- package/dist/backends/gui/navigation-menu.cjs +24 -6
- package/dist/backends/gui/navigation-menu.d.ts +0 -6
- package/dist/backends/gui/navigation-menu.d.ts.map +1 -1
- package/dist/backends/gui/navigation-menu.js +23 -5
- package/dist/backends/gui/navigation-menu.js.map +1 -1
- package/dist/backends/gui/prose.cjs +4 -18
- package/dist/backends/gui/prose.d.ts +8 -5
- package/dist/backends/gui/prose.d.ts.map +1 -1
- package/dist/backends/gui/prose.js +4 -18
- package/dist/backends/gui/prose.js.map +1 -1
- package/dist/backends/gui/skeleton.cjs +1 -1
- package/dist/backends/gui/skeleton.d.ts.map +1 -1
- package/dist/backends/gui/skeleton.js +1 -1
- package/dist/backends/gui/skeleton.js.map +1 -1
- package/dist/backends/gui/timeline.cjs +2 -2
- package/dist/backends/gui/timeline.d.ts +1 -1
- package/dist/backends/gui/timeline.js +2 -2
- package/dist/backends/gui/timeline.js.map +1 -1
- package/dist/backends/gui/video.cjs +1 -1
- package/dist/backends/gui/video.js +1 -1
- package/dist/backends/gui/video.js.map +1 -1
- package/dist/chat/Composer.cjs +6 -1
- package/dist/chat/Composer.d.ts.map +1 -1
- package/dist/chat/Composer.js +6 -1
- package/dist/chat/Composer.js.map +1 -1
- package/dist/chat/SessionRail.cjs +1 -4
- package/dist/chat/SessionRail.js +1 -4
- package/dist/chat/SessionRail.js.map +1 -1
- package/dist/consent/Consent.cjs +43 -8
- package/dist/consent/Consent.d.ts.map +1 -1
- package/dist/consent/Consent.js +45 -10
- package/dist/consent/Consent.js.map +1 -1
- package/dist/core/cn.cjs +1 -1
- package/dist/core/cn.d.ts +1 -1
- package/dist/core/cn.js +1 -1
- package/dist/gallery.html +481 -600
- package/dist/glass.cjs +2 -24
- package/dist/glass.css +0 -196
- package/dist/glass.d.ts +2 -26
- package/dist/glass.d.ts.map +1 -1
- package/dist/glass.js +1 -22
- package/dist/glass.js.map +1 -1
- package/dist/grid.cjs +60 -10
- package/dist/grid.d.ts +20 -24
- package/dist/grid.d.ts.map +1 -1
- package/dist/grid.js +60 -10
- package/dist/grid.js.map +1 -1
- package/dist/index.cjs +6 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.node.cjs +6 -2
- package/dist/index.node.js +4 -1
- package/dist/masthead/index.cjs +3 -12
- package/dist/masthead/index.d.ts +3 -6
- package/dist/masthead/index.d.ts.map +1 -1
- package/dist/masthead/index.js +3 -6
- package/dist/masthead/index.js.map +1 -1
- package/dist/motion.cjs +20 -0
- package/dist/motion.d.ts +17 -0
- package/dist/motion.d.ts.map +1 -0
- package/dist/motion.js +16 -0
- package/dist/motion.js.map +1 -0
- package/dist/onboarding/account.cjs +1 -1
- package/dist/onboarding/account.d.ts +3 -3
- package/dist/onboarding/account.d.ts.map +1 -1
- package/dist/onboarding/account.js +1 -1
- package/dist/onboarding/account.js.map +1 -1
- package/dist/onboarding/frame.cjs +1 -1
- package/dist/onboarding/frame.d.ts +1 -1
- package/dist/onboarding/frame.d.ts.map +1 -1
- package/dist/onboarding/frame.js +1 -1
- package/dist/onboarding/frame.js.map +1 -1
- package/dist/product/DataTable.cjs +24 -4
- package/dist/product/DataTable.d.ts +0 -16
- package/dist/product/DataTable.d.ts.map +1 -1
- package/dist/product/DataTable.js +24 -4
- package/dist/product/DataTable.js.map +1 -1
- package/dist/product/FadeIn.cjs +1 -1
- package/dist/product/FadeIn.js +1 -1
- package/dist/product/FadeIn.js.map +1 -1
- package/dist/product/Metric.cjs +19 -2
- package/dist/product/Metric.d.ts +0 -16
- package/dist/product/Metric.d.ts.map +1 -1
- package/dist/product/Metric.js +19 -2
- package/dist/product/Metric.js.map +1 -1
- package/dist/product/Reorder.cjs +1 -1
- package/dist/product/Reorder.js +1 -1
- package/dist/product/Reorder.js.map +1 -1
- package/dist/product/Skeleton.cjs +5 -5
- package/dist/product/Skeleton.d.ts +4 -4
- package/dist/product/Skeleton.d.ts.map +1 -1
- package/dist/product/Skeleton.js +5 -5
- package/dist/product/Skeleton.js.map +1 -1
- package/dist/product/SlideOver.cjs +2 -10
- package/dist/product/SlideOver.d.ts.map +1 -1
- package/dist/product/SlideOver.js +2 -10
- package/dist/product/SlideOver.js.map +1 -1
- package/dist/product/figures.cjs +16 -0
- package/dist/product/figures.d.ts +16 -0
- package/dist/product/figures.d.ts.map +1 -0
- package/dist/product/figures.js +14 -0
- package/dist/product/figures.js.map +1 -0
- package/dist/product/social/SocialResource.cjs +2 -1
- package/dist/product/social/SocialResource.d.ts.map +1 -1
- package/dist/product/social/SocialResource.js +2 -1
- package/dist/product/social/SocialResource.js.map +1 -1
- package/dist/product/social/SocialSummaryBar.cjs +2 -1
- package/dist/product/social/SocialSummaryBar.d.ts.map +1 -1
- package/dist/product/social/SocialSummaryBar.js +2 -1
- package/dist/product/social/SocialSummaryBar.js.map +1 -1
- package/dist/style.cjs +1 -4
- package/dist/style.d.ts +0 -2
- package/dist/style.d.ts.map +1 -1
- package/dist/style.js +0 -2
- package/dist/style.js.map +1 -1
- package/dist/styles/motion.css +61 -283
- package/dist/styles.css +478 -597
- package/dist/sx.cjs +1 -1
- package/dist/sx.js +1 -1
- package/dist/theme.css +369 -292
- package/package.json +3 -4
- package/dist/masthead/Masthead.cjs +0 -168
- package/dist/masthead/Masthead.d.ts +0 -54
- package/dist/masthead/Masthead.d.ts.map +0 -1
- package/dist/masthead/Masthead.js +0 -162
- package/dist/masthead/Masthead.js.map +0 -1
- package/dist/masthead.css +0 -502
- package/dist/primitives/navigationMenuTriggerStyle.cjs +0 -8
- package/dist/primitives/navigationMenuTriggerStyle.d.ts +0 -2
- package/dist/primitives/navigationMenuTriggerStyle.d.ts.map +0 -1
- package/dist/primitives/navigationMenuTriggerStyle.js +0 -5
- package/dist/primitives/navigationMenuTriggerStyle.js.map +0 -1
package/dist/masthead.css
DELETED
|
@@ -1,502 +0,0 @@
|
|
|
1
|
-
/* hanzo.ai's header (Masthead, @hanzo/ui/masthead): the bar, a menu's plane,
|
|
2
|
-
Log in ▾, and the phone sheet. Imported once by every site that wears it.
|
|
3
|
-
|
|
4
|
-
The bar reads the theme's tokens (@hanzo/design via @hanzo/ui/theme.css), so
|
|
5
|
-
light and dark need no second copy of any of it. The three below are the
|
|
6
|
-
chrome's own; a site that states them at :root wins, since these sit at zero
|
|
7
|
-
specificity. */
|
|
8
|
-
:where(:root) {
|
|
9
|
-
/* The header's height. */
|
|
10
|
-
--header: 60px;
|
|
11
|
-
/* One inset for the chrome and the page under it, the shell's GUTTER. */
|
|
12
|
-
--page-gutter: clamp(20px, 4vw, 72px);
|
|
13
|
-
/* The ground every chrome menu stands on: @hanzo/design's dropdown panel,
|
|
14
|
-
opaque, a shade above --background in either theme. */
|
|
15
|
-
--chrome-panel: var(--popover);
|
|
16
|
-
}
|
|
17
|
-
/* The bar's ink on a light page. The shell writes its inks as
|
|
18
|
-
`var(--white-92, …)` with white only as the fallback, so stating these names
|
|
19
|
-
on the bar turns every inline use black at once. Scoped to the bar: the names
|
|
20
|
-
mean a hue, and a page's own glows and hover fills stay white.
|
|
21
|
-
|
|
22
|
-
--white-45 is pushed to .56 rather than mirrored: black on white reads fainter
|
|
23
|
-
than white on black at the same alpha, and .56 is 4.5:1 on both the bar and
|
|
24
|
-
the panel. The panel under these inks is --chrome-panel, which flips with the
|
|
25
|
-
theme at `.light` wherever a menu is mounted. */
|
|
26
|
-
.light .hz-masthead {
|
|
27
|
-
--white-92: rgb(0 0 0 / 0.92);
|
|
28
|
-
--white-60: rgb(0 0 0 / 0.6);
|
|
29
|
-
--white-45: rgb(0 0 0 / 0.56);
|
|
30
|
-
--white-10: rgb(0 0 0 / 0.1);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* ==========================================================================
|
|
34
|
-
THE BAR AND THE SHEET
|
|
35
|
-
|
|
36
|
-
One nav tree, two drawings: the bar and the phone sheet. The bar's geometry
|
|
37
|
-
is @hanzogui/shell's — a 60px row, 34px pills, 13px labels, a 16px mark
|
|
38
|
-
before each, a 12px chevron after — so it reads as the same chrome the rest
|
|
39
|
-
of the estate wears. Every ink and ground is a theme token.
|
|
40
|
-
|
|
41
|
-
THREE GROUNDS for the bar. Clear over the top of a page; glass once the page
|
|
42
|
-
moves under it; and the plane's own opaque ground while a menu or the sheet
|
|
43
|
-
hangs from it, so bar and plane are one surface. The open bar carries no
|
|
44
|
-
backdrop filter on purpose: a filtered element is a backdrop root, and the
|
|
45
|
-
veil inside it would then blur the bar instead of the page.
|
|
46
|
-
========================================================================== */
|
|
47
|
-
|
|
48
|
-
.hz-masthead {
|
|
49
|
-
--wash: color-mix(in srgb, var(--foreground) 6%, transparent);
|
|
50
|
-
--hairline: color-mix(in srgb, var(--foreground) 10%, transparent);
|
|
51
|
-
position: sticky;
|
|
52
|
-
top: 0;
|
|
53
|
-
z-index: var(--z-header);
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
gap: 12px;
|
|
57
|
-
box-sizing: content-box;
|
|
58
|
-
height: var(--header);
|
|
59
|
-
padding: env(safe-area-inset-top) var(--page-gutter) 0;
|
|
60
|
-
font-family: var(--font-sans);
|
|
61
|
-
/* The type the chrome is set in: @hanzo/gui's body, 16px on a 20px line. A
|
|
62
|
-
fixed line, so every row keeps its height whatever the host's body type. */
|
|
63
|
-
font-size: 16px;
|
|
64
|
-
line-height: 20px;
|
|
65
|
-
color: var(--foreground);
|
|
66
|
-
transition: background-color 160ms ease;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.hz-masthead[data-grounded] {
|
|
70
|
-
background: color-mix(in srgb, var(--background) 72%, transparent);
|
|
71
|
-
backdrop-filter: blur(20px) saturate(1.8);
|
|
72
|
-
-webkit-backdrop-filter: blur(20px) saturate(1.8);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.hz-masthead:has([aria-expanded='true']) {
|
|
76
|
-
background: var(--chrome-panel);
|
|
77
|
-
backdrop-filter: none;
|
|
78
|
-
-webkit-backdrop-filter: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.hz-masthead a,
|
|
82
|
-
.hz-masthead button {
|
|
83
|
-
font-family: inherit;
|
|
84
|
-
text-decoration: none;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/* ------------------------------------------------------------------ pills */
|
|
88
|
-
|
|
89
|
-
.hz-masthead .hz-trigger,
|
|
90
|
-
.hz-masthead .hz-find,
|
|
91
|
-
.hz-masthead .hz-brand {
|
|
92
|
-
display: inline-flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
flex-shrink: 0;
|
|
95
|
-
box-sizing: border-box;
|
|
96
|
-
height: 34px;
|
|
97
|
-
border: 0;
|
|
98
|
-
border-radius: 999px;
|
|
99
|
-
background: transparent;
|
|
100
|
-
color: var(--muted-foreground);
|
|
101
|
-
cursor: pointer;
|
|
102
|
-
transition: color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.hz-masthead .hz-trigger {
|
|
106
|
-
gap: 6px;
|
|
107
|
-
padding: 0 12px;
|
|
108
|
-
font-size: var(--text-sm);
|
|
109
|
-
font-weight: var(--weight-medium);
|
|
110
|
-
white-space: nowrap;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.hz-masthead .hz-trigger:hover,
|
|
114
|
-
.hz-masthead .hz-trigger[aria-expanded='true'],
|
|
115
|
-
.hz-masthead .hz-find:hover,
|
|
116
|
-
.hz-masthead .hz-brand:hover,
|
|
117
|
-
.hz-masthead .hz-brand:has([aria-expanded='true']) {
|
|
118
|
-
color: var(--foreground);
|
|
119
|
-
background: var(--wash);
|
|
120
|
-
box-shadow: inset 0 0 0 1px var(--hairline);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
:is(.hz-masthead, .hz-sheet) .hz-mark {
|
|
124
|
-
display: inline-flex;
|
|
125
|
-
opacity: 0.9;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
:is(.hz-masthead, .hz-sheet) .hz-chevron {
|
|
129
|
-
flex-shrink: 0;
|
|
130
|
-
transition: transform 150ms ease;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
[aria-expanded='true'] > .hz-chevron,
|
|
134
|
-
details[open] > summary > .hz-chevron {
|
|
135
|
-
transform: rotate(180deg);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/* The name of the place is never dim, and the chevron beside it is its own stop:
|
|
139
|
-
the name goes home, the chevron opens the company. */
|
|
140
|
-
.hz-masthead .hz-brand {
|
|
141
|
-
margin-left: -4px;
|
|
142
|
-
color: var(--foreground);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.hz-masthead .hz-brand .hz-wordmark {
|
|
146
|
-
display: inline-flex;
|
|
147
|
-
align-items: center;
|
|
148
|
-
height: 100%;
|
|
149
|
-
padding-left: 12px;
|
|
150
|
-
color: inherit;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.hz-masthead .hz-brand .hz-company {
|
|
154
|
-
display: inline-grid;
|
|
155
|
-
place-items: center;
|
|
156
|
-
width: 30px;
|
|
157
|
-
height: 100%;
|
|
158
|
-
padding: 0 6px 0 0;
|
|
159
|
-
border: 0;
|
|
160
|
-
border-radius: 0 999px 999px 0;
|
|
161
|
-
background: transparent;
|
|
162
|
-
color: inherit;
|
|
163
|
-
cursor: pointer;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.hz-masthead .hz-nav {
|
|
167
|
-
display: flex;
|
|
168
|
-
align-items: center;
|
|
169
|
-
gap: 2px;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.hz-masthead .hz-find {
|
|
173
|
-
justify-content: center;
|
|
174
|
-
width: 34px;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.hz-masthead .hz-end {
|
|
178
|
-
display: flex;
|
|
179
|
-
align-items: center;
|
|
180
|
-
gap: 8px;
|
|
181
|
-
margin-left: auto;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.hz-masthead .hz-menu {
|
|
185
|
-
position: relative;
|
|
186
|
-
display: inline-flex;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/* The one filled control in the bar. */
|
|
190
|
-
:is(.hz-masthead, .hz-sheet) .hz-try {
|
|
191
|
-
display: inline-flex;
|
|
192
|
-
align-items: center;
|
|
193
|
-
justify-content: center;
|
|
194
|
-
gap: 2px;
|
|
195
|
-
box-sizing: border-box;
|
|
196
|
-
height: 34px;
|
|
197
|
-
padding: 0 14px;
|
|
198
|
-
border-radius: 999px;
|
|
199
|
-
background: var(--foreground);
|
|
200
|
-
color: var(--background);
|
|
201
|
-
font-size: var(--text-sm);
|
|
202
|
-
font-weight: var(--weight-semibold);
|
|
203
|
-
white-space: nowrap;
|
|
204
|
-
text-decoration: none;
|
|
205
|
-
transition: opacity 120ms ease;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
:is(.hz-masthead, .hz-sheet) .hz-try:hover {
|
|
209
|
-
opacity: 0.88;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
:is(.hz-masthead, .hz-sheet) .hz-out {
|
|
213
|
-
display: inline-block;
|
|
214
|
-
margin-left: 0.28em;
|
|
215
|
-
vertical-align: middle;
|
|
216
|
-
opacity: 0.7;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.hz-masthead .hz-toggle {
|
|
220
|
-
display: none;
|
|
221
|
-
place-items: center;
|
|
222
|
-
width: 44px;
|
|
223
|
-
height: 44px;
|
|
224
|
-
margin-right: -10px;
|
|
225
|
-
border: 0;
|
|
226
|
-
background: transparent;
|
|
227
|
-
color: var(--foreground);
|
|
228
|
-
cursor: pointer;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/* ------------------------------------------------------------------ plane */
|
|
232
|
-
|
|
233
|
-
/* A menu's panel spans the window under the bar and lays its columns out from
|
|
234
|
-
the wordmark's column. */
|
|
235
|
-
.hz-masthead .hz-plane {
|
|
236
|
-
position: fixed;
|
|
237
|
-
top: calc(var(--header) + env(safe-area-inset-top));
|
|
238
|
-
left: 0;
|
|
239
|
-
right: 0;
|
|
240
|
-
z-index: calc(var(--z-base) + 1);
|
|
241
|
-
max-height: calc(100dvh - var(--header));
|
|
242
|
-
overflow-y: auto;
|
|
243
|
-
background: var(--chrome-panel);
|
|
244
|
-
box-shadow: 0 24px 60px -16px color-mix(in srgb, var(--pure-black) 75%, transparent);
|
|
245
|
-
animation: hz-plane-in 160ms cubic-bezier(0.2, 0.9, 0.3, 1) both;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
@keyframes hz-plane-in {
|
|
249
|
-
from { opacity: 0; transform: translateY(-4px); }
|
|
250
|
-
to { opacity: 1; transform: none; }
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.hz-masthead .hz-veil {
|
|
254
|
-
position: fixed;
|
|
255
|
-
top: calc(var(--header) + env(safe-area-inset-top));
|
|
256
|
-
left: 0;
|
|
257
|
-
right: 0;
|
|
258
|
-
bottom: 0;
|
|
259
|
-
z-index: var(--z-base);
|
|
260
|
-
background: color-mix(in srgb, var(--pure-black) 40%, transparent);
|
|
261
|
-
backdrop-filter: blur(24px) saturate(1.2);
|
|
262
|
-
-webkit-backdrop-filter: blur(24px) saturate(1.2);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.hz-masthead .hz-columns {
|
|
266
|
-
display: grid;
|
|
267
|
-
grid-auto-flow: column;
|
|
268
|
-
grid-auto-columns: max-content;
|
|
269
|
-
justify-content: start;
|
|
270
|
-
gap: clamp(24px, 3vw, 64px);
|
|
271
|
-
padding: 36px calc(var(--page-gutter) + 8px) 48px;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
:is(.hz-masthead, .hz-sheet) .hz-column {
|
|
275
|
-
display: flex;
|
|
276
|
-
flex-direction: column;
|
|
277
|
-
gap: 2px;
|
|
278
|
-
min-width: 0;
|
|
279
|
-
transition: opacity 160ms ease;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/* The column under the pointer is the one being read; the others step back. */
|
|
283
|
-
.hz-masthead .hz-columns:has(> .hz-column:hover) > .hz-column:not(:hover) {
|
|
284
|
-
opacity: 0.45;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
:is(.hz-masthead, .hz-sheet) .hz-column-title {
|
|
288
|
-
margin: 0 0 10px;
|
|
289
|
-
font-size: var(--text-sm);
|
|
290
|
-
font-weight: var(--weight-semibold);
|
|
291
|
-
color: var(--foreground);
|
|
292
|
-
text-decoration: none;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
/* `justify-content` is stated on every row: this sheet centres any link whose
|
|
296
|
-
one element child is an svg, and ↗ is exactly that. A row is as wide as its
|
|
297
|
-
words, so a keyboard ring hugs the words it names rather than the column. */
|
|
298
|
-
:is(.hz-masthead, .hz-sheet) .hz-column a {
|
|
299
|
-
display: block;
|
|
300
|
-
width: fit-content;
|
|
301
|
-
justify-content: flex-start;
|
|
302
|
-
margin: 0 -8px;
|
|
303
|
-
padding: 5px 8px;
|
|
304
|
-
border-radius: 8px;
|
|
305
|
-
font-size: var(--text-sm);
|
|
306
|
-
font-weight: var(--weight-medium);
|
|
307
|
-
color: var(--muted-foreground);
|
|
308
|
-
white-space: nowrap;
|
|
309
|
-
text-decoration: none;
|
|
310
|
-
transition: color 120ms ease;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
:is(.hz-masthead, .hz-sheet) .hz-column a:hover,
|
|
314
|
-
:is(.hz-masthead, .hz-sheet) .hz-column a:focus-visible {
|
|
315
|
-
color: var(--foreground);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/* The destinations someone arrives wanting, in display type. */
|
|
319
|
-
.hz-masthead .hz-column[data-lead] a {
|
|
320
|
-
padding: 2px 8px;
|
|
321
|
-
font-size: var(--text-3xl);
|
|
322
|
-
font-weight: var(--weight-normal);
|
|
323
|
-
line-height: 1.28;
|
|
324
|
-
letter-spacing: -0.01em;
|
|
325
|
-
color: var(--foreground);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
/* ------------------------------------------------------------------ log in */
|
|
329
|
-
|
|
330
|
-
.hz-masthead .hz-card {
|
|
331
|
-
position: absolute;
|
|
332
|
-
top: calc(100% + 8px);
|
|
333
|
-
right: 0;
|
|
334
|
-
display: grid;
|
|
335
|
-
gap: 2px;
|
|
336
|
-
min-width: 240px;
|
|
337
|
-
padding: 6px;
|
|
338
|
-
border: 1px solid var(--border);
|
|
339
|
-
border-radius: 12px;
|
|
340
|
-
background: var(--chrome-panel);
|
|
341
|
-
box-shadow: 0 24px 60px -16px color-mix(in srgb, var(--pure-black) 75%, transparent);
|
|
342
|
-
animation: hz-plane-in 160ms cubic-bezier(0.2, 0.9, 0.3, 1) both;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.hz-masthead .hz-card a {
|
|
346
|
-
display: grid;
|
|
347
|
-
gap: 2px;
|
|
348
|
-
padding: 8px 10px;
|
|
349
|
-
border-radius: 8px;
|
|
350
|
-
color: var(--foreground);
|
|
351
|
-
font-size: var(--text-sm);
|
|
352
|
-
font-weight: var(--weight-semibold);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.hz-masthead .hz-card a:hover,
|
|
356
|
-
.hz-masthead .hz-card a:focus-visible {
|
|
357
|
-
background: color-mix(in srgb, var(--foreground) 6%, transparent);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.hz-masthead .hz-card small {
|
|
361
|
-
font-size: var(--text-xs);
|
|
362
|
-
font-weight: var(--weight-normal);
|
|
363
|
-
color: var(--muted-foreground);
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/* ------------------------------------------------------------------ phone */
|
|
367
|
-
|
|
368
|
-
.hz-sheet {
|
|
369
|
-
position: fixed;
|
|
370
|
-
top: calc(var(--header) + env(safe-area-inset-top));
|
|
371
|
-
left: 0;
|
|
372
|
-
right: 0;
|
|
373
|
-
bottom: 0;
|
|
374
|
-
z-index: var(--z-overlay);
|
|
375
|
-
overflow-y: auto;
|
|
376
|
-
overscroll-behavior: contain;
|
|
377
|
-
padding: 4px var(--page-gutter) calc(24px + env(safe-area-inset-bottom));
|
|
378
|
-
background: var(--chrome-panel);
|
|
379
|
-
font-family: var(--font-sans);
|
|
380
|
-
font-size: 16px;
|
|
381
|
-
line-height: 20px;
|
|
382
|
-
animation: hz-plane-in 160ms cubic-bezier(0.2, 0.9, 0.3, 1) both;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
.hz-sheet details {
|
|
386
|
-
border-bottom: 1px solid var(--border);
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.hz-sheet summary {
|
|
390
|
-
display: flex;
|
|
391
|
-
align-items: center;
|
|
392
|
-
gap: 10px;
|
|
393
|
-
min-height: 56px;
|
|
394
|
-
list-style: none;
|
|
395
|
-
font-size: var(--text-xl);
|
|
396
|
-
font-weight: var(--weight-medium);
|
|
397
|
-
color: var(--foreground);
|
|
398
|
-
cursor: pointer;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.hz-sheet summary::-webkit-details-marker {
|
|
402
|
-
display: none;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
.hz-sheet summary .hz-chevron {
|
|
406
|
-
margin-left: auto;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
.hz-sheet .hz-column {
|
|
410
|
-
padding: 0 0 16px;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
.hz-sheet .hz-column-title {
|
|
414
|
-
margin: 4px 0 2px;
|
|
415
|
-
font-size: var(--text-xs);
|
|
416
|
-
color: var(--text-tertiary);
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.hz-sheet .hz-column a,
|
|
420
|
-
.hz-sheet .hz-column[data-lead] a {
|
|
421
|
-
display: flex;
|
|
422
|
-
width: auto;
|
|
423
|
-
align-items: center;
|
|
424
|
-
justify-content: flex-start;
|
|
425
|
-
min-height: 44px;
|
|
426
|
-
margin: 0;
|
|
427
|
-
padding: 0;
|
|
428
|
-
font-size: var(--text-lg);
|
|
429
|
-
font-weight: var(--weight-normal);
|
|
430
|
-
letter-spacing: 0;
|
|
431
|
-
line-height: 1.2;
|
|
432
|
-
white-space: normal;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.hz-sheet .hz-column[data-lead] a {
|
|
436
|
-
font-size: var(--text-xl);
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.hz-sheet .hz-doors {
|
|
440
|
-
display: grid;
|
|
441
|
-
gap: 4px;
|
|
442
|
-
padding-top: 20px;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.hz-sheet .hz-door {
|
|
446
|
-
display: flex;
|
|
447
|
-
align-items: center;
|
|
448
|
-
justify-content: flex-start;
|
|
449
|
-
min-height: 44px;
|
|
450
|
-
font-size: var(--text-lg);
|
|
451
|
-
color: var(--foreground);
|
|
452
|
-
text-decoration: none;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
.hz-sheet .hz-try {
|
|
456
|
-
height: 48px;
|
|
457
|
-
margin-top: 12px;
|
|
458
|
-
font-size: var(--text-base);
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
/* One compact bar on a phone and a tablet: the name, search, and the menu. */
|
|
462
|
-
@media (max-width: 1023px) {
|
|
463
|
-
.hz-masthead .hz-nav,
|
|
464
|
-
.hz-masthead .hz-login,
|
|
465
|
-
.hz-masthead .hz-end > .hz-try,
|
|
466
|
-
.hz-masthead .hz-brand .hz-company {
|
|
467
|
-
display: none;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
.hz-masthead .hz-brand .hz-wordmark {
|
|
471
|
-
padding-right: 12px;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.hz-masthead .hz-find {
|
|
475
|
-
width: 44px;
|
|
476
|
-
height: 44px;
|
|
477
|
-
margin-left: auto;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
.hz-masthead .hz-end {
|
|
481
|
-
margin-left: 0;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.hz-masthead .hz-toggle {
|
|
485
|
-
display: inline-grid;
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
/* Between a tablet and a wide laptop the row keeps its labels and drops its marks. */
|
|
490
|
-
@media (min-width: 1024px) and (max-width: 1199px) {
|
|
491
|
-
.hz-masthead .hz-nav .hz-mark {
|
|
492
|
-
display: none;
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
@media (prefers-reduced-motion: reduce) {
|
|
497
|
-
.hz-masthead .hz-plane,
|
|
498
|
-
.hz-masthead .hz-card,
|
|
499
|
-
.hz-sheet {
|
|
500
|
-
animation: none;
|
|
501
|
-
}
|
|
502
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.navigationMenuTriggerStyle = void 0;
|
|
4
|
-
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
5
|
-
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
6
|
-
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
7
|
-
var navigation_menu_1 = require("../backends/gui/navigation-menu.cjs");
|
|
8
|
-
Object.defineProperty(exports, "navigationMenuTriggerStyle", { enumerable: true, get: function () { return navigation_menu_1.navigationMenuTriggerStyle; } });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigationMenuTriggerStyle.d.ts","sourceRoot":"","sources":["../../src/primitives/navigationMenuTriggerStyle.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
2
|
-
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
3
|
-
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
4
|
-
export { navigationMenuTriggerStyle } from '../backends/gui/navigation-menu.js';
|
|
5
|
-
//# sourceMappingURL=navigationMenuTriggerStyle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigationMenuTriggerStyle.js","sourceRoot":"","sources":["../../src/primitives/navigationMenuTriggerStyle.tsx"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,kEAAkE;AAClE,qEAAqE;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA"}
|