@pandacss/studio 0.3.1 → 0.3.2
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 +8 -8
- package/src/components/analyzer/data-combobox.tsx +47 -41
- package/src/components/analyzer/data-table.tsx +5 -9
- package/src/components/input.tsx +3 -3
- package/src/layouts/Sidebar.astro +2 -2
- package/styled-system/chunks/src__components__analyzer__data-combobox.css +48 -40
- package/styled-system/chunks/src__components__analyzer__data-table.css +8 -0
- package/styled-system/chunks/src__layouts__Sidebar.css +4 -4
- package/styled-system/css/css.d.ts +1 -0
- package/styled-system/css/cva.d.ts +1 -0
- package/styled-system/css/cx.d.ts +1 -0
- package/styled-system/css/index.d.ts +1 -0
- package/styled-system/jsx/aspect-ratio.d.ts +1 -0
- package/styled-system/jsx/box.d.ts +1 -0
- package/styled-system/jsx/center.d.ts +1 -0
- package/styled-system/jsx/circle.d.ts +1 -0
- package/styled-system/jsx/container.d.ts +1 -0
- package/styled-system/jsx/divider.d.ts +1 -0
- package/styled-system/jsx/factory.d.ts +1 -0
- package/styled-system/jsx/flex.d.ts +1 -0
- package/styled-system/jsx/float.d.ts +1 -0
- package/styled-system/jsx/grid-item.d.ts +1 -0
- package/styled-system/jsx/grid.d.ts +1 -0
- package/styled-system/jsx/hstack.d.ts +1 -0
- package/styled-system/jsx/index.d.ts +1 -0
- package/styled-system/jsx/link-box.d.ts +1 -0
- package/styled-system/jsx/link-overlay.d.ts +1 -0
- package/styled-system/jsx/spacer.d.ts +1 -0
- package/styled-system/jsx/square.d.ts +1 -0
- package/styled-system/jsx/stack.d.ts +1 -0
- package/styled-system/jsx/styled-link.d.ts +1 -0
- package/styled-system/jsx/vstack.d.ts +1 -0
- package/styled-system/jsx/wrap.d.ts +1 -0
- package/styled-system/patterns/aspect-ratio.d.ts +1 -0
- package/styled-system/patterns/box.d.ts +1 -0
- package/styled-system/patterns/center.d.ts +1 -0
- package/styled-system/patterns/circle.d.ts +1 -0
- package/styled-system/patterns/container.d.ts +1 -0
- package/styled-system/patterns/divider.d.ts +1 -0
- package/styled-system/patterns/flex.d.ts +1 -0
- package/styled-system/patterns/float.d.ts +1 -0
- package/styled-system/patterns/grid-item.d.ts +1 -0
- package/styled-system/patterns/grid.d.ts +1 -0
- package/styled-system/patterns/hstack.d.ts +1 -0
- package/styled-system/patterns/index.d.ts +1 -0
- package/styled-system/patterns/link-box.d.ts +1 -0
- package/styled-system/patterns/link-overlay.d.ts +1 -0
- package/styled-system/patterns/spacer.d.ts +1 -0
- package/styled-system/patterns/square.d.ts +1 -0
- package/styled-system/patterns/stack.d.ts +1 -0
- package/styled-system/patterns/styled-link.d.ts +1 -0
- package/styled-system/patterns/vstack.d.ts +1 -0
- package/styled-system/patterns/wrap.d.ts +1 -0
- package/styled-system/styles.css +36 -18
- package/styled-system/tokens/index.d.ts +1 -0
- package/styled-system/tokens/tokens.d.ts +1 -0
- package/styled-system/types/composition.d.ts +1 -0
- package/styled-system/types/conditions.d.ts +1 -0
- package/styled-system/types/csstype.d.ts +1 -0
- package/styled-system/types/global.d.ts +6 -5
- package/styled-system/types/helpers.d.ts +1 -0
- package/styled-system/types/index.d.ts +3 -2
- package/styled-system/types/jsx.d.ts +1 -0
- package/styled-system/types/parts.d.ts +1 -0
- package/styled-system/types/pattern.d.ts +1 -0
- package/styled-system/types/prop-type.d.ts +1 -0
- package/styled-system/types/recipe.d.ts +1 -0
- package/styled-system/types/selectors.d.ts +1 -0
- package/styled-system/types/style-props.d.ts +4 -3
- package/styled-system/types/system-types.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"react": "18.2.0",
|
|
33
33
|
"react-dom": "18.2.0",
|
|
34
34
|
"vite": "4.3.9",
|
|
35
|
-
"@pandacss/types": "0.3.
|
|
36
|
-
"@pandacss/config": "0.3.
|
|
37
|
-
"@pandacss/shared": "0.3.
|
|
38
|
-
"@pandacss/token-dictionary": "0.3.
|
|
39
|
-
"@pandacss/logger": "0.3.
|
|
40
|
-
"@pandacss/node": "0.3.
|
|
35
|
+
"@pandacss/types": "0.3.2",
|
|
36
|
+
"@pandacss/config": "0.3.2",
|
|
37
|
+
"@pandacss/shared": "0.3.2",
|
|
38
|
+
"@pandacss/token-dictionary": "0.3.2",
|
|
39
|
+
"@pandacss/logger": "0.3.2",
|
|
40
|
+
"@pandacss/node": "0.3.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/react": "18.2.12",
|
|
44
44
|
"@types/react-dom": "18.2.5",
|
|
45
45
|
"@vitejs/plugin-react": "4.0.0",
|
|
46
46
|
"execa": "7.1.1",
|
|
47
|
-
"@pandacss/dev": "0.3.
|
|
47
|
+
"@pandacss/dev": "0.3.2"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"codegen": "panda",
|
|
@@ -11,8 +11,9 @@ import {
|
|
|
11
11
|
} from '@ark-ui/react'
|
|
12
12
|
import { useEffect, useState } from 'react'
|
|
13
13
|
import { css } from '../../../styled-system/css'
|
|
14
|
-
import { panda } from '../../../styled-system/jsx'
|
|
15
|
-
import { ChevronDownIcon,
|
|
14
|
+
import { Flex, panda } from '../../../styled-system/jsx'
|
|
15
|
+
import { ChevronDownIcon, XMarkIcon } from '../icons'
|
|
16
|
+
import { inputRecipe } from '../input'
|
|
16
17
|
|
|
17
18
|
export type DataComboboxOption = {
|
|
18
19
|
value: string
|
|
@@ -45,28 +46,17 @@ export const DataCombobox = ({ options: allOptions, label, ...props }: DataCombo
|
|
|
45
46
|
return (
|
|
46
47
|
<>
|
|
47
48
|
<ComboboxControl>
|
|
48
|
-
<panda.div display="flex" flexDirection="column">
|
|
49
|
+
<panda.div display="flex" flexDirection="column" gap="2">
|
|
49
50
|
{label && (
|
|
50
51
|
<ComboboxLabel>
|
|
51
52
|
<panda.span fontWeight="bold">{label}</panda.span>
|
|
52
53
|
</ComboboxLabel>
|
|
53
54
|
)}
|
|
54
|
-
<panda.div
|
|
55
|
-
display="flex"
|
|
56
|
-
rounded="sm"
|
|
57
|
-
border="solid 1px"
|
|
58
|
-
borderColor={{ base: 'border', _focusWithin: { base: 'yellow.200', _dark: 'yellow.300' } }}
|
|
59
|
-
>
|
|
55
|
+
<panda.div display="flex" position="relative" isolation="isolate">
|
|
60
56
|
<ComboboxInput
|
|
61
57
|
defaultValue={props.defaultValue}
|
|
62
58
|
placeholder={props.placeholder ?? 'Search...'}
|
|
63
|
-
className={
|
|
64
|
-
width: 'full',
|
|
65
|
-
p: 2,
|
|
66
|
-
color: 'text',
|
|
67
|
-
bg: 'transparent',
|
|
68
|
-
_focus: { outline: 'none' },
|
|
69
|
-
})}
|
|
59
|
+
className={inputRecipe()}
|
|
70
60
|
onChange={(e) => {
|
|
71
61
|
const value = e.target.value
|
|
72
62
|
if (!value) {
|
|
@@ -79,31 +69,47 @@ export const DataCombobox = ({ options: allOptions, label, ...props }: DataCombo
|
|
|
79
69
|
setOptions(filterFn(value))
|
|
80
70
|
}}
|
|
81
71
|
/>
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
>
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
72
|
+
<Flex
|
|
73
|
+
top="0px"
|
|
74
|
+
right="0px"
|
|
75
|
+
align="center"
|
|
76
|
+
justify="center"
|
|
77
|
+
position="absolute"
|
|
78
|
+
zIndex="2"
|
|
79
|
+
height="full"
|
|
80
|
+
>
|
|
81
|
+
{state.selectedValue && (
|
|
82
|
+
<panda.span
|
|
83
|
+
display="flex"
|
|
84
|
+
px="2"
|
|
85
|
+
cursor="pointer"
|
|
86
|
+
userSelect="none"
|
|
87
|
+
onClick={() => state.clearValue()}
|
|
88
|
+
alignItems="center"
|
|
89
|
+
>
|
|
90
|
+
<XMarkIcon />
|
|
91
|
+
</panda.span>
|
|
92
|
+
)}
|
|
93
|
+
<ComboboxTrigger>
|
|
94
|
+
<panda.span
|
|
95
|
+
ml="auto"
|
|
96
|
+
p="2"
|
|
97
|
+
display="flex"
|
|
98
|
+
cursor="pointer"
|
|
99
|
+
borderLeft="solid 1px"
|
|
100
|
+
borderColor="border"
|
|
101
|
+
color="text"
|
|
102
|
+
>
|
|
103
|
+
<panda.span
|
|
104
|
+
data-expanded={state.isOpen ? '' : undefined}
|
|
105
|
+
transform={{ _expanded: 'rotate(180deg)' }}
|
|
106
|
+
transition="all .2s ease"
|
|
107
|
+
>
|
|
108
|
+
<ChevronDownIcon />
|
|
109
|
+
</panda.span>
|
|
110
|
+
</panda.span>
|
|
111
|
+
</ComboboxTrigger>
|
|
112
|
+
</Flex>
|
|
107
113
|
</panda.div>
|
|
108
114
|
</panda.div>
|
|
109
115
|
</ComboboxControl>
|
|
@@ -9,8 +9,7 @@ export function DataTable<T>({ list, columns }: { list: T[]; columns: ReadonlyAr
|
|
|
9
9
|
return (
|
|
10
10
|
<panda.div>
|
|
11
11
|
<Grid
|
|
12
|
-
|
|
13
|
-
// gridTemplateColumns="repeat(auto-fit, minmax(30px, 1fr))"
|
|
12
|
+
gridTemplateColumns="80px repeat(auto-fit, minmax(30px, 1fr))"
|
|
14
13
|
w="full"
|
|
15
14
|
fontWeight="bold"
|
|
16
15
|
fontSize="lg"
|
|
@@ -23,15 +22,12 @@ export function DataTable<T>({ list, columns }: { list: T[]; columns: ReadonlyAr
|
|
|
23
22
|
<panda.div className={flex({ direction: 'column', gap: '2' })}>
|
|
24
23
|
{list.map((item, index) => {
|
|
25
24
|
return (
|
|
26
|
-
<Grid
|
|
27
|
-
style={{ gridTemplateColumns: `80px repeat(auto-fit, minmax(30px, 1fr))` }}
|
|
28
|
-
// gridTemplateColumns="repeat(auto-fit, minmax(30px, 1fr))"
|
|
29
|
-
w="full"
|
|
30
|
-
key={index}
|
|
31
|
-
>
|
|
25
|
+
<Grid gridTemplateColumns="80px repeat(auto-fit, minmax(30px, 1fr))" w="full" key={index}>
|
|
32
26
|
{columns.map((column) => {
|
|
33
27
|
return (
|
|
34
|
-
<panda.div key={column.accessor}
|
|
28
|
+
<panda.div key={column.accessor} wordBreak="break-word">
|
|
29
|
+
{column.cell?.(item) ?? (item as any)[column.accessor]}
|
|
30
|
+
</panda.div>
|
|
35
31
|
)
|
|
36
32
|
})}
|
|
37
33
|
</Grid>
|
package/src/components/input.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cva } from '../../styled-system/css'
|
|
2
2
|
import { panda } from '../../styled-system/jsx'
|
|
3
3
|
|
|
4
|
-
const
|
|
4
|
+
export const inputRecipe = cva({
|
|
5
5
|
base: {
|
|
6
6
|
bg: 'transparent',
|
|
7
7
|
width: 'full',
|
|
@@ -22,6 +22,6 @@ const recipe = cva({
|
|
|
22
22
|
variants: {},
|
|
23
23
|
})
|
|
24
24
|
|
|
25
|
-
export const Input = panda('input',
|
|
25
|
+
export const Input = panda('input', inputRecipe)
|
|
26
26
|
|
|
27
|
-
export const Textarea = panda('textarea',
|
|
27
|
+
export const Textarea = panda('textarea', inputRecipe)
|
|
@@ -24,8 +24,8 @@ const { title } = Astro.props
|
|
|
24
24
|
<SideNav />
|
|
25
25
|
</Stack>
|
|
26
26
|
|
|
27
|
-
<Container width="full">
|
|
28
|
-
<panda.div
|
|
27
|
+
<Container width="full" overflow="auto">
|
|
28
|
+
<panda.div px="4" pt="14" pb="8">
|
|
29
29
|
<panda.h1 fontSize="3xl" fontWeight="semibold" mb="8" letterSpacing="tight">
|
|
30
30
|
{title}
|
|
31
31
|
</panda.h1>
|
|
@@ -3,21 +3,6 @@
|
|
|
3
3
|
margin: var(--spacing-4);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.w_full {
|
|
7
|
-
width: var(--sizes-full);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.bg_transparent {
|
|
11
|
-
background: var(--colors-transparent);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.focus\:ring_none {
|
|
15
|
-
&:where(:focus, [data-focus]) {
|
|
16
|
-
outline: 2px solid transparent;
|
|
17
|
-
outline-offset: 2px;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
6
|
.max-h_300px {
|
|
22
7
|
max-height: 300px;
|
|
23
8
|
}
|
|
@@ -64,27 +49,16 @@
|
|
|
64
49
|
flex-direction: column;
|
|
65
50
|
}
|
|
66
51
|
|
|
67
|
-
.
|
|
68
|
-
|
|
52
|
+
.gap_2 {
|
|
53
|
+
gap: var(--spacing-2);
|
|
69
54
|
}
|
|
70
55
|
|
|
71
|
-
.
|
|
72
|
-
|
|
56
|
+
.pos_relative {
|
|
57
|
+
position: relative;
|
|
73
58
|
}
|
|
74
59
|
|
|
75
|
-
.
|
|
76
|
-
|
|
77
|
-
border-color: var(--colors-yellow-200);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.focusWithin\:dark\:border_yellow\.300 {
|
|
82
|
-
&:focus-within {
|
|
83
|
-
&.dark,
|
|
84
|
-
.dark & {
|
|
85
|
-
border-color: var(--colors-yellow-300);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
60
|
+
.isolation_isolate {
|
|
61
|
+
isolation: isolate;
|
|
88
62
|
}
|
|
89
63
|
|
|
90
64
|
.font_bold {
|
|
@@ -99,10 +73,6 @@
|
|
|
99
73
|
user-select: none;
|
|
100
74
|
}
|
|
101
75
|
|
|
102
|
-
.items_center {
|
|
103
|
-
align-items: center;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
76
|
.ml_auto {
|
|
107
77
|
margin-left: auto;
|
|
108
78
|
}
|
|
@@ -111,10 +81,6 @@
|
|
|
111
81
|
padding: var(--spacing-2);
|
|
112
82
|
}
|
|
113
83
|
|
|
114
|
-
.d_flex {
|
|
115
|
-
display: flex;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
84
|
.cursor_pointer {
|
|
119
85
|
cursor: pointer;
|
|
120
86
|
}
|
|
@@ -130,4 +96,46 @@
|
|
|
130
96
|
.text_text {
|
|
131
97
|
color: var(--colors-text);
|
|
132
98
|
}
|
|
99
|
+
|
|
100
|
+
.expanded\:transform_rotate\(180deg\) {
|
|
101
|
+
&:where([aria-expanded='true'], [data-expanded]) {
|
|
102
|
+
transform: rotate(180deg);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.transition_all_\.2s_ease {
|
|
107
|
+
transition: all 0.2s ease;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.d_flex {
|
|
111
|
+
display: flex;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.items_center {
|
|
115
|
+
align-items: center;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.justify_center {
|
|
119
|
+
justify-content: center;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.top_0px {
|
|
123
|
+
top: 0px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.right_0px {
|
|
127
|
+
right: 0px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.pos_absolute {
|
|
131
|
+
position: absolute;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.z_2 {
|
|
135
|
+
z-index: 2;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.h_full {
|
|
139
|
+
height: var(--sizes-full);
|
|
140
|
+
}
|
|
133
141
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
@layer utilities {
|
|
2
|
+
.break_break-word {
|
|
3
|
+
word-break: break-word;
|
|
4
|
+
}
|
|
5
|
+
|
|
2
6
|
.font_bold {
|
|
3
7
|
font-weight: var(--font-weights-bold);
|
|
4
8
|
}
|
|
@@ -15,6 +19,10 @@
|
|
|
15
19
|
display: grid;
|
|
16
20
|
}
|
|
17
21
|
|
|
22
|
+
.grid-cols_80px_repeat\(auto-fit\,_minmax\(30px\,_1fr\)\) {
|
|
23
|
+
grid-template-columns: 80px repeat(auto-fit, minmax(30px, 1fr));
|
|
24
|
+
}
|
|
25
|
+
|
|
18
26
|
.gap_10px {
|
|
19
27
|
gap: 10px;
|
|
20
28
|
}
|
|
@@ -67,10 +67,6 @@
|
|
|
67
67
|
min-width: var(--sizes-60);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.overflow_auto {
|
|
71
|
-
overflow: auto;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
70
|
.px_12 {
|
|
75
71
|
padding-inline: var(--spacing-12);
|
|
76
72
|
}
|
|
@@ -99,6 +95,10 @@
|
|
|
99
95
|
width: var(--sizes-full);
|
|
100
96
|
}
|
|
101
97
|
|
|
98
|
+
.overflow_auto {
|
|
99
|
+
overflow: auto;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
102
|
.md\:px_6 {
|
|
103
103
|
@media screen and (min-width: 768px) {
|
|
104
104
|
padding-inline: var(--spacing-6);
|
package/styled-system/styles.css
CHANGED
|
@@ -39,14 +39,46 @@
|
|
|
39
39
|
background: var(--colors-border);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.
|
|
43
|
-
|
|
42
|
+
.isolation_isolate {
|
|
43
|
+
isolation: isolate;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.border-l_solid_1px {
|
|
47
47
|
border-left: solid 1px;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
.expanded\:transform_rotate\(180deg\):where([aria-expanded='true'], [data-expanded]) {
|
|
51
|
+
transform: rotate(180deg);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.transition_all_\.2s_ease {
|
|
55
|
+
transition: all 0.2s ease;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.top_0px {
|
|
59
|
+
top: 0px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.right_0px {
|
|
63
|
+
right: 0px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.pos_absolute {
|
|
67
|
+
position: absolute;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.z_2 {
|
|
71
|
+
z-index: 2;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.break_break-word {
|
|
75
|
+
word-break: break-word;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.grid-cols_80px_repeat\(auto-fit\,_minmax\(30px\,_1fr\)\) {
|
|
79
|
+
grid-template-columns: 80px repeat(auto-fit, minmax(30px, 1fr));
|
|
80
|
+
}
|
|
81
|
+
|
|
50
82
|
.max-w_14px {
|
|
51
83
|
max-width: 14px;
|
|
52
84
|
}
|
|
@@ -880,10 +912,6 @@
|
|
|
880
912
|
min-width: var(--sizes-60);
|
|
881
913
|
}
|
|
882
914
|
|
|
883
|
-
.overflow_auto {
|
|
884
|
-
overflow: auto;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
915
|
.px_12 {
|
|
888
916
|
padding-inline: var(--spacing-12);
|
|
889
917
|
}
|
|
@@ -912,13 +940,8 @@
|
|
|
912
940
|
width: var(--sizes-full);
|
|
913
941
|
}
|
|
914
942
|
|
|
915
|
-
.
|
|
916
|
-
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
.focusWithin\:dark\:border_yellow\.300:focus-within.dark,
|
|
920
|
-
.dark .focusWithin\:dark\:border_yellow\.300:focus-within {
|
|
921
|
-
border-color: var(--colors-yellow-300);
|
|
943
|
+
.overflow_auto {
|
|
944
|
+
overflow: auto;
|
|
922
945
|
}
|
|
923
946
|
|
|
924
947
|
.focusWithin\:outline-style_solid:focus-within {
|
|
@@ -937,11 +960,6 @@
|
|
|
937
960
|
outline-color: var(--colors-neutral-400);
|
|
938
961
|
}
|
|
939
962
|
|
|
940
|
-
.focus\:ring_none:where(:focus, [data-focus]) {
|
|
941
|
-
outline: 2px solid transparent;
|
|
942
|
-
outline-offset: 2px;
|
|
943
|
-
}
|
|
944
|
-
|
|
945
963
|
.hover\:bg_gray\.100:where(:hover, [data-hover]) {
|
|
946
964
|
background-color: var(--colors-gray-100);
|
|
947
965
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
export type Token = "easings.default" | "easings.linear" | "easings.in" | "easings.out" | "easings.in-out" | "durations.fastest" | "durations.faster" | "durations.fast" | "durations.normal" | "durations.slow" | "durations.slower" | "durations.slowest" | "radii.xs" | "radii.sm" | "radii.md" | "radii.lg" | "radii.xl" | "radii.2xl" | "radii.3xl" | "radii.full" | "fontWeights.thin" | "fontWeights.extralight" | "fontWeights.light" | "fontWeights.normal" | "fontWeights.medium" | "fontWeights.semibold" | "fontWeights.bold" | "fontWeights.extrabold" | "fontWeights.black" | "lineHeights.none" | "lineHeights.tight" | "lineHeights.snug" | "lineHeights.normal" | "lineHeights.relaxed" | "lineHeights.loose" | "fonts.sans" | "fonts.serif" | "fonts.mono" | "letterSpacings.tighter" | "letterSpacings.tight" | "letterSpacings.normal" | "letterSpacings.wide" | "letterSpacings.wider" | "letterSpacings.widest" | "fontSizes.2xs" | "fontSizes.xs" | "fontSizes.sm" | "fontSizes.md" | "fontSizes.lg" | "fontSizes.xl" | "fontSizes.2xl" | "fontSizes.3xl" | "fontSizes.4xl" | "fontSizes.5xl" | "fontSizes.6xl" | "fontSizes.7xl" | "fontSizes.8xl" | "fontSizes.9xl" | "shadows.xs" | "shadows.sm" | "shadows.md" | "shadows.lg" | "shadows.xl" | "shadows.2xl" | "shadows.inner" | "blurs.sm" | "blurs.base" | "blurs.md" | "blurs.lg" | "blurs.xl" | "blurs.2xl" | "blurs.3xl" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.9" | "spacing.10" | "spacing.11" | "spacing.12" | "spacing.14" | "spacing.16" | "spacing.20" | "spacing.24" | "spacing.28" | "spacing.32" | "spacing.36" | "spacing.40" | "spacing.44" | "spacing.48" | "spacing.52" | "spacing.56" | "spacing.60" | "spacing.64" | "spacing.72" | "spacing.80" | "spacing.96" | "spacing.0.5" | "spacing.1.5" | "spacing.2.5" | "spacing.3.5" | "sizes.1" | "sizes.2" | "sizes.3" | "sizes.4" | "sizes.5" | "sizes.6" | "sizes.7" | "sizes.8" | "sizes.9" | "sizes.10" | "sizes.11" | "sizes.12" | "sizes.14" | "sizes.16" | "sizes.20" | "sizes.24" | "sizes.28" | "sizes.32" | "sizes.36" | "sizes.40" | "sizes.44" | "sizes.48" | "sizes.52" | "sizes.56" | "sizes.60" | "sizes.64" | "sizes.72" | "sizes.80" | "sizes.96" | "sizes.0.5" | "sizes.1.5" | "sizes.2.5" | "sizes.3.5" | "sizes.xs" | "sizes.sm" | "sizes.md" | "sizes.lg" | "sizes.xl" | "sizes.2xl" | "sizes.3xl" | "sizes.4xl" | "sizes.5xl" | "sizes.6xl" | "sizes.7xl" | "sizes.8xl" | "sizes.prose" | "sizes.full" | "sizes.min" | "sizes.max" | "sizes.fit" | "sizes.breakpoint-sm" | "sizes.breakpoint-md" | "sizes.breakpoint-lg" | "sizes.breakpoint-xl" | "sizes.breakpoint-2xl" | "animations.spin" | "animations.ping" | "animations.pulse" | "animations.bounce" | "colors.current" | "colors.black" | "colors.white" | "colors.transparent" | "colors.rose.50" | "colors.rose.100" | "colors.rose.200" | "colors.rose.300" | "colors.rose.400" | "colors.rose.500" | "colors.rose.600" | "colors.rose.700" | "colors.rose.800" | "colors.rose.900" | "colors.pink.50" | "colors.pink.100" | "colors.pink.200" | "colors.pink.300" | "colors.pink.400" | "colors.pink.500" | "colors.pink.600" | "colors.pink.700" | "colors.pink.800" | "colors.pink.900" | "colors.fuchsia.50" | "colors.fuchsia.100" | "colors.fuchsia.200" | "colors.fuchsia.300" | "colors.fuchsia.400" | "colors.fuchsia.500" | "colors.fuchsia.600" | "colors.fuchsia.700" | "colors.fuchsia.800" | "colors.fuchsia.900" | "colors.purple.50" | "colors.purple.100" | "colors.purple.200" | "colors.purple.300" | "colors.purple.400" | "colors.purple.500" | "colors.purple.600" | "colors.purple.700" | "colors.purple.800" | "colors.purple.900" | "colors.indigo.50" | "colors.indigo.100" | "colors.indigo.200" | "colors.indigo.300" | "colors.indigo.400" | "colors.indigo.500" | "colors.indigo.600" | "colors.indigo.700" | "colors.indigo.800" | "colors.indigo.900" | "colors.blue.50" | "colors.blue.100" | "colors.blue.200" | "colors.blue.300" | "colors.blue.400" | "colors.blue.500" | "colors.blue.600" | "colors.blue.700" | "colors.blue.800" | "colors.blue.900" | "colors.sky.50" | "colors.sky.100" | "colors.sky.200" | "colors.sky.300" | "colors.sky.400" | "colors.sky.500" | "colors.sky.600" | "colors.sky.700" | "colors.sky.800" | "colors.sky.900" | "colors.cyan.50" | "colors.cyan.100" | "colors.cyan.200" | "colors.cyan.300" | "colors.cyan.400" | "colors.cyan.500" | "colors.cyan.600" | "colors.cyan.700" | "colors.cyan.800" | "colors.cyan.900" | "colors.teal.50" | "colors.teal.100" | "colors.teal.200" | "colors.teal.300" | "colors.teal.400" | "colors.teal.500" | "colors.teal.600" | "colors.teal.700" | "colors.teal.800" | "colors.teal.900" | "colors.green.50" | "colors.green.100" | "colors.green.200" | "colors.green.300" | "colors.green.400" | "colors.green.500" | "colors.green.600" | "colors.green.700" | "colors.green.800" | "colors.green.900" | "colors.lime.50" | "colors.lime.100" | "colors.lime.200" | "colors.lime.300" | "colors.lime.400" | "colors.lime.500" | "colors.lime.600" | "colors.lime.700" | "colors.lime.800" | "colors.lime.900" | "colors.yellow.50" | "colors.yellow.100" | "colors.yellow.200" | "colors.yellow.300" | "colors.yellow.400" | "colors.yellow.500" | "colors.yellow.600" | "colors.yellow.700" | "colors.yellow.800" | "colors.yellow.900" | "colors.orange.50" | "colors.orange.100" | "colors.orange.200" | "colors.orange.300" | "colors.orange.400" | "colors.orange.500" | "colors.orange.600" | "colors.orange.700" | "colors.orange.800" | "colors.orange.900" | "colors.red.50" | "colors.red.100" | "colors.red.200" | "colors.red.300" | "colors.red.400" | "colors.red.500" | "colors.red.600" | "colors.red.700" | "colors.red.800" | "colors.red.900" | "colors.gray.50" | "colors.gray.100" | "colors.gray.200" | "colors.gray.300" | "colors.gray.400" | "colors.gray.500" | "colors.gray.600" | "colors.gray.700" | "colors.gray.800" | "colors.gray.900" | "colors.slate.50" | "colors.slate.100" | "colors.slate.200" | "colors.slate.300" | "colors.slate.400" | "colors.slate.500" | "colors.slate.600" | "colors.slate.700" | "colors.slate.800" | "colors.slate.900" | "colors.neutral.50" | "colors.neutral.100" | "colors.neutral.200" | "colors.neutral.300" | "colors.neutral.400" | "colors.neutral.500" | "colors.neutral.600" | "colors.neutral.700" | "colors.neutral.800" | "colors.neutral.900" | "colors.neutral.950" | "assets.check" | "breakpoints.sm" | "breakpoints.md" | "breakpoints.lg" | "breakpoints.xl" | "breakpoints.2xl" | "shadows.inset" | "colors.text" | "colors.bg" | "colors.card" | "colors.border" | "spacing.-1" | "spacing.-2" | "spacing.-3" | "spacing.-4" | "spacing.-5" | "spacing.-6" | "spacing.-7" | "spacing.-8" | "spacing.-9" | "spacing.-10" | "spacing.-11" | "spacing.-12" | "spacing.-14" | "spacing.-16" | "spacing.-20" | "spacing.-24" | "spacing.-28" | "spacing.-32" | "spacing.-36" | "spacing.-40" | "spacing.-44" | "spacing.-48" | "spacing.-52" | "spacing.-56" | "spacing.-60" | "spacing.-64" | "spacing.-72" | "spacing.-80" | "spacing.-96" | "spacing.-0.5" | "spacing.-1.5" | "spacing.-2.5" | "spacing.-3.5" | "colors.colorPalette.50" | "colors.colorPalette.100" | "colors.colorPalette.200" | "colors.colorPalette.300" | "colors.colorPalette.400" | "colors.colorPalette.500" | "colors.colorPalette.600" | "colors.colorPalette.700" | "colors.colorPalette.800" | "colors.colorPalette.900" | "colors.colorPalette.950"
|
|
2
3
|
|
|
3
4
|
export type ColorPalette = "rose" | "pink" | "fuchsia" | "purple" | "indigo" | "blue" | "sky" | "cyan" | "teal" | "green" | "lime" | "yellow" | "orange" | "red" | "gray" | "slate" | "neutral"
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { RecipeVariantRecord, RecipeConfig } from './recipe'
|
|
3
|
+
import type { Parts } from './parts'
|
|
4
|
+
import type { PatternConfig } from './pattern'
|
|
5
|
+
import type { GlobalStyleObject, SystemStyleObject } from './system-types'
|
|
6
|
+
import type { CompositionStyles } from './composition'
|
|
6
7
|
|
|
7
8
|
declare module '@pandacss/dev' {
|
|
8
9
|
export function defineRecipe<V extends RecipeVariantRecord>(config: RecipeConfig<V>): RecipeConfig
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
import './global'
|
|
2
|
-
export { ConditionalValue } from './conditions'
|
|
3
|
-
export { GlobalStyleObject, JsxStyleProps, SystemStyleObject } from './system-types'
|
|
3
|
+
export type { ConditionalValue } from './conditions'
|
|
4
|
+
export type { GlobalStyleObject, JsxStyleProps, SystemStyleObject } from './system-types'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from './conditions'
|
|
3
|
+
import type { PropertyValue } from './prop-type'
|
|
4
|
+
import type { Token } from '../tokens'
|
|
4
5
|
|
|
5
6
|
export type CssVarProperties = {
|
|
6
7
|
[key in `--${string}`]?: ConditionalValue<Token | (string & {}) | (number & {})>
|