fulldev-ui 0.22.0 → 0.22.1
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/CHANGELOG.md +8 -0
- package/README.md +7 -0
- package/package.json +1 -1
- package/public/r/doc-1.json +1 -1
- package/public/r/registry.json +2 -1
- package/public/r/sidebar-1.json +2 -1
- package/public/r/styles/base-luma/doc-1.json +1 -1
- package/public/r/styles/base-luma/registry.json +2 -1
- package/public/r/styles/base-luma/sidebar-1.json +2 -1
- package/public/r/styles/base-lyra/doc-1.json +1 -1
- package/public/r/styles/base-lyra/registry.json +2 -1
- package/public/r/styles/base-lyra/sidebar-1.json +2 -1
- package/public/r/styles/base-maia/doc-1.json +1 -1
- package/public/r/styles/base-maia/registry.json +2 -1
- package/public/r/styles/base-maia/sidebar-1.json +2 -1
- package/public/r/styles/base-mira/doc-1.json +1 -1
- package/public/r/styles/base-mira/registry.json +2 -1
- package/public/r/styles/base-mira/sidebar-1.json +2 -1
- package/public/r/styles/base-nova/doc-1.json +1 -1
- package/public/r/styles/base-nova/registry.json +2 -1
- package/public/r/styles/base-nova/sidebar-1.json +2 -1
- package/public/r/styles/base-rhea/doc-1.json +1 -1
- package/public/r/styles/base-rhea/registry.json +2 -1
- package/public/r/styles/base-rhea/sidebar-1.json +2 -1
- package/public/r/styles/base-sera/doc-1.json +1 -1
- package/public/r/styles/base-sera/registry.json +2 -1
- package/public/r/styles/base-sera/sidebar-1.json +2 -1
- package/public/r/styles/base-vega/doc-1.json +1 -1
- package/public/r/styles/base-vega/registry.json +2 -1
- package/public/r/styles/base-vega/sidebar-1.json +2 -1
- package/registry.json +2 -1
- package/src/components/blocks/doc-1.astro +79 -79
- package/src/components/ui/combobox/combobox-content.astro +1 -1
- package/src/components/ui/dropdown-menu/dropdown-menu-content.astro +1 -1
- package/src/components/ui/select/select-content.astro +1 -1
- package/src/styles/global.css +5 -0
package/registry.json
CHANGED
|
@@ -3913,8 +3913,9 @@
|
|
|
3913
3913
|
"name": "sidebar-1",
|
|
3914
3914
|
"type": "registry:block",
|
|
3915
3915
|
"title": "Sidebar 1",
|
|
3916
|
+
"description": "Deprecated: a docs shell with a sidebar, search, breadcrumb and theme toggle.",
|
|
3916
3917
|
"categories": ["sidebar"],
|
|
3917
|
-
"docs": "https://ui.full.dev/blocks/",
|
|
3918
|
+
"docs": "https://ui.full.dev/blocks/sidebar/",
|
|
3918
3919
|
"dependencies": ["@lucide/astro"],
|
|
3919
3920
|
"registryDependencies": [
|
|
3920
3921
|
"@fulldev/breadcrumb",
|
|
@@ -130,92 +130,92 @@ const openLinks = markdownUrl
|
|
|
130
130
|
)}
|
|
131
131
|
{...props}
|
|
132
132
|
>
|
|
133
|
-
<div class="mx-auto flex w-full max-w-
|
|
134
|
-
<header class="flex flex-col gap-
|
|
135
|
-
<div class="flex
|
|
133
|
+
<div class="mx-auto flex w-full max-w-160 min-w-0 flex-col gap-10">
|
|
134
|
+
<header class="flex flex-col gap-2">
|
|
135
|
+
<div class="flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between">
|
|
136
136
|
<TypographyH1
|
|
137
137
|
size="sm"
|
|
138
|
-
class="text-foreground text-left tracking-tight"
|
|
138
|
+
class="text-foreground min-w-0 text-left tracking-tight"
|
|
139
139
|
>
|
|
140
140
|
{title}
|
|
141
141
|
</TypographyH1>
|
|
142
|
-
<
|
|
143
|
-
{
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
size="xs"
|
|
153
|
-
data-source={copyButton?.source}
|
|
154
|
-
data-doc-copy
|
|
155
|
-
aria-label={labels.copyMarkdown}
|
|
156
|
-
>
|
|
157
|
-
<Copy data-copy-icon class="docs-copy-icon size-3.5" />
|
|
158
|
-
<Check data-check-icon class="docs-check-icon hidden size-3.5" />
|
|
159
|
-
<span>{labels.copyMarkdown}</span>
|
|
160
|
-
</Button>
|
|
161
|
-
)}
|
|
162
|
-
{showOpenButton && (
|
|
163
|
-
<DropdownMenu>
|
|
164
|
-
<DropdownMenuTrigger
|
|
165
|
-
class={buttonVariants({ variant: "outline", size: "xs" })}
|
|
142
|
+
<div class="flex shrink-0 items-center gap-2 self-start">
|
|
143
|
+
{showCopyButton && (
|
|
144
|
+
<Button
|
|
145
|
+
id={copyButton?.id}
|
|
146
|
+
type="button"
|
|
147
|
+
variant="outline"
|
|
148
|
+
size="xs"
|
|
149
|
+
data-source={copyButton?.source}
|
|
150
|
+
data-doc-copy
|
|
151
|
+
aria-label={labels.copyMarkdown}
|
|
166
152
|
>
|
|
167
|
-
<
|
|
168
|
-
<
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
153
|
+
<Copy data-copy-icon class="docs-copy-icon size-3.5" />
|
|
154
|
+
<Check data-check-icon class="docs-check-icon hidden size-3.5" />
|
|
155
|
+
<span>{labels.copyMarkdown}</span>
|
|
156
|
+
</Button>
|
|
157
|
+
)}
|
|
158
|
+
{showOpenButton && (
|
|
159
|
+
<DropdownMenu>
|
|
160
|
+
<DropdownMenuTrigger
|
|
161
|
+
class={buttonVariants({ variant: "outline", size: "xs" })}
|
|
162
|
+
>
|
|
163
|
+
<span>{labels.openIn}</span>
|
|
164
|
+
<ChevronDown class="size-3.5 opacity-70" />
|
|
165
|
+
</DropdownMenuTrigger>
|
|
166
|
+
<DropdownMenuContent align="end" sideOffset={6} class="w-56">
|
|
167
|
+
<DropdownMenuGroup>
|
|
168
|
+
{openLinks.map((link) => (
|
|
169
|
+
<DropdownMenuItem
|
|
170
|
+
href={link.href}
|
|
171
|
+
target="_blank"
|
|
172
|
+
rel="noreferrer noopener"
|
|
173
|
+
>
|
|
174
|
+
{link.icon === "markdown" && (
|
|
175
|
+
<Markdown
|
|
176
|
+
class="size-4"
|
|
177
|
+
fill="currentColor"
|
|
178
|
+
aria-hidden="true"
|
|
179
|
+
/>
|
|
180
|
+
)}
|
|
181
|
+
{link.icon === "chatgpt" && (
|
|
182
|
+
<svg
|
|
183
|
+
role="img"
|
|
184
|
+
viewBox="0 0 24 24"
|
|
185
|
+
fill="currentColor"
|
|
186
|
+
class="size-4"
|
|
187
|
+
aria-hidden="true"
|
|
188
|
+
>
|
|
189
|
+
<path d="M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.182a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .511 4.91 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.989 5.989 0 0 0 3.998-2.9 6.056 6.056 0 0 0-.748-7.073ZM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.142-.081 4.778-2.758a.795.795 0 0 0 .393-.681v-6.737l2.02 1.169a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.495 4.494Zm-9.66-4.125a4.471 4.471 0 0 1-.535-3.014l.142.085 4.783 2.758a.771.771 0 0 0 .781 0l5.843-3.368v2.332a.08.08 0 0 1-.034.062L9.74 19.95a4.499 4.499 0 0 1-6.14-1.646ZM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.677l5.814 3.354-2.02 1.169a.076.076 0 0 1-.071 0l-4.83-2.787A4.504 4.504 0 0 1 2.34 7.872Zm16.596 3.856-5.833-3.388L15.12 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.104v-5.677a.79.79 0 0 0-.407-.667Zm2.011-3.024-.142-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.499 4.499 0 0 1 6.68 4.66ZM8.307 12.863l-2.02-1.164a.08.08 0 0 1-.038-.057V6.074a4.499 4.499 0 0 1 7.376-3.453l-.142.08-4.778 2.758a.795.795 0 0 0-.393.681Zm1.097-2.365 2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5Z" />
|
|
190
|
+
</svg>
|
|
191
|
+
)}
|
|
192
|
+
{link.icon === "claude" && (
|
|
193
|
+
<Claude
|
|
194
|
+
class="size-4"
|
|
195
|
+
fill="currentColor"
|
|
196
|
+
aria-hidden="true"
|
|
197
|
+
/>
|
|
198
|
+
)}
|
|
199
|
+
{link.icon === "cursor" && (
|
|
200
|
+
<Cursor
|
|
201
|
+
class="size-4"
|
|
202
|
+
fill="currentColor"
|
|
203
|
+
aria-hidden="true"
|
|
204
|
+
/>
|
|
205
|
+
)}
|
|
206
|
+
<span>{link.label}</span>
|
|
207
|
+
<ExternalLink class="text-muted-foreground ml-auto size-3.5" />
|
|
208
|
+
</DropdownMenuItem>
|
|
209
|
+
))}
|
|
210
|
+
</DropdownMenuGroup>
|
|
211
|
+
</DropdownMenuContent>
|
|
212
|
+
</DropdownMenu>
|
|
213
|
+
)}
|
|
214
|
+
</div>
|
|
218
215
|
</div>
|
|
216
|
+
<TypographyLead size="sm" class="max-w-2xl leading-7">
|
|
217
|
+
{description}
|
|
218
|
+
</TypographyLead>
|
|
219
219
|
</header>
|
|
220
220
|
|
|
221
221
|
<Typography
|
|
@@ -50,7 +50,7 @@ const {
|
|
|
50
50
|
data-collision-padding={collisionPadding}
|
|
51
51
|
hidden={hidden}
|
|
52
52
|
class={cn(
|
|
53
|
-
"cn-combobox-content cn-combobox-content-logical group/combobox-content relative z-50 max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin)",
|
|
53
|
+
"cn-combobox-content cn-combobox-content-logical cn-menu-target cn-menu-translucent group/combobox-content relative z-50 max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin)",
|
|
54
54
|
className
|
|
55
55
|
)}
|
|
56
56
|
{...props}
|
|
@@ -47,7 +47,7 @@ const {
|
|
|
47
47
|
data-collision-padding={collisionPadding}
|
|
48
48
|
hidden={hidden}
|
|
49
49
|
class={cn(
|
|
50
|
-
"cn-dropdown-menu-content cn-dropdown-menu-content-logical z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-closed:overflow-hidden",
|
|
50
|
+
"cn-dropdown-menu-content cn-dropdown-menu-content-logical cn-menu-target cn-menu-translucent z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-closed:overflow-hidden",
|
|
51
51
|
className
|
|
52
52
|
)}
|
|
53
53
|
{...props}
|
|
@@ -52,7 +52,7 @@ const {
|
|
|
52
52
|
data-collision-padding={collisionPadding}
|
|
53
53
|
hidden={hidden}
|
|
54
54
|
class={cn(
|
|
55
|
-
"cn-select-content cn-select-content-logical relative isolate z-[1000] max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-[align-trigger=true]:animate-none",
|
|
55
|
+
"cn-select-content cn-select-content-logical cn-menu-target cn-menu-translucent relative isolate z-[1000] max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-[align-trigger=true]:animate-none",
|
|
56
56
|
className
|
|
57
57
|
)}
|
|
58
58
|
{...props}
|
package/src/styles/global.css
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
/* Generate the classes of every style for the docs previews. */
|
|
6
6
|
@source "../../registry/styles";
|
|
7
|
+
/* Translucent menus in the docs previews: cn-menu-translucent of the style
|
|
8
|
+
files, which no other source holds. tests/registry.test.mjs checks it. */
|
|
9
|
+
@source inline(
|
|
10
|
+
"animate-none! relative bg-popover/70 before:pointer-events-none before:absolute before:inset-0 before:-z-1 before:rounded-[inherit] before:backdrop-blur-2xl before:backdrop-saturate-150 **:data-[slot$=-item]:focus:bg-foreground/10 **:data-[slot$=-item]:data-highlighted:bg-foreground/10 **:data-[slot$=-separator]:bg-foreground/5 **:data-[slot$=-trigger]:focus:bg-foreground/10 **:data-[slot$=-trigger]:aria-expanded:bg-foreground/10! **:data-[variant=destructive]:focus:bg-foreground/10! **:data-[variant=destructive]:text-accent-foreground! **:data-[variant=destructive]:**:text-accent-foreground!"
|
|
11
|
+
);
|
|
7
12
|
|
|
8
13
|
@custom-variant dark (&:is(.dark *));
|
|
9
14
|
|