@pandacss/generator 0.0.0-dev-20240301001057 → 0.0.0-dev-20240301213932
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 +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -483,12 +483,11 @@ function generateIsValidProp(ctx) {
|
|
|
483
483
|
import type { DistributiveOmit, HTMLPandaProps, JsxStyleProps, Pretty } from '../types';
|
|
484
484
|
|
|
485
485
|
declare const isCssProperty: (value: string) => boolean;
|
|
486
|
-
|
|
486
|
+
|
|
487
487
|
type CssPropKey = keyof JsxStyleProps
|
|
488
|
-
type PickedCssProps<T> = Pretty<Pick<T, CssPropKey>>
|
|
489
488
|
type OmittedCssProps<T> = Pretty<DistributiveOmit<T, CssPropKey>>
|
|
490
489
|
|
|
491
|
-
declare const splitCssProps: <T>(props: T) => [
|
|
490
|
+
declare const splitCssProps: <T>(props: T) => [JsxStyleProps, OmittedCssProps<T>]
|
|
492
491
|
|
|
493
492
|
export { isCssProperty, splitCssProps };
|
|
494
493
|
`
|
package/dist/index.mjs
CHANGED
|
@@ -447,12 +447,11 @@ function generateIsValidProp(ctx) {
|
|
|
447
447
|
import type { DistributiveOmit, HTMLPandaProps, JsxStyleProps, Pretty } from '../types';
|
|
448
448
|
|
|
449
449
|
declare const isCssProperty: (value: string) => boolean;
|
|
450
|
-
|
|
450
|
+
|
|
451
451
|
type CssPropKey = keyof JsxStyleProps
|
|
452
|
-
type PickedCssProps<T> = Pretty<Pick<T, CssPropKey>>
|
|
453
452
|
type OmittedCssProps<T> = Pretty<DistributiveOmit<T, CssPropKey>>
|
|
454
453
|
|
|
455
|
-
declare const splitCssProps: <T>(props: T) => [
|
|
454
|
+
declare const splitCssProps: <T>(props: T) => [JsxStyleProps, OmittedCssProps<T>]
|
|
456
455
|
|
|
457
456
|
export { isCssProperty, splitCssProps };
|
|
458
457
|
`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20240301213932",
|
|
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.35",
|
|
39
39
|
"ts-pattern": "5.0.8",
|
|
40
|
-
"@pandacss/core": "0.0.0-dev-
|
|
41
|
-
"@pandacss/is-valid-prop": "^0.0.0-dev-
|
|
42
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
43
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
44
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
45
|
-
"@pandacss/types": "0.0.0-dev-
|
|
40
|
+
"@pandacss/core": "0.0.0-dev-20240301213932",
|
|
41
|
+
"@pandacss/is-valid-prop": "^0.0.0-dev-20240301213932",
|
|
42
|
+
"@pandacss/logger": "0.0.0-dev-20240301213932",
|
|
43
|
+
"@pandacss/shared": "0.0.0-dev-20240301213932",
|
|
44
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20240301213932",
|
|
45
|
+
"@pandacss/types": "0.0.0-dev-20240301213932"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/pluralize": "0.0.33"
|