build(deps): bump lucide-react from 0.577.0 to 1.32.0 (#11885)
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 0.577.0 to 1.32.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lucide-icons/lucide/releases">lucide-react's releases</a>.</em></p> <blockquote> <h2>Version 1.32.0</h2> <h2>What's Changed</h2> <ul> <li>feat(icons): added <code>car-battery</code> icon by <a href="https://github.com/andreynaz4renko"><code>@andreynaz4renko</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4088">lucide-icons/lucide#4088</a></li> <li>fix(categories): fixes emoji.json by <a href="https://github.com/karsa-mistmere"><code>@karsa-mistmere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4697">lucide-icons/lucide#4697</a></li> <li>chore(deps): bump vue from 3.5.40 to 3.5.41 in the vue-deps group across 1 directory by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4695">lucide-icons/lucide#4695</a></li> <li>chore(dev): upgrade ESLint to latest compatible stack (v10) by <a href="https://github.com/ericfennis"><code>@ericfennis</code></a> with <a href="https://github.com/Copilot"><code>@Copilot</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4378">lucide-icons/lucide#4378</a></li> <li>feat(icons): add square-text by <a href="https://github.com/samuelalake"><code>@samuelalake</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4609">lucide-icons/lucide#4609</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/andreynaz4renko"><code>@andreynaz4renko</code></a> made their first contribution in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4088">lucide-icons/lucide#4088</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/lucide-icons/lucide/compare/1.31.0...1.32.0">https://github.com/lucide-icons/lucide/compare/1.31.0...1.32.0</a></p> <h2>Version 1.31.0</h2> <h2>What's Changed</h2> <ul> <li>feat(icons): added <code>mail-badge</code> icon by <a href="https://github.com/lazerg"><code>@lazerg</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4638">lucide-icons/lucide#4638</a></li> <li>feat(icons): add angle by <a href="https://github.com/samuelalake"><code>@samuelalake</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4545">lucide-icons/lucide#4545</a></li> <li>feat(icons): added <code>eject</code> icon by <a href="https://github.com/ThibautMarechal"><code>@ThibautMarechal</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4043">lucide-icons/lucide#4043</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/lazerg"><code>@lazerg</code></a> made their first contribution in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4638">lucide-icons/lucide#4638</a></li> <li><a href="https://github.com/ThibautMarechal"><code>@ThibautMarechal</code></a> made their first contribution in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4043">lucide-icons/lucide#4043</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/lucide-icons/lucide/compare/1.30.0...1.31.0">https://github.com/lucide-icons/lucide/compare/1.30.0...1.31.0</a></p> <h2>Version 1.30.0</h2> <h2>What's Changed</h2> <ul> <li>chore(icons): refine & rename various emoji icons by <a href="https://github.com/karsa-mistmere"><code>@karsa-mistmere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4606">lucide-icons/lucide#4606</a></li> <li>fix(scripts): removed toBeRemovedInVersion from all scripts and tools by <a href="https://github.com/karsa-mistmere"><code>@karsa-mistmere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4674">lucide-icons/lucide#4674</a></li> <li>feat(icons): added <code>audio-lines-x</code> icon by <a href="https://github.com/karsa-mistmere"><code>@karsa-mistmere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4590">lucide-icons/lucide#4590</a></li> <li>feat(lab): added <code>chinese-character</code> icon to lab by <a href="https://github.com/congemcd"><code>@congemcd</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4212">lucide-icons/lucide#4212</a></li> <li>test(packages): updates unit test snapshots with face-slightly-smiling by <a href="https://github.com/karsa-mistmere"><code>@karsa-mistmere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4676">lucide-icons/lucide#4676</a></li> <li>ci(dev): fix post-release job by downloading lucide-font artifact by name by <a href="https://github.com/ericfennis"><code>@ericfennis</code></a> with <a href="https://github.com/Copilot"><code>@Copilot</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4675">lucide-icons/lucide#4675</a></li> <li>feat(icons): add shield-lock icon by <a href="https://github.com/Caisere"><code>@Caisere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/3508">lucide-icons/lucide#3508</a></li> <li>ci(security): Pin sha actions by <a href="https://github.com/jguddas"><code>@jguddas</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4678">lucide-icons/lucide#4678</a></li> <li>feat(icons): added <code>broom</code> icon by <a href="https://github.com/karsa-mistmere"><code>@karsa-mistmere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4683">lucide-icons/lucide#4683</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/congemcd"><code>@congemcd</code></a> made their first contribution in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4212">lucide-icons/lucide#4212</a></li> <li><a href="https://github.com/Caisere"><code>@Caisere</code></a> made their first contribution in <a href="https://redirect.github.com/lucide-icons/lucide/pull/3508">lucide-icons/lucide#3508</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/lucide-icons/lucide/compare/1.29.0...1.30.0">https://github.com/lucide-icons/lucide/compare/1.29.0...1.30.0</a></p> <h2>Version 1.29.0</h2> <h2>What's Changed</h2> <ul> <li>fix(<code>@lucide/lab</code>): Fix lab build by <a href="https://github.com/ericfennis"><code>@ericfennis</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4618">lucide-icons/lucide#4618</a></li> <li>feat(copilot): remove incorrect spaces clause from copilot instructions by <a href="https://github.com/karsa-mistmere"><code>@karsa-mistmere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4623">lucide-icons/lucide#4623</a></li> <li>feat(docs): remove Super and Noodle from showcase by <a href="https://github.com/karsa-mistmere"><code>@karsa-mistmere</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4626">lucide-icons/lucide#4626</a></li> <li>chore(deps-dev): bump <code>@angular/platform-server</code> from 21.2.18 to 21.2.19 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4629">lucide-icons/lucide#4629</a></li> <li>ci(security): improve security with adding permissions by <a href="https://github.com/ericfennis"><code>@ericfennis</code></a> in <a href="https://redirect.github.com/lucide-icons/lucide/pull/4619">lucide-icons/lucide#4619</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="75b55160aa"><code>75b5516</code></a> chore(dev): upgrade ESLint to latest compatible stack (v10) (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/4378">#4378</a>)</li> <li><a href="0f8d48b266"><code>0f8d48b</code></a> test(packages): updates unit test snapshots with face-slightly-smiling (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/4676">#4676</a>)</li> <li><a href="f229f83f0c"><code>f229f83</code></a> chore(depedencies): Update dependencies (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/4553">#4553</a>)</li> <li><a href="5ff536e139"><code>5ff536e</code></a> ci(release.yml): Fix workflow and remove <code>version</code> scripts in package scripts...</li> <li><a href="07c885e6c1"><code>07c885e</code></a> fix(docs): fix zephyr-cloud URL in readmes</li> <li><a href="50d8af5a10"><code>50d8af5</code></a> docs(readme): Update readme files (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/4320">#4320</a>)</li> <li><a href="653e44b832"><code>653e44b</code></a> feat(packages): use .mjs for ESM bundles (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/4285">#4285</a>)</li> <li><a href="7623e23f78"><code>7623e23</code></a> feat(docs): add Zephyr Cloud to Hero Backers tier & rework updateSponsors scr...</li> <li><a href="dada0a8297"><code>dada0a8</code></a> fix(lucide-react): Fix dynamic imports (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/4210">#4210</a>)</li> <li><a href="a6e648a66f"><code>a6e648a</code></a> fix(lucide-react): correct client directives in RSC files (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/4189">#4189</a>)</li> <li>Additional commits viewable in <a href="https://github.com/lucide-icons/lucide/commits/1.32.0/packages/lucide-react">compare view</a></li> </ul> </details> <br /> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Priya Raman <priya@paperclip.ing> Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
18ba239d85
commit
0b01593602
|
|
@ -1029,8 +1029,8 @@ importers:
|
|||
specifier: 0.49.0
|
||||
version: 0.49.0(typescript@5.9.3)
|
||||
lucide-react:
|
||||
specifier: ^0.577.0
|
||||
version: 0.577.0(react@19.2.8)
|
||||
specifier: ^1.32.0
|
||||
version: 1.32.0(react@19.2.8)
|
||||
mermaid:
|
||||
specifier: ^11.16.1
|
||||
version: 11.16.1
|
||||
|
|
@ -6792,8 +6792,8 @@ packages:
|
|||
lru_map@0.4.1:
|
||||
resolution: {integrity: sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg==}
|
||||
|
||||
lucide-react@0.577.0:
|
||||
resolution: {integrity: sha512-4LjoFv2eEPwYDPg/CUdBJQSDfPyzXCRrVW1X7jrx/trgxnxkHFjnVZINbzvzxjN70dxychOfg+FTYwBiS3pQ5A==}
|
||||
lucide-react@1.32.0:
|
||||
resolution: {integrity: sha512-txX56hMFnRxPi1f9/nH69YN8uvAO6a7Y1KSWKjCDAtdD9+soEgmWuCt6iRm1pkxUZo2+YntSdsE1L6bIuKoY8Q==}
|
||||
peerDependencies:
|
||||
react: ^19.2.8
|
||||
|
||||
|
|
@ -14258,7 +14258,7 @@ snapshots:
|
|||
|
||||
lru_map@0.4.1: {}
|
||||
|
||||
lucide-react@0.577.0(react@19.2.8):
|
||||
lucide-react@1.32.0(react@19.2.8):
|
||||
dependencies:
|
||||
react: 19.2.8
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
"cmdk": "^1.1.1",
|
||||
"i18next": "^26.3.6",
|
||||
"lexical": "0.49.0",
|
||||
"lucide-react": "^0.577.0",
|
||||
"lucide-react": "^1.32.0",
|
||||
"mermaid": "^11.16.1",
|
||||
"motion": "^12.42.2",
|
||||
"radix-ui": "^1.6.7",
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
import { isValidElement, memo, useCallback, useEffect, useId, useMemo, useRef, useState, type ReactNode } from "react";
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import { Check, Copy, ExternalLink, Github, WrapText } from "lucide-react";
|
||||
import { Check, Copy, ExternalLink, WrapText } from "lucide-react";
|
||||
import Markdown, { defaultUrlTransform, type Components, type Options } from "react-markdown";
|
||||
import remarkGfm from "remark-gfm";
|
||||
import { cn } from "../lib/utils";
|
||||
import { GithubIcon } from "@/components/icons/github-icon";
|
||||
import { Link, useCaseHref } from "@/lib/router";
|
||||
import { useTheme } from "../context/ThemeContext";
|
||||
import { useOptionalCompany } from "../context/CompanyContext";
|
||||
|
|
@ -895,7 +896,7 @@ function MarkdownBodyImpl({
|
|||
const isGitHubLink = isGitHubUrl(href);
|
||||
const isExternal = isExternalHttpUrl(href);
|
||||
const leadingIcon = isGitHubLink ? (
|
||||
<Github aria-hidden="true" className="mr-1 inline h-3.5 w-3.5 align-(--va-0_125em)" />
|
||||
<GithubIcon aria-hidden="true" className="mr-1 inline h-3.5 w-3.5 align-(--va-0_125em)" />
|
||||
) : null;
|
||||
const trailingIcon = isExternal && !isGitHubLink ? (
|
||||
<ExternalLink aria-hidden="true" className="ml-1 inline h-3 w-3 align-(--va-0_125em)" />
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ import { Separator } from "@/components/ui/separator";
|
|||
import { Button } from "@/components/ui/button";
|
||||
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover";
|
||||
import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip";
|
||||
import { AlertCircle, Archive, ArchiveRestore, Check, ExternalLink, Github, Loader2, Plus, Trash2, X } from "lucide-react";
|
||||
import { AlertCircle, Archive, ArchiveRestore, Check, ExternalLink, Loader2, Plus, Trash2, X } from "lucide-react";
|
||||
import { GithubIcon } from "@/components/icons/github-icon";
|
||||
import { ChoosePathButton } from "./PathInstructionsModal";
|
||||
import { ToggleSwitch } from "@/components/ui/toggle-switch";
|
||||
import { DraftInput } from "./agent-config-primitives";
|
||||
|
|
@ -727,13 +728,13 @@ export function ProjectProperties({ project, onUpdate, onFieldUpdate, getFieldSa
|
|||
rel="noreferrer"
|
||||
className="inline-flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground hover:underline"
|
||||
>
|
||||
<Github className="h-3 w-3 shrink-0" />
|
||||
<GithubIcon className="h-3 w-3 shrink-0" />
|
||||
<span className="break-all min-w-0">{formatRepoUrl(codebase.repoUrl)}</span>
|
||||
<ExternalLink className="h-3 w-3 shrink-0" />
|
||||
</a>
|
||||
) : (
|
||||
<div className="inline-flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground">
|
||||
<Github className="h-3 w-3 shrink-0" />
|
||||
<GithubIcon className="h-3 w-3 shrink-0" />
|
||||
<span className="break-all min-w-0">{codebase.repoUrl}</span>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,20 @@
|
|||
import { createLucideIcon } from "lucide-react";
|
||||
|
||||
/**
|
||||
* The GitHub mark, as a `lucide-react` icon.
|
||||
*
|
||||
* `lucide-react` removed all brand icons (including `Github`) in its 1.x
|
||||
* release. This component rebuilds the old mark with `createLucideIcon`, so
|
||||
* it stays a drop-in replacement: same props, same `LucideIcon` type, same
|
||||
* rendered output as the icon this file replaces.
|
||||
*/
|
||||
export const GithubIcon = createLucideIcon("github", [
|
||||
[
|
||||
"path",
|
||||
{
|
||||
d: "M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",
|
||||
key: "tonef",
|
||||
},
|
||||
],
|
||||
["path", { d: "M9 18c-4.51 2-5-2-7-2", key: "9comsn" }],
|
||||
]);
|
||||
|
|
@ -9,13 +9,13 @@ import {
|
|||
Clock,
|
||||
CloudOff,
|
||||
GitMerge,
|
||||
Github,
|
||||
GitPullRequest,
|
||||
KeyRound,
|
||||
Loader2,
|
||||
XCircle,
|
||||
type LucideIcon,
|
||||
} from "lucide-react";
|
||||
import { GithubIcon } from "@/components/icons/github-icon";
|
||||
import type {
|
||||
ExternalObjectLivenessState,
|
||||
ExternalObjectStatusCategory,
|
||||
|
|
@ -55,7 +55,7 @@ const EXTERNAL_OBJECT_ICON_KEYS: Record<string, LucideIcon> = {
|
|||
circle: Circle,
|
||||
"circle-dot": CircleDot,
|
||||
clock: Clock,
|
||||
github: Github,
|
||||
github: GithubIcon,
|
||||
"git-merge": GitMerge,
|
||||
"git-pull-request": GitPullRequest,
|
||||
key: KeyRound,
|
||||
|
|
|
|||
|
|
@ -30,11 +30,11 @@ import {
|
|||
Check,
|
||||
ChevronRight,
|
||||
Download,
|
||||
Github,
|
||||
Loader2,
|
||||
Package,
|
||||
Upload,
|
||||
} from "lucide-react";
|
||||
import { GithubIcon } from "../components/icons/github-icon";
|
||||
import { Field, adapterLabels } from "../components/agent-config-primitives";
|
||||
import { getAdapterLabel } from "../adapters/adapter-display-registry";
|
||||
import { defaultCreateValues } from "../components/agent-config-defaults";
|
||||
|
|
@ -1784,7 +1784,7 @@ export function CompanyImport() {
|
|||
<div className="grid gap-2 md:grid-cols-2">
|
||||
{(
|
||||
[
|
||||
{ key: "github", icon: Github, label: "GitHub repo" },
|
||||
{ key: "github", icon: GithubIcon, label: "GitHub repo" },
|
||||
{ key: "local", icon: Upload, label: "Local zip" },
|
||||
] as const
|
||||
).map(({ key, icon: Icon, label }) => (
|
||||
|
|
|
|||
|
|
@ -136,7 +136,6 @@ import {
|
|||
FolderOpen,
|
||||
FolderSearch,
|
||||
GitFork,
|
||||
Github,
|
||||
Globe,
|
||||
HelpCircle,
|
||||
LayoutGrid,
|
||||
|
|
@ -164,6 +163,7 @@ import {
|
|||
X,
|
||||
XOctagon,
|
||||
} from "lucide-react";
|
||||
import { GithubIcon } from "../components/icons/github-icon";
|
||||
import type { FolderListItem, FolderListResult } from "@paperclipai/shared";
|
||||
|
||||
type SkillTreeNode = {
|
||||
|
|
@ -265,7 +265,7 @@ function sourceMeta(sourceBadge: CompanySkillSourceBadge, sourceLabel: string |
|
|||
case "github":
|
||||
return isSkillsShManaged
|
||||
? { icon: VercelMark, label: sourceLabel ?? "skills.sh", managedLabel: "skills.sh managed" }
|
||||
: { icon: Github, label: sourceLabel ?? "GitHub", managedLabel: "GitHub managed" };
|
||||
: { icon: GithubIcon, label: sourceLabel ?? "GitHub", managedLabel: "GitHub managed" };
|
||||
case "url":
|
||||
return { icon: Link2, label: sourceLabel ?? "URL", managedLabel: "URL managed" };
|
||||
case "local":
|
||||
|
|
@ -3412,7 +3412,7 @@ export function SkillDetailPage({
|
|||
<div className="mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground">Source</div>
|
||||
{githubSource ? (
|
||||
<div className="flex items-start gap-2 text-sm">
|
||||
<Github className="mt-0.5 h-4 w-4 shrink-0 text-muted-foreground" aria-hidden="true" />
|
||||
<GithubIcon className="mt-0.5 h-4 w-4 shrink-0 text-muted-foreground" aria-hidden="true" />
|
||||
<div className="min-w-0">
|
||||
<div className="text-foreground">{githubLabel}</div>
|
||||
<a
|
||||
|
|
|
|||
|
|
@ -95,7 +95,6 @@ import {
|
|||
Folder,
|
||||
FolderKanban,
|
||||
FolderOpen,
|
||||
Github,
|
||||
KeyRound,
|
||||
Link2,
|
||||
Loader2,
|
||||
|
|
@ -108,6 +107,7 @@ import {
|
|||
XCircle,
|
||||
XOctagon,
|
||||
} from "lucide-react";
|
||||
import { GithubIcon } from "../components/icons/github-icon";
|
||||
|
||||
// Matches design §11 breakpoints. Module-level so stories and the page agree.
|
||||
const DESKTOP_MIN = 1024;
|
||||
|
|
@ -330,7 +330,7 @@ function RiskBanner({ team }: { team: CatalogTeam }) {
|
|||
function sourceKindIcon(type: CatalogTeamSourceRef["type"]) {
|
||||
switch (type) {
|
||||
case "github":
|
||||
return Github;
|
||||
return GithubIcon;
|
||||
case "url":
|
||||
return Link2;
|
||||
case "local_path":
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import { Boxes, Folder, Github, Link2, Paperclip, type LucideIcon } from "lucide-react";
|
||||
import { Boxes, Folder, Link2, Paperclip, type LucideIcon } from "lucide-react";
|
||||
import { GithubIcon } from "@/components/icons/github-icon";
|
||||
import type { CompanySkillListItem } from "@paperclipai/shared";
|
||||
|
||||
export interface AgentSkillSourceMeta {
|
||||
|
|
@ -90,12 +91,12 @@ function displayCatalogSourceLabel(label: string | null | undefined) {
|
|||
export function buildAgentSkillSourceMeta(skill: SourceSkill): AgentSkillSourceMeta {
|
||||
if (skill.sourceBadge === "github" || skill.sourceType === "github") {
|
||||
const repo = githubRepoLabel(skill.sourceLabel) ?? githubRepoLabel(skill.sourceLocator);
|
||||
return { icon: Github, label: repo ? `GitHub · ${repo}` : "GitHub" };
|
||||
return { icon: GithubIcon, label: repo ? `GitHub · ${repo}` : "GitHub" };
|
||||
}
|
||||
|
||||
if (skill.sourceBadge === "skills_sh" || skill.sourceType === "skills_sh") {
|
||||
const repo = githubRepoLabel(skill.sourceLabel) ?? githubRepoLabel(skill.sourceLocator);
|
||||
return { icon: Github, label: repo ? `skills.sh · ${repo}` : "skills.sh" };
|
||||
return { icon: GithubIcon, label: repo ? `skills.sh · ${repo}` : "skills.sh" };
|
||||
}
|
||||
|
||||
if (skill.sourceBadge === "url" || skill.sourceType === "url") {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { useState } from "react";
|
||||
import type { Meta, StoryObj } from "@storybook/react-vite";
|
||||
import { Folder, Github } from "lucide-react";
|
||||
import { Folder } from "lucide-react";
|
||||
import { GithubIcon } from "@/components/icons/github-icon";
|
||||
import { AgentSkillRow, type AgentSkillRowData } from "@/pages/agent-skills/AgentSkillRow";
|
||||
|
||||
const ENABLED: AgentSkillRowData = {
|
||||
|
|
@ -9,7 +10,7 @@ const ENABLED: AgentSkillRowData = {
|
|||
icon: { key: "agent-browser", name: "agent-browser", slug: "agent-browser", iconUrl: null, color: null },
|
||||
summary: "Drive a real browser to inspect and interact with web pages.",
|
||||
chip: "automation",
|
||||
sourceMeta: { icon: Github, label: "GitHub · vercel-labs/agent-browser" },
|
||||
sourceMeta: { icon: GithubIcon, label: "GitHub · vercel-labs/agent-browser" },
|
||||
linkTo: "/skills/agent-browser",
|
||||
slug: "agent-browser",
|
||||
tagline: "Drive a real browser to inspect and interact with web pages.",
|
||||
|
|
|
|||
Loading…
Reference in New Issue