@pandacss/studio 0.3.1 → 0.4.0
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/..__core____tests____atomic-rule.test.css +363 -0
- 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/css.mjs +8 -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/global.css +1 -1
- 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/is-valid-prop.mjs +18 -2
- 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/aspect-ratio.mjs +18 -8
- 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/divider.mjs +1 -1
- 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 +295 -16
- package/styled-system/tokens/index.css +3 -0
- package/styled-system/tokens/index.d.ts +1 -0
- package/styled-system/tokens/index.mjs +12 -0
- package/styled-system/tokens/tokens.d.ts +7 -3
- 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 +26 -25
- package/styled-system/types/recipe.d.ts +1 -0
- package/styled-system/types/selectors.d.ts +4 -1
- package/styled-system/types/style-props.d.ts +12 -4
- package/styled-system/types/system-types.d.ts +1 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
import type { ConditionalValue } from './conditions';
|
|
2
3
|
import type { CssProperties } from './system-types'
|
|
3
4
|
import type { Tokens } from '../tokens'
|
|
4
5
|
|
|
5
6
|
type PropertyValueTypes = {
|
|
6
|
-
aspectRatio: "square" | "landscape" | "portrait" | "wide" | "ultrawide" | "golden";
|
|
7
|
+
aspectRatio: "auto" | "square" | "landscape" | "portrait" | "wide" | "ultrawide" | "golden";
|
|
7
8
|
top: Tokens["spacing"];
|
|
8
9
|
left: Tokens["spacing"];
|
|
9
10
|
insetInline: Tokens["spacing"];
|
|
10
11
|
insetBlock: Tokens["spacing"];
|
|
11
|
-
inset: Tokens["spacing"];
|
|
12
|
+
inset: "auto" | Tokens["spacing"];
|
|
12
13
|
insetBlockEnd: Tokens["spacing"];
|
|
13
14
|
insetBlockStart: Tokens["spacing"];
|
|
14
15
|
insetInlineEnd: Tokens["spacing"];
|
|
@@ -45,17 +46,17 @@ type PropertyValueTypes = {
|
|
|
45
46
|
paddingInline: Tokens["spacing"];
|
|
46
47
|
paddingInlineEnd: Tokens["spacing"];
|
|
47
48
|
paddingInlineStart: Tokens["spacing"];
|
|
48
|
-
marginLeft: Tokens["spacing"];
|
|
49
|
-
marginRight: Tokens["spacing"];
|
|
50
|
-
marginTop: Tokens["spacing"];
|
|
51
|
-
marginBottom: Tokens["spacing"];
|
|
52
|
-
margin: Tokens["spacing"];
|
|
53
|
-
marginBlock: Tokens["spacing"];
|
|
54
|
-
marginBlockEnd: Tokens["spacing"];
|
|
55
|
-
marginBlockStart: Tokens["spacing"];
|
|
56
|
-
marginInline: Tokens["spacing"];
|
|
57
|
-
marginInlineEnd: Tokens["spacing"];
|
|
58
|
-
marginInlineStart: Tokens["spacing"];
|
|
49
|
+
marginLeft: "auto" | Tokens["spacing"];
|
|
50
|
+
marginRight: "auto" | Tokens["spacing"];
|
|
51
|
+
marginTop: "auto" | Tokens["spacing"];
|
|
52
|
+
marginBottom: "auto" | Tokens["spacing"];
|
|
53
|
+
margin: "auto" | Tokens["spacing"];
|
|
54
|
+
marginBlock: "auto" | Tokens["spacing"];
|
|
55
|
+
marginBlockEnd: "auto" | Tokens["spacing"];
|
|
56
|
+
marginBlockStart: "auto" | Tokens["spacing"];
|
|
57
|
+
marginInline: "auto" | Tokens["spacing"];
|
|
58
|
+
marginInlineEnd: "auto" | Tokens["spacing"];
|
|
59
|
+
marginInlineStart: "auto" | Tokens["spacing"];
|
|
59
60
|
outlineColor: Tokens["colors"];
|
|
60
61
|
outline: Tokens["borders"];
|
|
61
62
|
outlineOffset: Tokens["spacing"];
|
|
@@ -63,18 +64,18 @@ type PropertyValueTypes = {
|
|
|
63
64
|
divideY: string;
|
|
64
65
|
divideColor: Tokens["colors"];
|
|
65
66
|
divideStyle: CssProperties["borderStyle"];
|
|
66
|
-
width: Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
67
|
-
inlineSize: Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
68
|
-
minWidth: Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
69
|
-
minInlineSize: Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
70
|
-
maxWidth: Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
71
|
-
maxInlineSize: Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
72
|
-
height: Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
73
|
-
blockSize: Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
74
|
-
minHeight: Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
75
|
-
minBlockSize: Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
76
|
-
maxHeight: Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
77
|
-
maxBlockSize: Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
67
|
+
width: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
68
|
+
inlineSize: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
69
|
+
minWidth: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
70
|
+
minInlineSize: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
71
|
+
maxWidth: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
72
|
+
maxInlineSize: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
73
|
+
height: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
74
|
+
blockSize: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
75
|
+
minHeight: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
76
|
+
minBlockSize: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
77
|
+
maxHeight: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
78
|
+
maxBlockSize: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
78
79
|
color: Tokens["colors"];
|
|
79
80
|
fontFamily: Tokens["fonts"];
|
|
80
81
|
fontSize: Tokens["fontSizes"];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
1
2
|
import type { Pseudos } from './csstype'
|
|
2
3
|
|
|
3
4
|
type AriaAttributes =
|
|
@@ -52,5 +53,7 @@ type DataAttributes =
|
|
|
52
53
|
type AttributeSelector = `&${Pseudos | DataAttributes | AriaAttributes}`
|
|
53
54
|
type ParentSelector = `${DataAttributes | AriaAttributes} &`
|
|
54
55
|
|
|
55
|
-
|
|
56
|
+
type AtRuleType = 'media' | 'layer' | 'container' | 'supports' | 'page'
|
|
57
|
+
|
|
58
|
+
export type AnySelector = `${string}&` | `&${string}` | `@${AtRuleType}${string}`
|
|
56
59
|
export type Selectors = AttributeSelector | ParentSelector
|
|
@@ -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 & {})>
|
|
@@ -226,7 +227,6 @@ export type SystemProperties = {
|
|
|
226
227
|
clip?: PropertyValue<'clip'>
|
|
227
228
|
clipPath?: PropertyValue<'clipPath'>
|
|
228
229
|
color?: PropertyValue<'color'>
|
|
229
|
-
printColorAdjust?: PropertyValue<'printColorAdjust'>
|
|
230
230
|
colorScheme?: PropertyValue<'colorScheme'>
|
|
231
231
|
columnCount?: PropertyValue<'columnCount'>
|
|
232
232
|
columnFill?: PropertyValue<'columnFill'>
|
|
@@ -244,6 +244,9 @@ export type SystemProperties = {
|
|
|
244
244
|
containIntrinsicHeight?: PropertyValue<'containIntrinsicHeight'>
|
|
245
245
|
containIntrinsicInlineSize?: PropertyValue<'containIntrinsicInlineSize'>
|
|
246
246
|
containIntrinsicWidth?: PropertyValue<'containIntrinsicWidth'>
|
|
247
|
+
container?: PropertyValue<'container'>
|
|
248
|
+
containerName?: PropertyValue<'containerName'>
|
|
249
|
+
containerType?: PropertyValue<'containerType'>
|
|
247
250
|
content?: PropertyValue<'content'>
|
|
248
251
|
contentVisibility?: PropertyValue<'contentVisibility'>
|
|
249
252
|
counterIncrement?: PropertyValue<'counterIncrement'>
|
|
@@ -268,6 +271,7 @@ export type SystemProperties = {
|
|
|
268
271
|
fontKerning?: PropertyValue<'fontKerning'>
|
|
269
272
|
fontLanguageOverride?: PropertyValue<'fontLanguageOverride'>
|
|
270
273
|
fontOpticalSizing?: PropertyValue<'fontOpticalSizing'>
|
|
274
|
+
fontPalette?: PropertyValue<'fontPalette'>
|
|
271
275
|
fontVariationSettings?: PropertyValue<'fontVariationSettings'>
|
|
272
276
|
fontSize?: PropertyValue<'fontSize'>
|
|
273
277
|
fontSizeAdjust?: PropertyValue<'fontSizeAdjust'>
|
|
@@ -279,6 +283,7 @@ export type SystemProperties = {
|
|
|
279
283
|
fontVariantAlternates?: PropertyValue<'fontVariantAlternates'>
|
|
280
284
|
fontVariantCaps?: PropertyValue<'fontVariantCaps'>
|
|
281
285
|
fontVariantEastAsian?: PropertyValue<'fontVariantEastAsian'>
|
|
286
|
+
fontVariantEmoji?: PropertyValue<'fontVariantEmoji'>
|
|
282
287
|
fontVariantLigatures?: PropertyValue<'fontVariantLigatures'>
|
|
283
288
|
fontVariantNumeric?: PropertyValue<'fontVariantNumeric'>
|
|
284
289
|
fontVariantPosition?: PropertyValue<'fontVariantPosition'>
|
|
@@ -422,6 +427,7 @@ export type SystemProperties = {
|
|
|
422
427
|
paddingLeft?: PropertyValue<'paddingLeft'>
|
|
423
428
|
paddingRight?: PropertyValue<'paddingRight'>
|
|
424
429
|
paddingTop?: PropertyValue<'paddingTop'>
|
|
430
|
+
page?: PropertyValue<'page'>
|
|
425
431
|
pageBreakAfter?: PropertyValue<'pageBreakAfter'>
|
|
426
432
|
pageBreakBefore?: PropertyValue<'pageBreakBefore'>
|
|
427
433
|
pageBreakInside?: PropertyValue<'pageBreakInside'>
|
|
@@ -433,6 +439,7 @@ export type SystemProperties = {
|
|
|
433
439
|
placeSelf?: PropertyValue<'placeSelf'>
|
|
434
440
|
pointerEvents?: PropertyValue<'pointerEvents'>
|
|
435
441
|
position?: PropertyValue<'position'>
|
|
442
|
+
printColorAdjust?: PropertyValue<'printColorAdjust'>
|
|
436
443
|
quotes?: PropertyValue<'quotes'>
|
|
437
444
|
resize?: PropertyValue<'resize'>
|
|
438
445
|
right?: PropertyValue<'right'>
|
|
@@ -524,6 +531,7 @@ export type SystemProperties = {
|
|
|
524
531
|
unicodeBidi?: PropertyValue<'unicodeBidi'>
|
|
525
532
|
userSelect?: PropertyValue<'userSelect'>
|
|
526
533
|
verticalAlign?: PropertyValue<'verticalAlign'>
|
|
534
|
+
viewTransitionName?: PropertyValue<'viewTransitionName'>
|
|
527
535
|
visibility?: PropertyValue<'visibility'>
|
|
528
536
|
whiteSpace?: PropertyValue<'whiteSpace'>
|
|
529
537
|
widows?: PropertyValue<'widows'>
|