@pandacss/studio 0.0.0-dev-20240123232500 → 0.0.0-dev-20240124004908
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/package.json +7 -7
- package/src/icons/logo.tsx +3 -0
- package/src/layouts/Sidebar.astro +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20240124004908",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"react": "18.2.0",
|
|
49
49
|
"react-dom": "18.2.0",
|
|
50
50
|
"vite": "5.0.12",
|
|
51
|
-
"@pandacss/config": "0.0.0-dev-
|
|
52
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
53
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
54
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
55
|
-
"@pandacss/types": "0.0.0-dev-
|
|
56
|
-
"@pandacss/astro-plugin-studio": "0.0.0-dev-
|
|
51
|
+
"@pandacss/config": "0.0.0-dev-20240124004908",
|
|
52
|
+
"@pandacss/logger": "0.0.0-dev-20240124004908",
|
|
53
|
+
"@pandacss/shared": "0.0.0-dev-20240124004908",
|
|
54
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20240124004908",
|
|
55
|
+
"@pandacss/types": "0.0.0-dev-20240124004908",
|
|
56
|
+
"@pandacss/astro-plugin-studio": "0.0.0-dev-20240124004908"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/react": "18.2.42",
|
package/src/icons/logo.tsx
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
|
+
import { logo } from '../lib/panda-context'
|
|
2
3
|
|
|
3
4
|
export function Logo(props: React.ComponentProps<'svg'>) {
|
|
5
|
+
if (logo) return <img src={logo} width="16" alt="logo" />
|
|
6
|
+
|
|
4
7
|
return (
|
|
5
8
|
<svg width="124" height="34" viewBox="0 0 124 34" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
|
6
9
|
<path
|
|
@@ -4,7 +4,6 @@ import '../../styled-system/styles.css'
|
|
|
4
4
|
import SideNav from '../components/side-nav.astro'
|
|
5
5
|
import ThemeToggle from '../components/theme-toggle.astro'
|
|
6
6
|
import { Logo } from '../icons/logo'
|
|
7
|
-
import * as context from '../lib/panda-context'
|
|
8
7
|
|
|
9
8
|
interface Props {
|
|
10
9
|
title: string
|
|
@@ -16,7 +15,7 @@ const { title } = Astro.props
|
|
|
16
15
|
<panda.main display="flex" height="calc(100vh - env(safe-area-inset-bottom))">
|
|
17
16
|
<Stack height="full" minW="60" overflow="auto" px="12" py="8">
|
|
18
17
|
<panda.a aria-label="Token documentation" fontWeight="bold" fontSize="2xl" href="/" display="flex" gap="2">
|
|
19
|
-
|
|
18
|
+
<Logo />
|
|
20
19
|
</panda.a>
|
|
21
20
|
<panda.div mt="4">
|
|
22
21
|
<ThemeToggle />
|