@pandacss/studio 0.0.0-dev-20230922200913 → 0.0.0-dev-20230925114555
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/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/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/jsx.d.ts +2 -2
- 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/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-20230925114555",
|
|
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-
|
|
37
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
38
|
-
"@pandacss/node": "0.0.0-dev-
|
|
39
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
40
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
41
|
-
"@pandacss/types": "0.0.0-dev-
|
|
36
|
+
"@pandacss/config": "0.0.0-dev-20230925114555",
|
|
37
|
+
"@pandacss/logger": "0.0.0-dev-20230925114555",
|
|
38
|
+
"@pandacss/node": "0.0.0-dev-20230925114555",
|
|
39
|
+
"@pandacss/shared": "0.0.0-dev-20230925114555",
|
|
40
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230925114555",
|
|
41
|
+
"@pandacss/types": "0.0.0-dev-20230925114555"
|
|
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-
|
|
48
|
+
"@pandacss/dev": "0.0.0-dev-20230925114555"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"codegen": "panda",
|
|
@@ -4,7 +4,7 @@ import type { AspectRatioProperties } from '../patterns/aspect-ratio';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface AspectRatioProps extends AspectRatioProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof AspectRatioProperties | 'aspectRatio'> {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const AspectRatio: FunctionComponent<AspectRatioProps>
|
|
@@ -4,7 +4,7 @@ import type { BleedProperties } from '../patterns/bleed';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface BleedProps extends BleedProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof BleedProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Bleed: FunctionComponent<BleedProps>
|
|
@@ -4,7 +4,7 @@ import type { BoxProperties } from '../patterns/box';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface BoxProps extends BoxProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof BoxProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Box: FunctionComponent<BoxProps>
|
|
@@ -4,7 +4,7 @@ import type { CenterProperties } from '../patterns/center';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface CenterProps extends CenterProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof CenterProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Center: FunctionComponent<CenterProps>
|
|
@@ -4,7 +4,7 @@ import type { CircleProperties } from '../patterns/circle';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface CircleProps extends CircleProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof CircleProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Circle: FunctionComponent<CircleProps>
|
|
@@ -4,7 +4,7 @@ import type { ContainerProperties } from '../patterns/container';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface ContainerProps extends ContainerProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof ContainerProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Container: FunctionComponent<ContainerProps>
|
|
@@ -4,7 +4,7 @@ import type { DividerProperties } from '../patterns/divider';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface DividerProps extends DividerProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof DividerProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Divider: FunctionComponent<DividerProps>
|
|
@@ -4,7 +4,7 @@ import type { FlexProperties } from '../patterns/flex';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface FlexProps extends FlexProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof FlexProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Flex: FunctionComponent<FlexProps>
|
|
@@ -4,7 +4,7 @@ import type { FloatProperties } from '../patterns/float';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface FloatProps extends FloatProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof FloatProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Float: FunctionComponent<FloatProps>
|
|
@@ -4,7 +4,7 @@ import type { GridItemProperties } from '../patterns/grid-item';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface GridItemProps extends GridItemProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof GridItemProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const GridItem: FunctionComponent<GridItemProps>
|
|
@@ -4,7 +4,7 @@ import type { GridProperties } from '../patterns/grid';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface GridProps extends GridProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof GridProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Grid: FunctionComponent<GridProps>
|
|
@@ -4,7 +4,7 @@ import type { HstackProperties } from '../patterns/hstack';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface HstackProps extends HstackProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof HstackProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const HStack: FunctionComponent<HstackProps>
|
|
@@ -4,7 +4,7 @@ import type { LinkBoxProperties } from '../patterns/link-box';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface LinkBoxProps extends LinkBoxProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof LinkBoxProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const LinkBox: FunctionComponent<LinkBoxProps>
|
|
@@ -4,7 +4,7 @@ import type { LinkOverlayProperties } from '../patterns/link-overlay';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface LinkOverlayProps extends LinkOverlayProperties, DistributiveOmit<HTMLPandaProps<'a'>, keyof LinkOverlayProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const LinkOverlay: FunctionComponent<LinkOverlayProps>
|
|
@@ -4,7 +4,7 @@ import type { SpacerProperties } from '../patterns/spacer';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface SpacerProps extends SpacerProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof SpacerProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Spacer: FunctionComponent<SpacerProps>
|
|
@@ -4,7 +4,7 @@ import type { SquareProperties } from '../patterns/square';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface SquareProps extends SquareProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof SquareProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Square: FunctionComponent<SquareProps>
|
|
@@ -4,7 +4,7 @@ import type { StackProperties } from '../patterns/stack';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface StackProps extends StackProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof StackProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Stack: FunctionComponent<StackProps>
|
|
@@ -4,7 +4,7 @@ import type { StyledLinkProperties } from '../patterns/styled-link';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface StyledLinkProps extends StyledLinkProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof StyledLinkProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const StyledLink: FunctionComponent<StyledLinkProps>
|
|
@@ -4,7 +4,7 @@ import type { VisuallyHiddenProperties } from '../patterns/visually-hidden';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface VisuallyHiddenProps extends VisuallyHiddenProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof VisuallyHiddenProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const VisuallyHidden: FunctionComponent<VisuallyHiddenProps>
|
|
@@ -4,7 +4,7 @@ import type { VstackProperties } from '../patterns/vstack';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface VstackProps extends VstackProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof VstackProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const VStack: FunctionComponent<VstackProps>
|
|
@@ -4,7 +4,7 @@ import type { WrapProperties } from '../patterns/wrap';
|
|
|
4
4
|
import type { HTMLPandaProps } from '../types/jsx';
|
|
5
5
|
import type { DistributiveOmit } from '../types/system-types';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface WrapProps extends WrapProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof WrapProperties > {}
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
export declare const Wrap: FunctionComponent<WrapProps>
|
|
@@ -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 AspectRatioProperties {
|
|
9
9
|
ratio?: ConditionalValue<number>
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface AspectRatioStyles extends AspectRatioProperties, DistributiveOmit<SystemStyleObject, keyof AspectRatioProperties | 'aspectRatio'> {}
|
|
14
14
|
|
|
15
15
|
interface AspectRatioPatternFn {
|
|
16
16
|
(styles?: AspectRatioStyles): 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 BleedProperties {
|
|
9
9
|
inline?: PropertyValue<'marginInline'>
|
|
10
10
|
block?: PropertyValue<'marginBlock'>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
interface BleedStyles extends BleedProperties, DistributiveOmit<SystemStyleObject, keyof BleedProperties > {}
|
|
15
15
|
|
|
16
16
|
interface BleedPatternFn {
|
|
17
17
|
(styles?: BleedStyles): 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 BoxProperties {
|
|
9
9
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface BoxStyles extends BoxProperties, DistributiveOmit<SystemStyleObject, keyof BoxProperties > {}
|
|
14
14
|
|
|
15
15
|
interface BoxPatternFn {
|
|
16
16
|
(styles?: BoxStyles): 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 CenterProperties {
|
|
9
9
|
inline?: ConditionalValue<boolean>
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface CenterStyles extends CenterProperties, DistributiveOmit<SystemStyleObject, keyof CenterProperties > {}
|
|
14
14
|
|
|
15
15
|
interface CenterPatternFn {
|
|
16
16
|
(styles?: CenterStyles): 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 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
|