@chakra-ui/panda-preset 3.16.1 → 3.17.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/cjs/index.cjs
CHANGED
|
@@ -9,11 +9,11 @@ var def = require('./def.cjs');
|
|
|
9
9
|
var globalCss = require('./global-css.cjs');
|
|
10
10
|
var keyframes = require('./keyframes.cjs');
|
|
11
11
|
var layerStyles = require('./layer-styles.cjs');
|
|
12
|
-
var index$
|
|
13
|
-
var index$
|
|
14
|
-
var index$
|
|
12
|
+
var index$2 = require('./recipes/index.cjs');
|
|
13
|
+
var index$3 = require('./semantic-tokens/index.cjs');
|
|
14
|
+
var index$1 = require('./slot-recipes/index.cjs');
|
|
15
15
|
var textStyles = require('./text-styles.cjs');
|
|
16
|
-
var index$
|
|
16
|
+
var index$4 = require('./tokens/index.cjs');
|
|
17
17
|
var utilities = require('./utilities.cjs');
|
|
18
18
|
|
|
19
19
|
var index = def.definePreset({
|
|
@@ -22,10 +22,10 @@ var index = def.definePreset({
|
|
|
22
22
|
theme: {
|
|
23
23
|
breakpoints: breakpoints.breakpoints,
|
|
24
24
|
keyframes: keyframes.keyframes,
|
|
25
|
-
tokens: index$
|
|
26
|
-
semanticTokens: index$
|
|
27
|
-
recipes: index$
|
|
28
|
-
slotRecipes: index$
|
|
25
|
+
tokens: index$4.tokens,
|
|
26
|
+
semanticTokens: index$3.semanticTokens,
|
|
27
|
+
recipes: index$2.recipes,
|
|
28
|
+
slotRecipes: index$1.slotRecipes,
|
|
29
29
|
textStyles: textStyles.textStyles,
|
|
30
30
|
layerStyles: layerStyles.layerStyles,
|
|
31
31
|
animationStyles: animationStyles.animationStyles
|
|
@@ -27,6 +27,10 @@ const ratingGroupSlotRecipe = def.defineSlotRecipe({
|
|
|
27
27
|
width: "1em",
|
|
28
28
|
height: "1em",
|
|
29
29
|
position: "relative",
|
|
30
|
+
"--clip-path": {
|
|
31
|
+
base: "inset(0 50% 0 0)",
|
|
32
|
+
_rtl: "inset(0 0 0 50%)"
|
|
33
|
+
},
|
|
30
34
|
_icon: {
|
|
31
35
|
stroke: "currentColor",
|
|
32
36
|
width: "100%",
|
|
@@ -51,7 +55,7 @@ const ratingGroupSlotRecipe = def.defineSlotRecipe({
|
|
|
51
55
|
"&[data-half]": {
|
|
52
56
|
"& [data-fg]": {
|
|
53
57
|
color: "colorPalette.solid",
|
|
54
|
-
clipPath: "
|
|
58
|
+
clipPath: "var(--clip-path)"
|
|
55
59
|
}
|
|
56
60
|
}
|
|
57
61
|
}
|
|
@@ -25,6 +25,10 @@ const ratingGroupSlotRecipe = defineSlotRecipe({
|
|
|
25
25
|
width: "1em",
|
|
26
26
|
height: "1em",
|
|
27
27
|
position: "relative",
|
|
28
|
+
"--clip-path": {
|
|
29
|
+
base: "inset(0 50% 0 0)",
|
|
30
|
+
_rtl: "inset(0 0 0 50%)"
|
|
31
|
+
},
|
|
28
32
|
_icon: {
|
|
29
33
|
stroke: "currentColor",
|
|
30
34
|
width: "100%",
|
|
@@ -49,7 +53,7 @@ const ratingGroupSlotRecipe = defineSlotRecipe({
|
|
|
49
53
|
"&[data-half]": {
|
|
50
54
|
"& [data-fg]": {
|
|
51
55
|
color: "colorPalette.solid",
|
|
52
|
-
clipPath: "
|
|
56
|
+
clipPath: "var(--clip-path)"
|
|
53
57
|
}
|
|
54
58
|
}
|
|
55
59
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chakra-ui/panda-preset",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.17.0",
|
|
4
4
|
"description": "Panda preset for Chakra UI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cjs/index.cjs",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"./package.json": "./package.json"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@pandacss/types": "^0.
|
|
48
|
+
"@pandacss/types": "^0.53.6"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"globby": "14.0
|
|
52
|
-
"@chakra-ui/cli": "3.
|
|
51
|
+
"globby": "14.1.0",
|
|
52
|
+
"@chakra-ui/cli": "3.17.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"theme:eject": "chakra eject --outdir=src",
|