@pandacss/studio 0.0.0-dev-20230928112800 → 0.0.0-dev-20230928113341

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.0.0-dev-20230928112800",
3
+ "version": "0.0.0-dev-20230928113341",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -33,19 +33,19 @@
33
33
  "react": "18.2.0",
34
34
  "react-dom": "18.2.0",
35
35
  "vite": "4.4.9",
36
- "@pandacss/config": "0.0.0-dev-20230928112800",
37
- "@pandacss/logger": "0.0.0-dev-20230928112800",
38
- "@pandacss/node": "0.0.0-dev-20230928112800",
39
- "@pandacss/shared": "0.0.0-dev-20230928112800",
40
- "@pandacss/token-dictionary": "0.0.0-dev-20230928112800",
41
- "@pandacss/types": "0.0.0-dev-20230928112800"
36
+ "@pandacss/config": "0.0.0-dev-20230928113341",
37
+ "@pandacss/logger": "0.0.0-dev-20230928113341",
38
+ "@pandacss/node": "0.0.0-dev-20230928113341",
39
+ "@pandacss/shared": "0.0.0-dev-20230928113341",
40
+ "@pandacss/token-dictionary": "0.0.0-dev-20230928113341",
41
+ "@pandacss/types": "0.0.0-dev-20230928113341"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "18.2.22",
45
45
  "@types/react-dom": "18.2.7",
46
46
  "@vitejs/plugin-react": "4.0.4",
47
47
  "execa": "7.2.0",
48
- "@pandacss/dev": "0.0.0-dev-20230928112800"
48
+ "@pandacss/dev": "0.0.0-dev-20230928113341"
49
49
  },
50
50
  "scripts": {
51
51
  "codegen": "panda",
@@ -47,22 +47,6 @@
47
47
  flex: 1 1 0%
48
48
  }
49
49
 
50
- .w_auto {
51
- width: auto
52
- }
53
-
54
- .min-w_80px {
55
- min-width: 80px
56
- }
57
-
58
- .h_40px {
59
- height: 40px
60
- }
61
-
62
- .mb_2 {
63
- margin-bottom: var(--spacing-2)
64
- }
65
-
66
50
  .h_10 {
67
51
  height: var(--sizes-10)
68
52
  }
@@ -1,37 +0,0 @@
1
- import type { PropsWithChildren } from 'react'
2
- import { panda } from '../../styled-system/jsx'
3
- import type { JsxStyleProps } from '../../styled-system/types'
4
- import { tokenDictionary } from '../lib/analysis-data'
5
- import { getReportItemFromTokenName, getUtilityLink } from '../lib/get-report-item'
6
- import { ColorWrapper } from './color-wrapper'
7
-
8
- export const ColorItem = ({
9
- tokenName,
10
- children,
11
- ...props
12
- }: PropsWithChildren<{ tokenName: string } & JsxStyleProps>) => {
13
- const token = tokenDictionary.getByName('colors.' + tokenName)
14
- const value = token?.value ?? tokenName
15
- const reportItem = getReportItemFromTokenName(tokenName)
16
-
17
- if (!reportItem) return null
18
-
19
- return (
20
- <panda.a href={getUtilityLink({ value: reportItem.value })} key={tokenName} {...props}>
21
- <ColorWrapper
22
- w="auto"
23
- minW="80px"
24
- h="40px"
25
- mb="2"
26
- style={{ background: value, border: '1px solid rgba(0,0,0,0.1)' }}
27
- />
28
- {children}
29
-
30
- {tokenName !== value && (
31
- <panda.div opacity={0.7}>
32
- <panda.span>{value}</panda.span>
33
- </panda.div>
34
- )}
35
- </panda.a>
36
- )
37
- }
@@ -1,21 +0,0 @@
1
- @layer utilities {
2
- .w_auto {
3
- width: auto
4
- }
5
-
6
- .min-w_80px {
7
- min-width: 80px
8
- }
9
-
10
- .h_40px {
11
- height: 40px
12
- }
13
-
14
- .mb_2 {
15
- margin-bottom: var(--spacing-2)
16
- }
17
-
18
- .opacity_0\.7 {
19
- opacity: 0.7
20
- }
21
- }