@pandacss/generator 1.0.1 → 1.1.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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -4236,7 +4236,7 @@ var static_css_d_ts_default = {
|
|
|
4236
4236
|
|
|
4237
4237
|
// src/artifacts/generated/system-types.d.ts.json
|
|
4238
4238
|
var system_types_d_ts_default = {
|
|
4239
|
-
content: "import type { ConditionalValue, Nested } from './conditions'\nimport type { AtRule, Globals, PropertiesFallback } from './csstype'\nimport type { SystemProperties, CssVarProperties } from './style-props'\n\ntype String = string & {}\ntype Number = number & {}\n\nexport type Pretty<T> = { [K in keyof T]: T[K] } & {}\n\nexport type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit<T, K> : never\n\nexport type DistributiveUnion<T, U> = {\n [K in keyof T]: K extends keyof U ? U[K] | T[K] : T[K]\n} & DistributiveOmit<U, keyof T>\n\nexport type Assign<T, U> = {\n [K in keyof T]: K extends keyof U ? U[K] : T[K]\n} & U\n\n/* -----------------------------------------------------------------------------\n * Native css properties\n * -----------------------------------------------------------------------------*/\n\ntype DashedIdent = `--${string}`\n\ntype StringToMultiple<T extends string> = T | `${T}, ${T}`\n\nexport type PositionAreaAxis =\n | 'left'\n | 'center'\n | 'right'\n | 'x-start'\n | 'x-end'\n | 'span-x-start'\n | 'span-x-end'\n | 'x-self-start'\n | 'x-self-end'\n | 'span-x-self-start'\n | 'span-x-self-end'\n | 'span-all'\n | 'top'\n | 'bottom'\n | 'span-top'\n | 'span-bottom'\n | 'y-start'\n | 'y-end'\n | 'span-y-start'\n | 'span-y-end'\n | 'y-self-start'\n | 'y-self-end'\n | 'span-y-self-start'\n | 'span-y-self-end'\n | 'block-start'\n | 'block-end'\n | 'span-block-start'\n | 'span-block-end'\n | 'inline-start'\n | 'inline-end'\n | 'span-inline-start'\n | 'span-inline-end'\n | 'self-block-start'\n | 'self-block-end'\n | 'span-self-block-start'\n | 'span-self-block-end'\n | 'self-inline-start'\n | 'self-inline-end'\n | 'span-self-inline-start'\n | 'span-self-inline-end'\n | 'start'\n | 'end'\n | 'span-start'\n | 'span-end'\n | 'self-start'\n | 'self-end'\n | 'span-self-start'\n | 'span-self-end'\n\ntype PositionTry =\n | 'normal'\n | 'flip-block'\n | 'flip-inline'\n | 'top'\n | 'bottom'\n | 'left'\n | 'right'\n | 'block-start'\n | 'block-end'\n | 'inline-start'\n | 'inline-end'\n | DashedIdent\n\nexport interface ModernCssProperties {\n anchorName?: Globals | 'none' | DashedIdent | StringToMultiple<DashedIdent>\n anchorScope?: Globals | 'none' | 'all' | DashedIdent | StringToMultiple<DashedIdent>\n fieldSizing?: Globals | 'fixed' | 'content'\n interpolateSize?: Globals | 'allow-keywords' | 'numeric-only'\n positionAnchor?: Globals | 'auto' | DashedIdent\n positionArea?: Globals | 'auto' | PositionAreaAxis | `${PositionAreaAxis} ${PositionAreaAxis}` | String\n positionTry?: Globals | StringToMultiple<PositionTry> | String\n positionTryFallback?: Globals | 'none' | StringToMultiple<PositionTry> | String\n positionTryOrder?: Globals | 'normal' | 'most-width' | 'most-height' | 'most-block-size' | 'most-inline-size'\n positionVisibility?: Globals | 'always' | 'anchors-visible' | 'no-overflow'\n textWrapMode?: Globals | 'wrap' | 'nowrap'\n textSpacingTrim?: Globals | 'normal' | 'space-all' | 'space-first' | 'trim-start'\n textWrapStyle?: Globals | 'auto' | 'balance' | 'pretty' | 'stable'\n}\n\nexport type CssProperty = keyof PropertiesFallback\n\nexport interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties, ModernCssProperties {}\n\nexport interface CssKeyframes {\n [name: string]: {\n [time: string]: CssProperties\n }\n}\n\n/* -----------------------------------------------------------------------------\n * Conditional css properties\n * -----------------------------------------------------------------------------*/\n\ninterface GenericProperties {\n [key: string]: ConditionalValue<String | Number | boolean>\n}\n\n/* -----------------------------------------------------------------------------\n * Native css props\n * -----------------------------------------------------------------------------*/\n\nexport type NestedCssProperties = Nested<CssProperties>\n\nexport type SystemStyleObject = Omit<Nested<SystemProperties & CssVarProperties>, 'base'>\n\nexport interface GlobalStyleObject {\n [selector: string]: SystemStyleObject\n}\nexport interface ExtendableGlobalStyleObject {\n [selector: string]: SystemStyleObject | undefined\n extend?: GlobalStyleObject | undefined\n}\n\n/* -----------------------------------------------------------------------------\n * Composition (text styles, layer styles)\n * -----------------------------------------------------------------------------*/\n\ntype FilterStyleObject<P extends string> = {\n [K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown\n}\n\nexport type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>\n\n/* -----------------------------------------------------------------------------\n * Font face\n * -----------------------------------------------------------------------------*/\n\nexport type GlobalFontfaceRule = Omit<AtRule.FontFaceFallback, 'src'> & Required<Pick<AtRule.FontFaceFallback, 'src'>>\n\nexport type FontfaceRule = Omit<GlobalFontfaceRule, 'fontFamily'>\n\nexport interface GlobalFontface {\n [name: string]: FontfaceRule | FontfaceRule[]\n}\n\nexport interface ExtendableGlobalFontface {\n [name: string]: FontfaceRule | FontfaceRule[] | GlobalFontface | undefined\n extend?: GlobalFontface | undefined\n}\n\n/* -----------------------------------------------------------------------------\n * Jsx style props\n * -----------------------------------------------------------------------------*/\ninterface WithCss {\n css?: SystemStyleObject | SystemStyleObject[]\n}\n\nexport type JsxStyleProps = SystemStyleObject & WithCss\n\nexport interface PatchedHTMLProps {\n htmlWidth?: string | number\n htmlHeight?: string | number\n htmlTranslate?: 'yes' | 'no' | undefined\n htmlContent?: string\n}\n\nexport type OmittedHTMLProps = 'color' | 'translate' | 'transition' | 'width' | 'height' | 'content'\n\ntype WithHTMLProps<T> = DistributiveOmit<T, OmittedHTMLProps> & PatchedHTMLProps\n\nexport type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<\n WithHTMLProps<T>,\n P\n>\n"
|
|
4239
|
+
content: "import type { ConditionalValue, Nested } from './conditions'\nimport type { AtRule, Globals, PropertiesFallback } from './csstype'\nimport type { SystemProperties, CssVarProperties } from './style-props'\n\ntype String = string & {}\ntype Number = number & {}\n\nexport type Pretty<T> = { [K in keyof T]: T[K] } & {}\n\nexport type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit<T, K> : never\n\nexport type DistributiveUnion<T, U> = {\n [K in keyof T]: K extends keyof U ? U[K] | T[K] : T[K]\n} & DistributiveOmit<U, keyof T>\n\nexport type Assign<T, U> = {\n [K in keyof T]: K extends keyof U ? U[K] : T[K]\n} & U\n\n/* -----------------------------------------------------------------------------\n * Native css properties\n * -----------------------------------------------------------------------------*/\n\ntype DashedIdent = `--${string}`\n\ntype StringToMultiple<T extends string> = T | `${T}, ${T}`\n\nexport type PositionAreaAxis =\n | 'left'\n | 'center'\n | 'right'\n | 'x-start'\n | 'x-end'\n | 'span-x-start'\n | 'span-x-end'\n | 'x-self-start'\n | 'x-self-end'\n | 'span-x-self-start'\n | 'span-x-self-end'\n | 'span-all'\n | 'top'\n | 'bottom'\n | 'span-top'\n | 'span-bottom'\n | 'y-start'\n | 'y-end'\n | 'span-y-start'\n | 'span-y-end'\n | 'y-self-start'\n | 'y-self-end'\n | 'span-y-self-start'\n | 'span-y-self-end'\n | 'block-start'\n | 'block-end'\n | 'span-block-start'\n | 'span-block-end'\n | 'inline-start'\n | 'inline-end'\n | 'span-inline-start'\n | 'span-inline-end'\n | 'self-block-start'\n | 'self-block-end'\n | 'span-self-block-start'\n | 'span-self-block-end'\n | 'self-inline-start'\n | 'self-inline-end'\n | 'span-self-inline-start'\n | 'span-self-inline-end'\n | 'start'\n | 'end'\n | 'span-start'\n | 'span-end'\n | 'self-start'\n | 'self-end'\n | 'span-self-start'\n | 'span-self-end'\n\ntype PositionTry =\n | 'normal'\n | 'flip-block'\n | 'flip-inline'\n | 'top'\n | 'bottom'\n | 'left'\n | 'right'\n | 'block-start'\n | 'block-end'\n | 'inline-start'\n | 'inline-end'\n | DashedIdent\n\nexport interface ModernCssProperties {\n /**\n * Defines a name for the anchor element that can be referenced by positioned elements.\n */\n anchorName?: Globals | 'none' | DashedIdent | StringToMultiple<DashedIdent>\n\n /**\n * Defines the scope of anchor names within the element.\n */\n anchorScope?: Globals | 'none' | 'all' | DashedIdent | StringToMultiple<DashedIdent>\n\n /**\n * Controls how form elements size themselves.\n */\n fieldSizing?: Globals | 'fixed' | 'content'\n\n /**\n * Controls whether interpolation of size values should allow keywords.\n */\n interpolateSize?: Globals | 'allow-keywords' | 'numeric-only'\n\n /**\n * Specifies the anchor element that this positioned element should be positioned relative to.\n */\n positionAnchor?: Globals | 'auto' | DashedIdent\n\n /**\n * Specifies the area within the anchor element where this positioned element should be placed.\n */\n positionArea?: Globals | 'auto' | PositionAreaAxis | `${PositionAreaAxis} ${PositionAreaAxis}` | String\n\n /**\n * Specifies the position try options for the element.\n */\n positionTry?: Globals | StringToMultiple<PositionTry> | String\n\n /**\n * Specifies fallback position try options when the primary position fails.\n */\n positionTryFallback?: Globals | 'none' | StringToMultiple<PositionTry> | String\n\n /**\n * Specifies the order in which position try options should be attempted.\n */\n positionTryOrder?: Globals | 'normal' | 'most-width' | 'most-height' | 'most-block-size' | 'most-inline-size'\n\n /**\n * Controls when the positioned element should be visible.\n */\n positionVisibility?: Globals | 'always' | 'anchors-visible' | 'no-overflow'\n\n /**\n * Controls whether text should wrap or not.\n */\n textWrapMode?: Globals | 'wrap' | 'nowrap'\n\n /**\n * Controls trimming of spacing in text.\n */\n textSpacingTrim?: Globals | 'normal' | 'space-all' | 'space-first' | 'trim-start'\n\n /**\n * Controls the style of text wrapping.\n */\n textWrapStyle?: Globals | 'auto' | 'balance' | 'pretty' | 'stable'\n\n /**\n * Controls whether the entire element should be draggable instead of its contents.\n */\n WebkitUserDrag?: Globals | 'auto' | 'element' | 'none'\n\n /**\n * Specifies whether an element can be used to drag the entire app window (Electron).\n */\n WebkitAppRegion?: Globals | 'drag' | 'no-drag'\n\n /**\n * Sets the horizontal spacing between table borders.\n */\n WebkitBorderHorizontalSpacing?: Globals | String | Number\n\n /**\n * Sets the vertical spacing between table borders.\n */\n WebkitBorderVerticalSpacing?: Globals | String | Number\n\n /**\n * Controls the display of text content for security purposes (e.g., password fields).\n */\n WebkitTextSecurity?: Globals | 'none' | 'circle' | 'disc' | 'square'\n}\n\nexport type CssProperty = keyof PropertiesFallback\n\nexport interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties, ModernCssProperties {}\n\nexport interface CssKeyframes {\n [name: string]: {\n [time: string]: CssProperties\n }\n}\n\n/* -----------------------------------------------------------------------------\n * Conditional css properties\n * -----------------------------------------------------------------------------*/\n\ninterface GenericProperties {\n [key: string]: ConditionalValue<String | Number | boolean>\n}\n\n/* -----------------------------------------------------------------------------\n * Native css props\n * -----------------------------------------------------------------------------*/\n\nexport type NestedCssProperties = Nested<CssProperties>\n\nexport type SystemStyleObject = Omit<Nested<SystemProperties & CssVarProperties>, 'base'>\n\nexport interface GlobalStyleObject {\n [selector: string]: SystemStyleObject\n}\nexport interface ExtendableGlobalStyleObject {\n [selector: string]: SystemStyleObject | undefined\n extend?: GlobalStyleObject | undefined\n}\n\n/* -----------------------------------------------------------------------------\n * Composition (text styles, layer styles)\n * -----------------------------------------------------------------------------*/\n\ntype FilterStyleObject<P extends string> = {\n [K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown\n}\n\nexport type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>\n\n/* -----------------------------------------------------------------------------\n * Font face\n * -----------------------------------------------------------------------------*/\n\nexport type GlobalFontfaceRule = Omit<AtRule.FontFaceFallback, 'src'> & Required<Pick<AtRule.FontFaceFallback, 'src'>>\n\nexport type FontfaceRule = Omit<GlobalFontfaceRule, 'fontFamily'>\n\nexport interface GlobalFontface {\n [name: string]: FontfaceRule | FontfaceRule[]\n}\n\nexport interface ExtendableGlobalFontface {\n [name: string]: FontfaceRule | FontfaceRule[] | GlobalFontface | undefined\n extend?: GlobalFontface | undefined\n}\n\n/* -----------------------------------------------------------------------------\n * Jsx style props\n * -----------------------------------------------------------------------------*/\ninterface WithCss {\n css?: SystemStyleObject | SystemStyleObject[]\n}\n\nexport type JsxStyleProps = SystemStyleObject & WithCss\n\nexport interface PatchedHTMLProps {\n htmlWidth?: string | number\n htmlHeight?: string | number\n htmlTranslate?: 'yes' | 'no' | undefined\n htmlContent?: string\n}\n\nexport type OmittedHTMLProps = 'color' | 'translate' | 'transition' | 'width' | 'height' | 'content'\n\ntype WithHTMLProps<T> = DistributiveOmit<T, OmittedHTMLProps> & PatchedHTMLProps\n\nexport type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<\n WithHTMLProps<T>,\n P\n>\n"
|
|
4240
4240
|
};
|
|
4241
4241
|
|
|
4242
4242
|
// src/artifacts/types/generated.ts
|
package/dist/index.mjs
CHANGED
|
@@ -4200,7 +4200,7 @@ var static_css_d_ts_default = {
|
|
|
4200
4200
|
|
|
4201
4201
|
// src/artifacts/generated/system-types.d.ts.json
|
|
4202
4202
|
var system_types_d_ts_default = {
|
|
4203
|
-
content: "import type { ConditionalValue, Nested } from './conditions'\nimport type { AtRule, Globals, PropertiesFallback } from './csstype'\nimport type { SystemProperties, CssVarProperties } from './style-props'\n\ntype String = string & {}\ntype Number = number & {}\n\nexport type Pretty<T> = { [K in keyof T]: T[K] } & {}\n\nexport type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit<T, K> : never\n\nexport type DistributiveUnion<T, U> = {\n [K in keyof T]: K extends keyof U ? U[K] | T[K] : T[K]\n} & DistributiveOmit<U, keyof T>\n\nexport type Assign<T, U> = {\n [K in keyof T]: K extends keyof U ? U[K] : T[K]\n} & U\n\n/* -----------------------------------------------------------------------------\n * Native css properties\n * -----------------------------------------------------------------------------*/\n\ntype DashedIdent = `--${string}`\n\ntype StringToMultiple<T extends string> = T | `${T}, ${T}`\n\nexport type PositionAreaAxis =\n | 'left'\n | 'center'\n | 'right'\n | 'x-start'\n | 'x-end'\n | 'span-x-start'\n | 'span-x-end'\n | 'x-self-start'\n | 'x-self-end'\n | 'span-x-self-start'\n | 'span-x-self-end'\n | 'span-all'\n | 'top'\n | 'bottom'\n | 'span-top'\n | 'span-bottom'\n | 'y-start'\n | 'y-end'\n | 'span-y-start'\n | 'span-y-end'\n | 'y-self-start'\n | 'y-self-end'\n | 'span-y-self-start'\n | 'span-y-self-end'\n | 'block-start'\n | 'block-end'\n | 'span-block-start'\n | 'span-block-end'\n | 'inline-start'\n | 'inline-end'\n | 'span-inline-start'\n | 'span-inline-end'\n | 'self-block-start'\n | 'self-block-end'\n | 'span-self-block-start'\n | 'span-self-block-end'\n | 'self-inline-start'\n | 'self-inline-end'\n | 'span-self-inline-start'\n | 'span-self-inline-end'\n | 'start'\n | 'end'\n | 'span-start'\n | 'span-end'\n | 'self-start'\n | 'self-end'\n | 'span-self-start'\n | 'span-self-end'\n\ntype PositionTry =\n | 'normal'\n | 'flip-block'\n | 'flip-inline'\n | 'top'\n | 'bottom'\n | 'left'\n | 'right'\n | 'block-start'\n | 'block-end'\n | 'inline-start'\n | 'inline-end'\n | DashedIdent\n\nexport interface ModernCssProperties {\n anchorName?: Globals | 'none' | DashedIdent | StringToMultiple<DashedIdent>\n anchorScope?: Globals | 'none' | 'all' | DashedIdent | StringToMultiple<DashedIdent>\n fieldSizing?: Globals | 'fixed' | 'content'\n interpolateSize?: Globals | 'allow-keywords' | 'numeric-only'\n positionAnchor?: Globals | 'auto' | DashedIdent\n positionArea?: Globals | 'auto' | PositionAreaAxis | `${PositionAreaAxis} ${PositionAreaAxis}` | String\n positionTry?: Globals | StringToMultiple<PositionTry> | String\n positionTryFallback?: Globals | 'none' | StringToMultiple<PositionTry> | String\n positionTryOrder?: Globals | 'normal' | 'most-width' | 'most-height' | 'most-block-size' | 'most-inline-size'\n positionVisibility?: Globals | 'always' | 'anchors-visible' | 'no-overflow'\n textWrapMode?: Globals | 'wrap' | 'nowrap'\n textSpacingTrim?: Globals | 'normal' | 'space-all' | 'space-first' | 'trim-start'\n textWrapStyle?: Globals | 'auto' | 'balance' | 'pretty' | 'stable'\n}\n\nexport type CssProperty = keyof PropertiesFallback\n\nexport interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties, ModernCssProperties {}\n\nexport interface CssKeyframes {\n [name: string]: {\n [time: string]: CssProperties\n }\n}\n\n/* -----------------------------------------------------------------------------\n * Conditional css properties\n * -----------------------------------------------------------------------------*/\n\ninterface GenericProperties {\n [key: string]: ConditionalValue<String | Number | boolean>\n}\n\n/* -----------------------------------------------------------------------------\n * Native css props\n * -----------------------------------------------------------------------------*/\n\nexport type NestedCssProperties = Nested<CssProperties>\n\nexport type SystemStyleObject = Omit<Nested<SystemProperties & CssVarProperties>, 'base'>\n\nexport interface GlobalStyleObject {\n [selector: string]: SystemStyleObject\n}\nexport interface ExtendableGlobalStyleObject {\n [selector: string]: SystemStyleObject | undefined\n extend?: GlobalStyleObject | undefined\n}\n\n/* -----------------------------------------------------------------------------\n * Composition (text styles, layer styles)\n * -----------------------------------------------------------------------------*/\n\ntype FilterStyleObject<P extends string> = {\n [K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown\n}\n\nexport type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>\n\n/* -----------------------------------------------------------------------------\n * Font face\n * -----------------------------------------------------------------------------*/\n\nexport type GlobalFontfaceRule = Omit<AtRule.FontFaceFallback, 'src'> & Required<Pick<AtRule.FontFaceFallback, 'src'>>\n\nexport type FontfaceRule = Omit<GlobalFontfaceRule, 'fontFamily'>\n\nexport interface GlobalFontface {\n [name: string]: FontfaceRule | FontfaceRule[]\n}\n\nexport interface ExtendableGlobalFontface {\n [name: string]: FontfaceRule | FontfaceRule[] | GlobalFontface | undefined\n extend?: GlobalFontface | undefined\n}\n\n/* -----------------------------------------------------------------------------\n * Jsx style props\n * -----------------------------------------------------------------------------*/\ninterface WithCss {\n css?: SystemStyleObject | SystemStyleObject[]\n}\n\nexport type JsxStyleProps = SystemStyleObject & WithCss\n\nexport interface PatchedHTMLProps {\n htmlWidth?: string | number\n htmlHeight?: string | number\n htmlTranslate?: 'yes' | 'no' | undefined\n htmlContent?: string\n}\n\nexport type OmittedHTMLProps = 'color' | 'translate' | 'transition' | 'width' | 'height' | 'content'\n\ntype WithHTMLProps<T> = DistributiveOmit<T, OmittedHTMLProps> & PatchedHTMLProps\n\nexport type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<\n WithHTMLProps<T>,\n P\n>\n"
|
|
4203
|
+
content: "import type { ConditionalValue, Nested } from './conditions'\nimport type { AtRule, Globals, PropertiesFallback } from './csstype'\nimport type { SystemProperties, CssVarProperties } from './style-props'\n\ntype String = string & {}\ntype Number = number & {}\n\nexport type Pretty<T> = { [K in keyof T]: T[K] } & {}\n\nexport type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit<T, K> : never\n\nexport type DistributiveUnion<T, U> = {\n [K in keyof T]: K extends keyof U ? U[K] | T[K] : T[K]\n} & DistributiveOmit<U, keyof T>\n\nexport type Assign<T, U> = {\n [K in keyof T]: K extends keyof U ? U[K] : T[K]\n} & U\n\n/* -----------------------------------------------------------------------------\n * Native css properties\n * -----------------------------------------------------------------------------*/\n\ntype DashedIdent = `--${string}`\n\ntype StringToMultiple<T extends string> = T | `${T}, ${T}`\n\nexport type PositionAreaAxis =\n | 'left'\n | 'center'\n | 'right'\n | 'x-start'\n | 'x-end'\n | 'span-x-start'\n | 'span-x-end'\n | 'x-self-start'\n | 'x-self-end'\n | 'span-x-self-start'\n | 'span-x-self-end'\n | 'span-all'\n | 'top'\n | 'bottom'\n | 'span-top'\n | 'span-bottom'\n | 'y-start'\n | 'y-end'\n | 'span-y-start'\n | 'span-y-end'\n | 'y-self-start'\n | 'y-self-end'\n | 'span-y-self-start'\n | 'span-y-self-end'\n | 'block-start'\n | 'block-end'\n | 'span-block-start'\n | 'span-block-end'\n | 'inline-start'\n | 'inline-end'\n | 'span-inline-start'\n | 'span-inline-end'\n | 'self-block-start'\n | 'self-block-end'\n | 'span-self-block-start'\n | 'span-self-block-end'\n | 'self-inline-start'\n | 'self-inline-end'\n | 'span-self-inline-start'\n | 'span-self-inline-end'\n | 'start'\n | 'end'\n | 'span-start'\n | 'span-end'\n | 'self-start'\n | 'self-end'\n | 'span-self-start'\n | 'span-self-end'\n\ntype PositionTry =\n | 'normal'\n | 'flip-block'\n | 'flip-inline'\n | 'top'\n | 'bottom'\n | 'left'\n | 'right'\n | 'block-start'\n | 'block-end'\n | 'inline-start'\n | 'inline-end'\n | DashedIdent\n\nexport interface ModernCssProperties {\n /**\n * Defines a name for the anchor element that can be referenced by positioned elements.\n */\n anchorName?: Globals | 'none' | DashedIdent | StringToMultiple<DashedIdent>\n\n /**\n * Defines the scope of anchor names within the element.\n */\n anchorScope?: Globals | 'none' | 'all' | DashedIdent | StringToMultiple<DashedIdent>\n\n /**\n * Controls how form elements size themselves.\n */\n fieldSizing?: Globals | 'fixed' | 'content'\n\n /**\n * Controls whether interpolation of size values should allow keywords.\n */\n interpolateSize?: Globals | 'allow-keywords' | 'numeric-only'\n\n /**\n * Specifies the anchor element that this positioned element should be positioned relative to.\n */\n positionAnchor?: Globals | 'auto' | DashedIdent\n\n /**\n * Specifies the area within the anchor element where this positioned element should be placed.\n */\n positionArea?: Globals | 'auto' | PositionAreaAxis | `${PositionAreaAxis} ${PositionAreaAxis}` | String\n\n /**\n * Specifies the position try options for the element.\n */\n positionTry?: Globals | StringToMultiple<PositionTry> | String\n\n /**\n * Specifies fallback position try options when the primary position fails.\n */\n positionTryFallback?: Globals | 'none' | StringToMultiple<PositionTry> | String\n\n /**\n * Specifies the order in which position try options should be attempted.\n */\n positionTryOrder?: Globals | 'normal' | 'most-width' | 'most-height' | 'most-block-size' | 'most-inline-size'\n\n /**\n * Controls when the positioned element should be visible.\n */\n positionVisibility?: Globals | 'always' | 'anchors-visible' | 'no-overflow'\n\n /**\n * Controls whether text should wrap or not.\n */\n textWrapMode?: Globals | 'wrap' | 'nowrap'\n\n /**\n * Controls trimming of spacing in text.\n */\n textSpacingTrim?: Globals | 'normal' | 'space-all' | 'space-first' | 'trim-start'\n\n /**\n * Controls the style of text wrapping.\n */\n textWrapStyle?: Globals | 'auto' | 'balance' | 'pretty' | 'stable'\n\n /**\n * Controls whether the entire element should be draggable instead of its contents.\n */\n WebkitUserDrag?: Globals | 'auto' | 'element' | 'none'\n\n /**\n * Specifies whether an element can be used to drag the entire app window (Electron).\n */\n WebkitAppRegion?: Globals | 'drag' | 'no-drag'\n\n /**\n * Sets the horizontal spacing between table borders.\n */\n WebkitBorderHorizontalSpacing?: Globals | String | Number\n\n /**\n * Sets the vertical spacing between table borders.\n */\n WebkitBorderVerticalSpacing?: Globals | String | Number\n\n /**\n * Controls the display of text content for security purposes (e.g., password fields).\n */\n WebkitTextSecurity?: Globals | 'none' | 'circle' | 'disc' | 'square'\n}\n\nexport type CssProperty = keyof PropertiesFallback\n\nexport interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties, ModernCssProperties {}\n\nexport interface CssKeyframes {\n [name: string]: {\n [time: string]: CssProperties\n }\n}\n\n/* -----------------------------------------------------------------------------\n * Conditional css properties\n * -----------------------------------------------------------------------------*/\n\ninterface GenericProperties {\n [key: string]: ConditionalValue<String | Number | boolean>\n}\n\n/* -----------------------------------------------------------------------------\n * Native css props\n * -----------------------------------------------------------------------------*/\n\nexport type NestedCssProperties = Nested<CssProperties>\n\nexport type SystemStyleObject = Omit<Nested<SystemProperties & CssVarProperties>, 'base'>\n\nexport interface GlobalStyleObject {\n [selector: string]: SystemStyleObject\n}\nexport interface ExtendableGlobalStyleObject {\n [selector: string]: SystemStyleObject | undefined\n extend?: GlobalStyleObject | undefined\n}\n\n/* -----------------------------------------------------------------------------\n * Composition (text styles, layer styles)\n * -----------------------------------------------------------------------------*/\n\ntype FilterStyleObject<P extends string> = {\n [K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown\n}\n\nexport type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>\n\n/* -----------------------------------------------------------------------------\n * Font face\n * -----------------------------------------------------------------------------*/\n\nexport type GlobalFontfaceRule = Omit<AtRule.FontFaceFallback, 'src'> & Required<Pick<AtRule.FontFaceFallback, 'src'>>\n\nexport type FontfaceRule = Omit<GlobalFontfaceRule, 'fontFamily'>\n\nexport interface GlobalFontface {\n [name: string]: FontfaceRule | FontfaceRule[]\n}\n\nexport interface ExtendableGlobalFontface {\n [name: string]: FontfaceRule | FontfaceRule[] | GlobalFontface | undefined\n extend?: GlobalFontface | undefined\n}\n\n/* -----------------------------------------------------------------------------\n * Jsx style props\n * -----------------------------------------------------------------------------*/\ninterface WithCss {\n css?: SystemStyleObject | SystemStyleObject[]\n}\n\nexport type JsxStyleProps = SystemStyleObject & WithCss\n\nexport interface PatchedHTMLProps {\n htmlWidth?: string | number\n htmlHeight?: string | number\n htmlTranslate?: 'yes' | 'no' | undefined\n htmlContent?: string\n}\n\nexport type OmittedHTMLProps = 'color' | 'translate' | 'transition' | 'width' | 'height' | 'content'\n\ntype WithHTMLProps<T> = DistributiveOmit<T, OmittedHTMLProps> & PatchedHTMLProps\n\nexport type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<\n WithHTMLProps<T>,\n P\n>\n"
|
|
4204
4204
|
};
|
|
4205
4205
|
|
|
4206
4206
|
// src/artifacts/types/generated.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"pluralize": "8.0.0",
|
|
38
38
|
"postcss": "8.4.49",
|
|
39
39
|
"ts-pattern": "5.8.0",
|
|
40
|
-
"@pandacss/core": "1.0
|
|
41
|
-
"@pandacss/is-valid-prop": "^1.0
|
|
42
|
-
"@pandacss/logger": "1.0
|
|
43
|
-
"@pandacss/shared": "1.0
|
|
44
|
-
"@pandacss/token-dictionary": "1.0
|
|
45
|
-
"@pandacss/types": "1.0
|
|
40
|
+
"@pandacss/core": "1.1.0",
|
|
41
|
+
"@pandacss/is-valid-prop": "^1.1.0",
|
|
42
|
+
"@pandacss/logger": "1.1.0",
|
|
43
|
+
"@pandacss/shared": "1.1.0",
|
|
44
|
+
"@pandacss/token-dictionary": "1.1.0",
|
|
45
|
+
"@pandacss/types": "1.1.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/pluralize": "0.0.33"
|