@chakra-ui/panda-preset 3.31.0 → 3.33.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.
@@ -6,29 +6,29 @@ var def = require('./def.cjs');
6
6
  const globalCss = def.defineGlobalStyles({
7
7
  "*": {
8
8
  fontFeatureSettings: '"cv11"',
9
- "--ring-inset": "var(--empty,/*!*/ /*!*/)",
9
+ "--ring-inset": "var(--empty, )",
10
10
  "--ring-offset-width": "0px",
11
11
  "--ring-offset-color": "#fff",
12
12
  "--ring-color": "rgba(66, 153, 225, 0.6)",
13
13
  "--ring-offset-shadow": "0 0 #0000",
14
14
  "--ring-shadow": "0 0 #0000",
15
- "--brightness": "var(--empty,/*!*/ /*!*/)",
16
- "--contrast": "var(--empty,/*!*/ /*!*/)",
17
- "--grayscale": "var(--empty,/*!*/ /*!*/)",
18
- "--hue-rotate": "var(--empty,/*!*/ /*!*/)",
19
- "--invert": "var(--empty,/*!*/ /*!*/)",
20
- "--saturate": "var(--empty,/*!*/ /*!*/)",
21
- "--sepia": "var(--empty,/*!*/ /*!*/)",
22
- "--drop-shadow": "var(--empty,/*!*/ /*!*/)",
23
- "--backdrop-blur": "var(--empty,/*!*/ /*!*/)",
24
- "--backdrop-brightness": "var(--empty,/*!*/ /*!*/)",
25
- "--backdrop-contrast": "var(--empty,/*!*/ /*!*/)",
26
- "--backdrop-grayscale": "var(--empty,/*!*/ /*!*/)",
27
- "--backdrop-hue-rotate": "var(--empty,/*!*/ /*!*/)",
28
- "--backdrop-invert": "var(--empty,/*!*/ /*!*/)",
29
- "--backdrop-opacity": "var(--empty,/*!*/ /*!*/)",
30
- "--backdrop-saturate": "var(--empty,/*!*/ /*!*/)",
31
- "--backdrop-sepia": "var(--empty,/*!*/ /*!*/)",
15
+ "--brightness": "var(--empty, )",
16
+ "--contrast": "var(--empty, )",
17
+ "--grayscale": "var(--empty, )",
18
+ "--hue-rotate": "var(--empty, )",
19
+ "--invert": "var(--empty, )",
20
+ "--saturate": "var(--empty, )",
21
+ "--sepia": "var(--empty, )",
22
+ "--drop-shadow": "var(--empty, )",
23
+ "--backdrop-blur": "var(--empty, )",
24
+ "--backdrop-brightness": "var(--empty, )",
25
+ "--backdrop-contrast": "var(--empty, )",
26
+ "--backdrop-grayscale": "var(--empty, )",
27
+ "--backdrop-hue-rotate": "var(--empty, )",
28
+ "--backdrop-invert": "var(--empty, )",
29
+ "--backdrop-opacity": "var(--empty, )",
30
+ "--backdrop-saturate": "var(--empty, )",
31
+ "--backdrop-sepia": "var(--empty, )",
32
32
  "--global-font-mono": "fonts.mono",
33
33
  "--global-font-body": "fonts.body",
34
34
  "--global-color-border": "colors.border"
@@ -89,10 +89,10 @@ const keyframes = {
89
89
  },
90
90
  "collapse-width": {
91
91
  from: {
92
- height: "var(--width)"
92
+ width: "var(--width)"
93
93
  },
94
94
  to: {
95
- height: "var(--collapsed-width, 0)"
95
+ width: "var(--collapsed-width, 0)"
96
96
  }
97
97
  },
98
98
  "fade-in": {
@@ -254,6 +254,22 @@ const keyframes = {
254
254
  to: {
255
255
  scale: "0.95"
256
256
  }
257
+ },
258
+ marqueeX: {
259
+ from: {
260
+ transform: "translateX(0%)"
261
+ },
262
+ to: {
263
+ transform: "translateX(var(--marquee-translate))"
264
+ }
265
+ },
266
+ marqueeY: {
267
+ from: {
268
+ transform: "translateY(0%)"
269
+ },
270
+ to: {
271
+ transform: "translateY(var(--marquee-translate))"
272
+ }
257
273
  }
258
274
  };
259
275
 
@@ -75,8 +75,6 @@ const codeBlockSlotRecipe = def.defineSlotRecipe({
75
75
  content: {
76
76
  position: "relative",
77
77
  colorScheme: "dark",
78
- overflowX: "auto",
79
- overflowY: "hidden",
80
78
  borderBottomRadius: "var(--code-block-radius)",
81
79
  maxHeight: "var(--code-block-max-height)",
82
80
  "& ::selection": {
@@ -108,7 +106,9 @@ const codeBlockSlotRecipe = def.defineSlotRecipe({
108
106
  fontFamily: "mono",
109
107
  lineHeight: "tall",
110
108
  whiteSpace: "pre",
111
- counterReset: "line 0"
109
+ counterReset: "line 0",
110
+ overflowX: "auto",
111
+ overflowY: "hidden"
112
112
  },
113
113
  codeText: {
114
114
  px: "var(--code-block-padding)",
@@ -43,7 +43,7 @@ const dialogSlotRecipe = def.defineSlotRecipe({
43
43
  position: "fixed",
44
44
  left: 0,
45
45
  top: 0,
46
- "--dialog-z-index": "zIndex.modal",
46
+ "--dialog-z-index": "zIndex.popover",
47
47
  zIndex: "calc(var(--dialog-z-index) + var(--layer-index, 0))",
48
48
  justifyContent: "center",
49
49
  overscrollBehaviorY: "none"
@@ -57,7 +57,7 @@ const dialogSlotRecipe = def.defineSlotRecipe({
57
57
  borderRadius: "l3",
58
58
  textStyle: "sm",
59
59
  my: "var(--dialog-margin, var(--dialog-base-margin))",
60
- "--dialog-z-index": "zIndex.modal",
60
+ "--dialog-z-index": "zIndex.popover",
61
61
  zIndex: "calc(var(--dialog-z-index) + var(--layer-index, 0))",
62
62
  bg: "bg.panel",
63
63
  boxShadow: "lg",
@@ -26,7 +26,7 @@ const drawerSlotRecipe = def.defineSlotRecipe({
26
26
  top: 0,
27
27
  w: "100vw",
28
28
  h: "100dvh",
29
- zIndex: "overlay",
29
+ zIndex: "var(--z-index)",
30
30
  _open: {
31
31
  animationName: "fade-in",
32
32
  animationDuration: "slow"
@@ -43,7 +43,8 @@ const drawerSlotRecipe = def.defineSlotRecipe({
43
43
  position: "fixed",
44
44
  insetInlineStart: 0,
45
45
  top: 0,
46
- zIndex: "modal",
46
+ "--drawer-z-index": "zIndex.popover",
47
+ zIndex: "calc(var(--drawer-z-index) + var(--layer-index, 0))",
47
48
  overscrollBehaviorY: "none"
48
49
  },
49
50
  content: {
@@ -52,7 +53,8 @@ const drawerSlotRecipe = def.defineSlotRecipe({
52
53
  position: "relative",
53
54
  width: "100%",
54
55
  outline: 0,
55
- zIndex: "modal",
56
+ "--drawer-z-index": "zIndex.popover",
57
+ zIndex: "calc(var(--drawer-z-index) + var(--layer-index, 0))",
56
58
  textStyle: "sm",
57
59
  maxH: "100dvh",
58
60
  color: "inherit",
@@ -17,7 +17,8 @@ const hoverCardSlotRecipe = def.defineSlotRecipe({
17
17
  boxShadow: "lg",
18
18
  maxWidth: "80",
19
19
  borderRadius: "l3",
20
- zIndex: "popover",
20
+ "--hover-card-z-index": "zIndex.popover",
21
+ zIndex: "calc(var(--hover-card-z-index) + var(--layer-index, 0))",
21
22
  transformOrigin: "var(--transform-origin)",
22
23
  outline: "0",
23
24
  _open: {
@@ -26,6 +26,7 @@ var fileUpload = require('./file-upload.cjs');
26
26
  var hoverCard = require('./hover-card.cjs');
27
27
  var list = require('./list.cjs');
28
28
  var listbox = require('./listbox.cjs');
29
+ var marquee = require('./marquee.cjs');
29
30
  var menu = require('./menu.cjs');
30
31
  var nativeSelect = require('./native-select.cjs');
31
32
  var numberInput = require('./number-input.cjs');
@@ -108,7 +109,8 @@ const slotRecipes = {
108
109
  timeline: timeline.timelineSlotRecipe,
109
110
  colorPicker: colorPicker.colorPickerSlotRecipe,
110
111
  qrCode: qrCode.qrCodeSlotRecipe,
111
- treeView: treeView.treeViewSlotRecipe
112
+ treeView: treeView.treeViewSlotRecipe,
113
+ marquee: marquee.marqueeSlotRecipe
112
114
  };
113
115
 
114
116
  exports.slotRecipes = slotRecipes;
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ 'use strict';
3
+
4
+ var def = require('../def.cjs');
5
+
6
+ const marqueeSlotRecipe = def.defineSlotRecipe({
7
+ className: "marquee",
8
+ slots: ["root", "viewport", "content", "edge", "item"],
9
+ base: {
10
+ root: {
11
+ position: "relative",
12
+ width: "100%",
13
+ "--marquee-edge-color": "colors.bg",
14
+ "--marquee-edge-size": "20%",
15
+ "&[data-paused]": {
16
+ animationPlayState: "paused !important",
17
+ "& *": {
18
+ animationPlayState: "paused !important"
19
+ }
20
+ }
21
+ },
22
+ viewport: {
23
+ overflow: "hidden",
24
+ display: "flex",
25
+ width: "100%",
26
+ height: "100%"
27
+ },
28
+ content: {
29
+ display: "flex",
30
+ minWidth: "max-content",
31
+ animationTimingFunction: "linear",
32
+ animationFillMode: "forwards",
33
+ animationDuration: "var(--marquee-duration)",
34
+ animationDelay: "var(--marquee-delay)",
35
+ animationIterationCount: "var(--marquee-loop-count)",
36
+ _motionReduce: {
37
+ animation: "none !important"
38
+ },
39
+ "&[data-side='start'], &[data-side='end']": {
40
+ animationName: "marqueeX"
41
+ },
42
+ "&[data-side='top'], &[data-side='bottom']": {
43
+ animationName: "marqueeY"
44
+ },
45
+ "&[data-reverse]": {
46
+ animationDirection: "reverse"
47
+ },
48
+ "&[data-orientation='horizontal']": {
49
+ flexDirection: "row"
50
+ },
51
+ "&[data-orientation='vertical']": {
52
+ flexDirection: "column"
53
+ }
54
+ },
55
+ edge: {
56
+ position: "absolute",
57
+ zIndex: "1",
58
+ pointerEvents: "none",
59
+ "&[data-side='start']": {
60
+ width: "var(--marquee-edge-size)",
61
+ insetY: "0",
62
+ insetInlineStart: "0",
63
+ background: "linear-gradient(to right, var(--marquee-edge-color, white), transparent)",
64
+ _rtl: {
65
+ background: "linear-gradient(to left, var(--marquee-edge-color, white), transparent)"
66
+ }
67
+ },
68
+ "&[data-side='end']": {
69
+ width: "var(--marquee-edge-size)",
70
+ insetY: "0",
71
+ insetInlineEnd: "0",
72
+ background: "linear-gradient(to left, var(--marquee-edge-color, white), transparent)",
73
+ _rtl: {
74
+ background: "linear-gradient(to right, var(--marquee-edge-color, white), transparent)"
75
+ }
76
+ },
77
+ "&[data-side='top']": {
78
+ height: "var(--marquee-edge-size)",
79
+ insetX: "0",
80
+ top: "0",
81
+ background: "linear-gradient(to bottom, var(--marquee-edge-color, white), transparent)"
82
+ },
83
+ "&[data-side='bottom']": {
84
+ height: "var(--marquee-edge-size)",
85
+ insetX: "0",
86
+ bottom: "0",
87
+ background: "linear-gradient(to top, var(--marquee-edge-color, white), transparent)"
88
+ }
89
+ }
90
+ }
91
+ });
92
+
93
+ exports.marqueeSlotRecipe = marqueeSlotRecipe;
@@ -30,7 +30,7 @@ const menuSlotRecipe = def.defineSlotRecipe({
30
30
  boxShadow: "lg",
31
31
  color: "fg",
32
32
  maxHeight: "var(--available-height)",
33
- "--menu-z-index": "zIndex.dropdown",
33
+ "--menu-z-index": "zIndex.popover",
34
34
  zIndex: "calc(var(--menu-z-index) + var(--layer-index, 0))",
35
35
  borderRadius: "l2",
36
36
  overflow: "hidden",
@@ -35,8 +35,7 @@ const radioCardSlotRecipe = def.defineSlotRecipe({
35
35
  bg: "colorPalette.muted/20"
36
36
  },
37
37
  _disabled: {
38
- opacity: "0.8",
39
- borderColor: "border.disabled"
38
+ opacity: "0.5"
40
39
  },
41
40
  _checked: {
42
41
  zIndex: "1"
@@ -240,6 +239,11 @@ const radioCardSlotRecipe = def.defineSlotRecipe({
240
239
  borderColor: "colorPalette.solid"
241
240
  }
242
241
  },
242
+ itemControl: {
243
+ _disabled: {
244
+ bg: "unset"
245
+ }
246
+ },
243
247
  itemIndicator: {
244
248
  bg: "bg",
245
249
  borderWidth: "1px",
@@ -4,29 +4,29 @@ import { defineGlobalStyles } from './def.js';
4
4
  const globalCss = defineGlobalStyles({
5
5
  "*": {
6
6
  fontFeatureSettings: '"cv11"',
7
- "--ring-inset": "var(--empty,/*!*/ /*!*/)",
7
+ "--ring-inset": "var(--empty, )",
8
8
  "--ring-offset-width": "0px",
9
9
  "--ring-offset-color": "#fff",
10
10
  "--ring-color": "rgba(66, 153, 225, 0.6)",
11
11
  "--ring-offset-shadow": "0 0 #0000",
12
12
  "--ring-shadow": "0 0 #0000",
13
- "--brightness": "var(--empty,/*!*/ /*!*/)",
14
- "--contrast": "var(--empty,/*!*/ /*!*/)",
15
- "--grayscale": "var(--empty,/*!*/ /*!*/)",
16
- "--hue-rotate": "var(--empty,/*!*/ /*!*/)",
17
- "--invert": "var(--empty,/*!*/ /*!*/)",
18
- "--saturate": "var(--empty,/*!*/ /*!*/)",
19
- "--sepia": "var(--empty,/*!*/ /*!*/)",
20
- "--drop-shadow": "var(--empty,/*!*/ /*!*/)",
21
- "--backdrop-blur": "var(--empty,/*!*/ /*!*/)",
22
- "--backdrop-brightness": "var(--empty,/*!*/ /*!*/)",
23
- "--backdrop-contrast": "var(--empty,/*!*/ /*!*/)",
24
- "--backdrop-grayscale": "var(--empty,/*!*/ /*!*/)",
25
- "--backdrop-hue-rotate": "var(--empty,/*!*/ /*!*/)",
26
- "--backdrop-invert": "var(--empty,/*!*/ /*!*/)",
27
- "--backdrop-opacity": "var(--empty,/*!*/ /*!*/)",
28
- "--backdrop-saturate": "var(--empty,/*!*/ /*!*/)",
29
- "--backdrop-sepia": "var(--empty,/*!*/ /*!*/)",
13
+ "--brightness": "var(--empty, )",
14
+ "--contrast": "var(--empty, )",
15
+ "--grayscale": "var(--empty, )",
16
+ "--hue-rotate": "var(--empty, )",
17
+ "--invert": "var(--empty, )",
18
+ "--saturate": "var(--empty, )",
19
+ "--sepia": "var(--empty, )",
20
+ "--drop-shadow": "var(--empty, )",
21
+ "--backdrop-blur": "var(--empty, )",
22
+ "--backdrop-brightness": "var(--empty, )",
23
+ "--backdrop-contrast": "var(--empty, )",
24
+ "--backdrop-grayscale": "var(--empty, )",
25
+ "--backdrop-hue-rotate": "var(--empty, )",
26
+ "--backdrop-invert": "var(--empty, )",
27
+ "--backdrop-opacity": "var(--empty, )",
28
+ "--backdrop-saturate": "var(--empty, )",
29
+ "--backdrop-sepia": "var(--empty, )",
30
30
  "--global-font-mono": "fonts.mono",
31
31
  "--global-font-body": "fonts.body",
32
32
  "--global-color-border": "colors.border"
@@ -87,10 +87,10 @@ const keyframes = {
87
87
  },
88
88
  "collapse-width": {
89
89
  from: {
90
- height: "var(--width)"
90
+ width: "var(--width)"
91
91
  },
92
92
  to: {
93
- height: "var(--collapsed-width, 0)"
93
+ width: "var(--collapsed-width, 0)"
94
94
  }
95
95
  },
96
96
  "fade-in": {
@@ -252,6 +252,22 @@ const keyframes = {
252
252
  to: {
253
253
  scale: "0.95"
254
254
  }
255
+ },
256
+ marqueeX: {
257
+ from: {
258
+ transform: "translateX(0%)"
259
+ },
260
+ to: {
261
+ transform: "translateX(var(--marquee-translate))"
262
+ }
263
+ },
264
+ marqueeY: {
265
+ from: {
266
+ transform: "translateY(0%)"
267
+ },
268
+ to: {
269
+ transform: "translateY(var(--marquee-translate))"
270
+ }
255
271
  }
256
272
  };
257
273
 
@@ -73,8 +73,6 @@ const codeBlockSlotRecipe = defineSlotRecipe({
73
73
  content: {
74
74
  position: "relative",
75
75
  colorScheme: "dark",
76
- overflowX: "auto",
77
- overflowY: "hidden",
78
76
  borderBottomRadius: "var(--code-block-radius)",
79
77
  maxHeight: "var(--code-block-max-height)",
80
78
  "& ::selection": {
@@ -106,7 +104,9 @@ const codeBlockSlotRecipe = defineSlotRecipe({
106
104
  fontFamily: "mono",
107
105
  lineHeight: "tall",
108
106
  whiteSpace: "pre",
109
- counterReset: "line 0"
107
+ counterReset: "line 0",
108
+ overflowX: "auto",
109
+ overflowY: "hidden"
110
110
  },
111
111
  codeText: {
112
112
  px: "var(--code-block-padding)",
@@ -41,7 +41,7 @@ const dialogSlotRecipe = defineSlotRecipe({
41
41
  position: "fixed",
42
42
  left: 0,
43
43
  top: 0,
44
- "--dialog-z-index": "zIndex.modal",
44
+ "--dialog-z-index": "zIndex.popover",
45
45
  zIndex: "calc(var(--dialog-z-index) + var(--layer-index, 0))",
46
46
  justifyContent: "center",
47
47
  overscrollBehaviorY: "none"
@@ -55,7 +55,7 @@ const dialogSlotRecipe = defineSlotRecipe({
55
55
  borderRadius: "l3",
56
56
  textStyle: "sm",
57
57
  my: "var(--dialog-margin, var(--dialog-base-margin))",
58
- "--dialog-z-index": "zIndex.modal",
58
+ "--dialog-z-index": "zIndex.popover",
59
59
  zIndex: "calc(var(--dialog-z-index) + var(--layer-index, 0))",
60
60
  bg: "bg.panel",
61
61
  boxShadow: "lg",
@@ -24,7 +24,7 @@ const drawerSlotRecipe = defineSlotRecipe({
24
24
  top: 0,
25
25
  w: "100vw",
26
26
  h: "100dvh",
27
- zIndex: "overlay",
27
+ zIndex: "var(--z-index)",
28
28
  _open: {
29
29
  animationName: "fade-in",
30
30
  animationDuration: "slow"
@@ -41,7 +41,8 @@ const drawerSlotRecipe = defineSlotRecipe({
41
41
  position: "fixed",
42
42
  insetInlineStart: 0,
43
43
  top: 0,
44
- zIndex: "modal",
44
+ "--drawer-z-index": "zIndex.popover",
45
+ zIndex: "calc(var(--drawer-z-index) + var(--layer-index, 0))",
45
46
  overscrollBehaviorY: "none"
46
47
  },
47
48
  content: {
@@ -50,7 +51,8 @@ const drawerSlotRecipe = defineSlotRecipe({
50
51
  position: "relative",
51
52
  width: "100%",
52
53
  outline: 0,
53
- zIndex: "modal",
54
+ "--drawer-z-index": "zIndex.popover",
55
+ zIndex: "calc(var(--drawer-z-index) + var(--layer-index, 0))",
54
56
  textStyle: "sm",
55
57
  maxH: "100dvh",
56
58
  color: "inherit",
@@ -15,7 +15,8 @@ const hoverCardSlotRecipe = defineSlotRecipe({
15
15
  boxShadow: "lg",
16
16
  maxWidth: "80",
17
17
  borderRadius: "l3",
18
- zIndex: "popover",
18
+ "--hover-card-z-index": "zIndex.popover",
19
+ zIndex: "calc(var(--hover-card-z-index) + var(--layer-index, 0))",
19
20
  transformOrigin: "var(--transform-origin)",
20
21
  outline: "0",
21
22
  _open: {
@@ -24,6 +24,7 @@ import { fileUploadSlotRecipe } from './file-upload.js';
24
24
  import { hoverCardSlotRecipe } from './hover-card.js';
25
25
  import { listSlotRecipe } from './list.js';
26
26
  import { listboxSlotRecipe } from './listbox.js';
27
+ import { marqueeSlotRecipe } from './marquee.js';
27
28
  import { menuSlotRecipe } from './menu.js';
28
29
  import { nativeSelectSlotRecipe } from './native-select.js';
29
30
  import { numberInputSlotRecipe } from './number-input.js';
@@ -106,7 +107,8 @@ const slotRecipes = {
106
107
  timeline: timelineSlotRecipe,
107
108
  colorPicker: colorPickerSlotRecipe,
108
109
  qrCode: qrCodeSlotRecipe,
109
- treeView: treeViewSlotRecipe
110
+ treeView: treeViewSlotRecipe,
111
+ marquee: marqueeSlotRecipe
110
112
  };
111
113
 
112
114
  export { slotRecipes };
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ import { defineSlotRecipe } from '../def.js';
3
+
4
+ const marqueeSlotRecipe = defineSlotRecipe({
5
+ className: "marquee",
6
+ slots: ["root", "viewport", "content", "edge", "item"],
7
+ base: {
8
+ root: {
9
+ position: "relative",
10
+ width: "100%",
11
+ "--marquee-edge-color": "colors.bg",
12
+ "--marquee-edge-size": "20%",
13
+ "&[data-paused]": {
14
+ animationPlayState: "paused !important",
15
+ "& *": {
16
+ animationPlayState: "paused !important"
17
+ }
18
+ }
19
+ },
20
+ viewport: {
21
+ overflow: "hidden",
22
+ display: "flex",
23
+ width: "100%",
24
+ height: "100%"
25
+ },
26
+ content: {
27
+ display: "flex",
28
+ minWidth: "max-content",
29
+ animationTimingFunction: "linear",
30
+ animationFillMode: "forwards",
31
+ animationDuration: "var(--marquee-duration)",
32
+ animationDelay: "var(--marquee-delay)",
33
+ animationIterationCount: "var(--marquee-loop-count)",
34
+ _motionReduce: {
35
+ animation: "none !important"
36
+ },
37
+ "&[data-side='start'], &[data-side='end']": {
38
+ animationName: "marqueeX"
39
+ },
40
+ "&[data-side='top'], &[data-side='bottom']": {
41
+ animationName: "marqueeY"
42
+ },
43
+ "&[data-reverse]": {
44
+ animationDirection: "reverse"
45
+ },
46
+ "&[data-orientation='horizontal']": {
47
+ flexDirection: "row"
48
+ },
49
+ "&[data-orientation='vertical']": {
50
+ flexDirection: "column"
51
+ }
52
+ },
53
+ edge: {
54
+ position: "absolute",
55
+ zIndex: "1",
56
+ pointerEvents: "none",
57
+ "&[data-side='start']": {
58
+ width: "var(--marquee-edge-size)",
59
+ insetY: "0",
60
+ insetInlineStart: "0",
61
+ background: "linear-gradient(to right, var(--marquee-edge-color, white), transparent)",
62
+ _rtl: {
63
+ background: "linear-gradient(to left, var(--marquee-edge-color, white), transparent)"
64
+ }
65
+ },
66
+ "&[data-side='end']": {
67
+ width: "var(--marquee-edge-size)",
68
+ insetY: "0",
69
+ insetInlineEnd: "0",
70
+ background: "linear-gradient(to left, var(--marquee-edge-color, white), transparent)",
71
+ _rtl: {
72
+ background: "linear-gradient(to right, var(--marquee-edge-color, white), transparent)"
73
+ }
74
+ },
75
+ "&[data-side='top']": {
76
+ height: "var(--marquee-edge-size)",
77
+ insetX: "0",
78
+ top: "0",
79
+ background: "linear-gradient(to bottom, var(--marquee-edge-color, white), transparent)"
80
+ },
81
+ "&[data-side='bottom']": {
82
+ height: "var(--marquee-edge-size)",
83
+ insetX: "0",
84
+ bottom: "0",
85
+ background: "linear-gradient(to top, var(--marquee-edge-color, white), transparent)"
86
+ }
87
+ }
88
+ }
89
+ });
90
+
91
+ export { marqueeSlotRecipe };
@@ -28,7 +28,7 @@ const menuSlotRecipe = defineSlotRecipe({
28
28
  boxShadow: "lg",
29
29
  color: "fg",
30
30
  maxHeight: "var(--available-height)",
31
- "--menu-z-index": "zIndex.dropdown",
31
+ "--menu-z-index": "zIndex.popover",
32
32
  zIndex: "calc(var(--menu-z-index) + var(--layer-index, 0))",
33
33
  borderRadius: "l2",
34
34
  overflow: "hidden",
@@ -33,8 +33,7 @@ const radioCardSlotRecipe = defineSlotRecipe({
33
33
  bg: "colorPalette.muted/20"
34
34
  },
35
35
  _disabled: {
36
- opacity: "0.8",
37
- borderColor: "border.disabled"
36
+ opacity: "0.5"
38
37
  },
39
38
  _checked: {
40
39
  zIndex: "1"
@@ -238,6 +237,11 @@ const radioCardSlotRecipe = defineSlotRecipe({
238
237
  borderColor: "colorPalette.solid"
239
238
  }
240
239
  },
240
+ itemControl: {
241
+ _disabled: {
242
+ bg: "unset"
243
+ }
244
+ },
241
245
  itemIndicator: {
242
246
  bg: "bg",
243
247
  borderWidth: "1px",
@@ -86,10 +86,10 @@ export declare const keyframes: {
86
86
  };
87
87
  "collapse-width": {
88
88
  from: {
89
- height: string;
89
+ width: string;
90
90
  };
91
91
  to: {
92
- height: string;
92
+ width: string;
93
93
  };
94
94
  };
95
95
  "fade-in": {
@@ -252,4 +252,20 @@ export declare const keyframes: {
252
252
  scale: string;
253
253
  };
254
254
  };
255
+ marqueeX: {
256
+ from: {
257
+ transform: string;
258
+ };
259
+ to: {
260
+ transform: string;
261
+ };
262
+ };
263
+ marqueeY: {
264
+ from: {
265
+ transform: string;
266
+ };
267
+ to: {
268
+ transform: string;
269
+ };
270
+ };
255
271
  };
@@ -52,4 +52,5 @@ export declare const slotRecipes: {
52
52
  colorPicker: import("@pandacss/types").SlotRecipeConfig;
53
53
  qrCode: import("@pandacss/types").SlotRecipeConfig;
54
54
  treeView: import("@pandacss/types").SlotRecipeConfig;
55
+ marquee: import("@pandacss/types").SlotRecipeConfig;
55
56
  };
@@ -0,0 +1 @@
1
+ export declare const marqueeSlotRecipe: import("@pandacss/types").SlotRecipeConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chakra-ui/panda-preset",
3
- "version": "3.31.0",
3
+ "version": "3.33.0",
4
4
  "description": "Panda preset for Chakra UI",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.cjs",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "globby": "14.1.0",
52
- "@chakra-ui/cli": "3.31.0"
52
+ "@chakra-ui/cli": "3.33.0"
53
53
  },
54
54
  "scripts": {
55
55
  "theme:eject": "chakra eject --outdir=src",