@pandacss/generator 0.46.0 → 0.47.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 +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -3518,7 +3518,7 @@ var selectors_d_ts_default = {
|
|
|
3518
3518
|
|
|
3519
3519
|
// src/artifacts/generated/static-css.d.ts.json
|
|
3520
3520
|
var static_css_d_ts_default = {
|
|
3521
|
-
content: "interface
|
|
3521
|
+
content: "interface ConditionOptions {\n /**\n * The conditions to generate for the rule.\n * @example ['hover', 'focus']\n */\n conditions?: string[]\n /**\n * Whether to generate responsive styles for the rule.\n */\n responsive?: boolean\n}\n\nexport interface CssRule extends ConditionOptions {\n /**\n * The css properties to generate utilities for.\n * @example ['margin', 'padding']\n */\n properties: {\n [property: string]: Array<string | number>\n }\n}\n\ninterface RecipeRuleVariants {\n [variant: string]: boolean | string[]\n}\n\nexport type RecipeRuleObject = RecipeRuleVariants & ConditionOptions\nexport type RecipeRule = '*' | RecipeRuleObject\n\nexport type PatternRule = '*' | CssRule\n\nexport interface StaticCssOptions {\n /**\n * The css utility classes to generate.\n */\n css?: CssRule[]\n /**\n * The css recipes to generate.\n */\n recipes?:\n | '*'\n | {\n [recipe: string]: RecipeRule[]\n }\n /**\n * The css patterns to generate.\n */\n patterns?: {\n [pattern: string]: PatternRule[]\n }\n /**\n * The CSS themes to generate\n */\n themes?: string[]\n}\n"
|
|
3522
3522
|
};
|
|
3523
3523
|
|
|
3524
3524
|
// src/artifacts/generated/system-types.d.ts.json
|
|
@@ -3802,6 +3802,7 @@ var categories = [
|
|
|
3802
3802
|
"lineHeights",
|
|
3803
3803
|
"letterSpacings",
|
|
3804
3804
|
"sizes",
|
|
3805
|
+
"cursor",
|
|
3805
3806
|
"shadows",
|
|
3806
3807
|
"spacing",
|
|
3807
3808
|
"radii",
|
|
@@ -4666,7 +4667,7 @@ function generateResetCss(ctx, sheet) {
|
|
|
4666
4667
|
":-moz-focusring": {
|
|
4667
4668
|
outline: "auto"
|
|
4668
4669
|
},
|
|
4669
|
-
"[hidden]": {
|
|
4670
|
+
"[hidden]:where(:not([hidden='until-found']))": {
|
|
4670
4671
|
display: "none !important"
|
|
4671
4672
|
}
|
|
4672
4673
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -3482,7 +3482,7 @@ var selectors_d_ts_default = {
|
|
|
3482
3482
|
|
|
3483
3483
|
// src/artifacts/generated/static-css.d.ts.json
|
|
3484
3484
|
var static_css_d_ts_default = {
|
|
3485
|
-
content: "interface
|
|
3485
|
+
content: "interface ConditionOptions {\n /**\n * The conditions to generate for the rule.\n * @example ['hover', 'focus']\n */\n conditions?: string[]\n /**\n * Whether to generate responsive styles for the rule.\n */\n responsive?: boolean\n}\n\nexport interface CssRule extends ConditionOptions {\n /**\n * The css properties to generate utilities for.\n * @example ['margin', 'padding']\n */\n properties: {\n [property: string]: Array<string | number>\n }\n}\n\ninterface RecipeRuleVariants {\n [variant: string]: boolean | string[]\n}\n\nexport type RecipeRuleObject = RecipeRuleVariants & ConditionOptions\nexport type RecipeRule = '*' | RecipeRuleObject\n\nexport type PatternRule = '*' | CssRule\n\nexport interface StaticCssOptions {\n /**\n * The css utility classes to generate.\n */\n css?: CssRule[]\n /**\n * The css recipes to generate.\n */\n recipes?:\n | '*'\n | {\n [recipe: string]: RecipeRule[]\n }\n /**\n * The css patterns to generate.\n */\n patterns?: {\n [pattern: string]: PatternRule[]\n }\n /**\n * The CSS themes to generate\n */\n themes?: string[]\n}\n"
|
|
3486
3486
|
};
|
|
3487
3487
|
|
|
3488
3488
|
// src/artifacts/generated/system-types.d.ts.json
|
|
@@ -3766,6 +3766,7 @@ var categories = [
|
|
|
3766
3766
|
"lineHeights",
|
|
3767
3767
|
"letterSpacings",
|
|
3768
3768
|
"sizes",
|
|
3769
|
+
"cursor",
|
|
3769
3770
|
"shadows",
|
|
3770
3771
|
"spacing",
|
|
3771
3772
|
"radii",
|
|
@@ -4630,7 +4631,7 @@ function generateResetCss(ctx, sheet) {
|
|
|
4630
4631
|
":-moz-focusring": {
|
|
4631
4632
|
outline: "auto"
|
|
4632
4633
|
},
|
|
4633
|
-
"[hidden]": {
|
|
4634
|
+
"[hidden]:where(:not([hidden='until-found']))": {
|
|
4634
4635
|
display: "none !important"
|
|
4635
4636
|
}
|
|
4636
4637
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"javascript-stringify": "2.1.0",
|
|
36
36
|
"outdent": " ^0.8.0",
|
|
37
37
|
"pluralize": "8.0.0",
|
|
38
|
-
"postcss": "8.4.
|
|
38
|
+
"postcss": "8.4.47",
|
|
39
39
|
"ts-pattern": "5.0.8",
|
|
40
|
-
"@pandacss/core": "0.
|
|
41
|
-
"@pandacss/is-valid-prop": "^0.
|
|
42
|
-
"@pandacss/logger": "0.
|
|
43
|
-
"@pandacss/shared": "0.
|
|
44
|
-
"@pandacss/token-dictionary": "0.
|
|
45
|
-
"@pandacss/types": "0.
|
|
40
|
+
"@pandacss/core": "0.47.0",
|
|
41
|
+
"@pandacss/is-valid-prop": "^0.47.0",
|
|
42
|
+
"@pandacss/logger": "0.47.0",
|
|
43
|
+
"@pandacss/shared": "0.47.0",
|
|
44
|
+
"@pandacss/token-dictionary": "0.47.0",
|
|
45
|
+
"@pandacss/types": "0.47.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/pluralize": "0.0.33"
|