@getcoherent/core 0.3.5 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5826,6 +5826,7 @@ function ThemeToggle() {
5826
5826
 
5827
5827
  export function Header() {
5828
5828
  const pathname = usePathname()
5829
+ if (pathname?.startsWith('/design-system')) return null
5829
5830
  return (
5830
5831
  <>
5831
5832
  <nav className="sticky top-0 z-50 shrink-0 border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
@@ -5860,7 +5861,11 @@ export function Header() {
5860
5861
  const appName = this.escapeString(this.config.name);
5861
5862
  return `'use client'
5862
5863
 
5864
+ import { usePathname } from 'next/navigation'
5865
+
5863
5866
  export function Footer() {
5867
+ const pathname = usePathname()
5868
+ if (pathname?.startsWith('/design-system')) return null
5864
5869
  return (
5865
5870
  <footer className="border-t">
5866
5871
  <div className="mx-auto flex h-14 max-w-7xl items-center justify-between px-4 text-sm text-muted-foreground sm:px-6 lg:px-8">
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.3.5",
6
+ "version": "0.3.6",
7
7
  "description": "Core design system engine for Coherent",
8
8
  "type": "module",
9
9
  "main": "./dist/index.js",