@gaulatti/bleecker 0.1.10 → 0.1.12

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.
@@ -0,0 +1 @@
1
+ export declare const gaulattiLogoSrc: string;
@@ -0,0 +1,2 @@
1
+ const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1289.11"><path d="M130.76,132.41h503.79C568.89,51.62,468.71,0,356.48,0c-85.56,0-164.12,30.01-225.72,80.07-19.2,15.6-36.75,33.15-52.35,52.34h52.35Z" style="fill-rule:evenodd"/><path d="M867.59,421.58v503.79c80.8-65.67,132.41-165.84,132.41-278.07,0-85.56-30.01-164.12-80.07-225.72-15.6-19.2-33.15-36.75-52.34-52.35v52.35Z" style="fill-rule:evenodd"/><path d="M582.21,1156.69H78.41c65.67,80.8,165.84,132.41,278.07,132.41,85.56,0,164.12-30.01,225.72-80.07,19.2-15.6,36.75-33.15,52.35-52.34h-52.35Z" style="fill-rule:evenodd"/><path d="M356.49,1003.43C160.11,1003.43.35,843.67.35,647.3s159.76-356.13,356.13-356.13,356.13,159.76,356.13,356.13-159.76,356.13-356.13,356.13ZM356.49,421.58c-124.46,0-225.72,101.26-225.72,225.72s101.26,225.72,225.72,225.72,225.72-101.26,225.72-225.72-101.26-225.72-225.72-225.72Z"/><path d="M681.87,780.25c21.13-43.23,33.02-90.93,33.4-141.07h-.02c0-.8.02-1.59.02-2.38v-347.39c-53.33,13.4-97.76,45.8-123.61,88.53l90.21,402.31Z" style="fill-rule:evenodd"/><path d="M490.84,320.34c-43.23-21.13-90.93-33.02-141.07-33.4v.02c-.8,0-1.59-.02-2.38-.02H0c13.4,53.33,45.8,97.76,88.53,123.61l402.31-90.21Z" style="fill-rule:evenodd"/></svg>`;
2
+ export const gaulattiLogoSrc = `data:image/svg+xml,${encodeURIComponent(svg)}`;
@@ -2,8 +2,8 @@ import { type NavItem, type RenderLink } from './nav-menu';
2
2
  export interface BrandLockupProps {
3
3
  className?: string;
4
4
  href: string;
5
- logoAlt: string;
6
- logoSrc: string;
5
+ logoAlt?: string;
6
+ logoSrc?: string;
7
7
  name: string;
8
8
  renderLink?: RenderLink<NavItem>;
9
9
  }
@@ -1,7 +1,8 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { renderDefaultLink } from './nav-menu.js';
3
+ import { gaulattiLogoSrc } from '../assets/logo.js';
3
4
  import { cn } from '../utils/cn.js';
4
- export function BrandLockup({ className, href, logoAlt, logoSrc, name, renderLink }) {
5
+ export function BrandLockup({ className, href, logoAlt = 'gaulatti', logoSrc = gaulattiLogoSrc, name, renderLink }) {
5
6
  const linkRenderer = renderLink ?? renderDefaultLink;
6
7
  return (_jsx(_Fragment, { children: linkRenderer({
7
8
  item: {
package/dist/index.d.ts CHANGED
@@ -41,6 +41,7 @@ export * from './components/collection-filters';
41
41
  export * from './components/command-spotlight';
42
42
  export * from './components/select';
43
43
  export * from './components/section-header';
44
+ export * from './assets/logo';
44
45
  export * from './components/panel';
45
46
  export * from './components/status-badge';
46
47
  export * from './components/table';
package/dist/index.js CHANGED
@@ -41,6 +41,7 @@ export * from './components/collection-filters.js';
41
41
  export * from './components/command-spotlight.js';
42
42
  export * from './components/select.js';
43
43
  export * from './components/section-header.js';
44
+ export * from './assets/logo.js';
44
45
  export * from './components/panel.js';
45
46
  export * from './components/status-badge.js';
46
47
  export * from './components/table.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gaulatti/bleecker",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/gaulatti/bleecker"