@pandacss/studio 0.15.1 → 0.15.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/astro.config.mjs +1 -1
- package/dist/studio.d.mts +3 -2
- package/dist/studio.d.ts +3 -2
- package/dist/studio.js +10 -4
- package/dist/studio.mjs +10 -4
- package/package.json +8 -8
- package/src/lib/panda.context.ts +3 -5
- package/src/lib/virtual-panda.d.ts +3 -0
- package/styled-system/chunks/src__components__analyzer__category-utilities.css +61 -168
- package/styled-system/chunks/src__components__analyzer__data-combobox.css +69 -114
- package/styled-system/chunks/src__components__analyzer__data-table.css +24 -23
- package/styled-system/chunks/src__components__analyzer__file-details.css +53 -112
- package/styled-system/chunks/src__components__analyzer__report-item-columns.css +20 -19
- package/styled-system/chunks/src__components__analyzer__report-item-link.css +39 -222
- package/styled-system/chunks/src__components__analyzer__section.css +16 -15
- package/styled-system/chunks/src__components__analyzer__text-with-count.css +18 -17
- package/styled-system/chunks/src__components__analyzer__truncated-text.css +10 -9
- package/styled-system/chunks/src__components__analyzer__utility-details.css +71 -178
- package/styled-system/chunks/src__components__color-constrast.css +54 -61
- package/styled-system/chunks/src__components__color-item.css +12 -11
- package/styled-system/chunks/src__components__color-wrapper.css +37 -196
- package/styled-system/chunks/src__components__colors.css +54 -53
- package/styled-system/chunks/src__components__empty-state.css +24 -23
- package/styled-system/chunks/src__components__font-family.css +44 -43
- package/styled-system/chunks/src__components__font-tokens.css +32 -31
- package/styled-system/chunks/src__components__input.css +34 -137
- package/styled-system/chunks/src__components__layer-styles.css +34 -76
- package/styled-system/chunks/src__components__nav-item.css +37 -161
- package/styled-system/chunks/src__components__overview.css +63 -102
- package/styled-system/chunks/src__components__radii.css +26 -25
- package/styled-system/chunks/src__components__semantic-color.css +34 -33
- package/styled-system/chunks/src__components__side-nav-item.css +17 -56
- package/styled-system/chunks/src__components__side-nav.css +26 -25
- package/styled-system/chunks/src__components__sizes.css +22 -21
- package/styled-system/chunks/src__components__text-styles.css +16 -15
- package/styled-system/chunks/src__components__theme-toggle.css +28 -47
- package/styled-system/chunks/src__components__token-analyzer.css +114 -379
- package/styled-system/chunks/src__components__token-content.css +8 -7
- package/styled-system/chunks/src__components__token-group.css +12 -11
- package/styled-system/chunks/src__components__typography-playground.css +32 -31
- package/styled-system/chunks/src__layouts__Sidebar.css +59 -94
- package/styled-system/jsx/aspect-ratio.d.ts +1 -1
- package/styled-system/jsx/bleed.d.ts +1 -1
- package/styled-system/jsx/box.d.ts +1 -1
- package/styled-system/jsx/center.d.ts +1 -1
- package/styled-system/jsx/circle.d.ts +1 -1
- package/styled-system/jsx/container.d.ts +1 -1
- package/styled-system/jsx/divider.d.ts +1 -1
- package/styled-system/jsx/flex.d.ts +1 -1
- package/styled-system/jsx/float.d.ts +1 -1
- package/styled-system/jsx/grid-item.d.ts +1 -1
- package/styled-system/jsx/grid.d.ts +1 -1
- package/styled-system/jsx/hstack.d.ts +1 -1
- package/styled-system/jsx/link-box.d.ts +1 -1
- package/styled-system/jsx/link-overlay.d.ts +1 -1
- package/styled-system/jsx/spacer.d.ts +1 -1
- package/styled-system/jsx/square.d.ts +1 -1
- package/styled-system/jsx/stack.d.ts +1 -1
- package/styled-system/jsx/styled-link.d.ts +1 -1
- package/styled-system/jsx/visually-hidden.d.ts +1 -1
- package/styled-system/jsx/vstack.d.ts +1 -1
- package/styled-system/jsx/wrap.d.ts +1 -1
- package/styled-system/patterns/aspect-ratio.d.ts +2 -2
- package/styled-system/patterns/bleed.d.ts +2 -2
- package/styled-system/patterns/box.d.ts +2 -2
- package/styled-system/patterns/center.d.ts +2 -2
- package/styled-system/patterns/circle.d.ts +2 -2
- package/styled-system/patterns/container.d.ts +2 -2
- package/styled-system/patterns/divider.d.ts +2 -2
- package/styled-system/patterns/flex.d.ts +2 -2
- package/styled-system/patterns/float.d.ts +2 -2
- package/styled-system/patterns/grid-item.d.ts +2 -2
- package/styled-system/patterns/grid.d.ts +2 -2
- package/styled-system/patterns/hstack.d.ts +2 -2
- package/styled-system/patterns/link-box.d.ts +2 -2
- package/styled-system/patterns/link-overlay.d.ts +2 -2
- package/styled-system/patterns/spacer.d.ts +2 -2
- package/styled-system/patterns/square.d.ts +2 -2
- package/styled-system/patterns/stack.d.ts +2 -2
- package/styled-system/patterns/styled-link.d.ts +2 -2
- package/styled-system/patterns/visually-hidden.d.ts +2 -2
- package/styled-system/patterns/vstack.d.ts +2 -2
- package/styled-system/patterns/wrap.d.ts +2 -2
- package/styled-system/styles.css +507 -516
- package/styled-system/tokens/index.css +8 -8
- package/styled-system/types/composition.d.ts +3 -3
- package/styled-system/types/conditions.d.ts +227 -114
- package/styled-system/types/global.d.ts +7 -7
- package/styled-system/types/index.d.ts +6 -4
- package/styled-system/types/jsx.d.ts +3 -3
- package/styled-system/types/parts.d.ts +1 -1
- package/styled-system/types/pattern.d.ts +2 -2
- package/styled-system/types/prop-type.d.ts +2 -2
- package/styled-system/types/recipe.d.ts +9 -6
- package/styled-system/types/style-props.d.ts +1 -1
- package/styled-system/types/system-types.d.ts +12 -6
- package/{virtual-panda.mjs → virtual-panda.ts} +24 -28
|
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface CircleProperties {
|
|
9
9
|
size?: PropertyValue<'width'>
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface CircleStyles extends CircleProperties, DistributiveOmit<SystemStyleObject, keyof CircleProperties > {}
|
|
14
14
|
|
|
15
15
|
interface CirclePatternFn {
|
|
16
16
|
(styles?: CircleStyles): string
|
|
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface ContainerProperties {
|
|
9
9
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface ContainerStyles extends ContainerProperties, DistributiveOmit<SystemStyleObject, keyof ContainerProperties > {}
|
|
14
14
|
|
|
15
15
|
interface ContainerPatternFn {
|
|
16
16
|
(styles?: ContainerStyles): string
|
|
@@ -5,14 +5,14 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface DividerProperties {
|
|
9
9
|
orientation?: ConditionalValue<"horizontal" | "vertical">
|
|
10
10
|
thickness?: ConditionalValue<Tokens["sizes"] | Properties["borderWidth"]>
|
|
11
11
|
color?: ConditionalValue<Tokens["colors"] | Properties["borderColor"]>
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
interface DividerStyles extends DividerProperties, DistributiveOmit<SystemStyleObject, keyof DividerProperties > {}
|
|
16
16
|
|
|
17
17
|
interface DividerPatternFn {
|
|
18
18
|
(styles?: DividerStyles): string
|
|
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface FlexProperties {
|
|
9
9
|
align?: PropertyValue<'alignItems'>
|
|
10
10
|
justify?: PropertyValue<'justifyContent'>
|
|
11
11
|
direction?: PropertyValue<'flexDirection'>
|
|
@@ -16,7 +16,7 @@ export type FlexProperties = {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
interface FlexStyles extends FlexProperties, DistributiveOmit<SystemStyleObject, keyof FlexProperties > {}
|
|
20
20
|
|
|
21
21
|
interface FlexPatternFn {
|
|
22
22
|
(styles?: FlexStyles): string
|
|
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface FloatProperties {
|
|
9
9
|
offsetX?: ConditionalValue<Tokens["spacing"] | Properties["left"]>
|
|
10
10
|
offsetY?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
|
|
11
11
|
offset?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
|
|
@@ -13,7 +13,7 @@ export type FloatProperties = {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
interface FloatStyles extends FloatProperties, DistributiveOmit<SystemStyleObject, keyof FloatProperties > {}
|
|
17
17
|
|
|
18
18
|
interface FloatPatternFn {
|
|
19
19
|
(styles?: FloatStyles): string
|
|
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface GridItemProperties {
|
|
9
9
|
colSpan?: ConditionalValue<number>
|
|
10
10
|
rowSpan?: ConditionalValue<number>
|
|
11
11
|
colStart?: ConditionalValue<number>
|
|
@@ -15,7 +15,7 @@ export type GridItemProperties = {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
interface GridItemStyles extends GridItemProperties, DistributiveOmit<SystemStyleObject, keyof GridItemProperties > {}
|
|
19
19
|
|
|
20
20
|
interface GridItemPatternFn {
|
|
21
21
|
(styles?: GridItemStyles): string
|
|
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface GridProperties {
|
|
9
9
|
gap?: PropertyValue<'gap'>
|
|
10
10
|
columnGap?: PropertyValue<'gap'>
|
|
11
11
|
rowGap?: PropertyValue<'gap'>
|
|
@@ -14,7 +14,7 @@ export type GridProperties = {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
interface GridStyles extends GridProperties, DistributiveOmit<SystemStyleObject, keyof GridProperties > {}
|
|
18
18
|
|
|
19
19
|
interface GridPatternFn {
|
|
20
20
|
(styles?: GridStyles): string
|
|
@@ -5,13 +5,13 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface HstackProperties {
|
|
9
9
|
justify?: PropertyValue<'justifyContent'>
|
|
10
10
|
gap?: PropertyValue<'gap'>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
interface HstackStyles extends HstackProperties, DistributiveOmit<SystemStyleObject, keyof HstackProperties > {}
|
|
15
15
|
|
|
16
16
|
interface HstackPatternFn {
|
|
17
17
|
(styles?: HstackStyles): string
|
|
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface LinkBoxProperties {
|
|
9
9
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface LinkBoxStyles extends LinkBoxProperties, DistributiveOmit<SystemStyleObject, keyof LinkBoxProperties > {}
|
|
14
14
|
|
|
15
15
|
interface LinkBoxPatternFn {
|
|
16
16
|
(styles?: LinkBoxStyles): string
|
|
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface LinkOverlayProperties {
|
|
9
9
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface LinkOverlayStyles extends LinkOverlayProperties, DistributiveOmit<SystemStyleObject, keyof LinkOverlayProperties > {}
|
|
14
14
|
|
|
15
15
|
interface LinkOverlayPatternFn {
|
|
16
16
|
(styles?: LinkOverlayStyles): string
|
|
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface SpacerProperties {
|
|
9
9
|
size?: ConditionalValue<Tokens["spacing"]>
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface SpacerStyles extends SpacerProperties, DistributiveOmit<SystemStyleObject, keyof SpacerProperties > {}
|
|
14
14
|
|
|
15
15
|
interface SpacerPatternFn {
|
|
16
16
|
(styles?: SpacerStyles): string
|
|
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface SquareProperties {
|
|
9
9
|
size?: PropertyValue<'width'>
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface SquareStyles extends SquareProperties, DistributiveOmit<SystemStyleObject, keyof SquareProperties > {}
|
|
14
14
|
|
|
15
15
|
interface SquarePatternFn {
|
|
16
16
|
(styles?: SquareStyles): string
|
|
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface StackProperties {
|
|
9
9
|
align?: PropertyValue<'alignItems'>
|
|
10
10
|
justify?: PropertyValue<'justifyContent'>
|
|
11
11
|
direction?: PropertyValue<'flexDirection'>
|
|
@@ -13,7 +13,7 @@ export type StackProperties = {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
interface StackStyles extends StackProperties, DistributiveOmit<SystemStyleObject, keyof StackProperties > {}
|
|
17
17
|
|
|
18
18
|
interface StackPatternFn {
|
|
19
19
|
(styles?: StackStyles): string
|
|
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface StyledLinkProperties {
|
|
9
9
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface StyledLinkStyles extends StyledLinkProperties, DistributiveOmit<SystemStyleObject, keyof StyledLinkProperties > {}
|
|
14
14
|
|
|
15
15
|
interface StyledLinkPatternFn {
|
|
16
16
|
(styles?: StyledLinkStyles): string
|
|
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface VisuallyHiddenProperties {
|
|
9
9
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface VisuallyHiddenStyles extends VisuallyHiddenProperties, DistributiveOmit<SystemStyleObject, keyof VisuallyHiddenProperties > {}
|
|
14
14
|
|
|
15
15
|
interface VisuallyHiddenPatternFn {
|
|
16
16
|
(styles?: VisuallyHiddenStyles): string
|
|
@@ -5,13 +5,13 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface VstackProperties {
|
|
9
9
|
justify?: PropertyValue<'justifyContent'>
|
|
10
10
|
gap?: PropertyValue<'gap'>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
interface VstackStyles extends VstackProperties, DistributiveOmit<SystemStyleObject, keyof VstackProperties > {}
|
|
15
15
|
|
|
16
16
|
interface VstackPatternFn {
|
|
17
17
|
(styles?: VstackStyles): string
|
|
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
|
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
import type { Tokens } from '../tokens/index';
|
|
7
7
|
|
|
8
|
-
export
|
|
8
|
+
export interface WrapProperties {
|
|
9
9
|
gap?: PropertyValue<'gap'>
|
|
10
10
|
rowGap?: PropertyValue<'gap'>
|
|
11
11
|
columnGap?: PropertyValue<'gap'>
|
|
@@ -14,7 +14,7 @@ export type WrapProperties = {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
interface WrapStyles extends WrapProperties, DistributiveOmit<SystemStyleObject, keyof WrapProperties > {}
|
|
18
18
|
|
|
19
19
|
interface WrapPatternFn {
|
|
20
20
|
(styles?: WrapStyles): string
|