@saas-ui/react 3.0.0-alpha.26 → 3.0.0-alpha.27

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @saas-ui/react
2
2
 
3
+ ## 3.0.0-alpha.27
4
+
5
+ ### Patch Changes
6
+
7
+ - 56b0623: Update with upstream changes
8
+ - 56b0623: Fixed issue where backdrop would render on top of dialog and drawer
9
+
3
10
  ## 3.0.0-alpha.26
4
11
 
5
12
  ### Patch Changes
@@ -235,11 +242,187 @@
235
242
 
236
243
  - v3 alpha release
237
244
 
245
+ ## 2.11.4
246
+
247
+ ### Patch Changes
248
+
249
+ - Updated dependencies [091fd38]
250
+ - @saas-ui/forms@2.11.0
251
+ - @saas-ui/modals@2.4.4
252
+ - @saas-ui/data-table@13.0.4
253
+
254
+ ## 2.11.3
255
+
256
+ ### Patch Changes
257
+
258
+ - Updated dependencies [eb53116]
259
+ - @saas-ui/forms@2.10.0
260
+ - @saas-ui/modals@2.4.3
261
+ - @saas-ui/data-table@13.0.3
262
+
263
+ ## 2.11.2
264
+
265
+ ### Patch Changes
266
+
267
+ - 862937a: Bump chakra version
268
+ - Updated dependencies [862937a]
269
+ - @saas-ui/data-table@13.0.2
270
+ - @saas-ui/nprogress@2.2.1
271
+ - @saas-ui/hotkeys@2.5.1
272
+ - @saas-ui/modals@2.4.2
273
+ - @saas-ui/forms@2.9.1
274
+ - @saas-ui/theme@2.6.1
275
+ - @saas-ui/core@2.8.1
276
+
277
+ ## 2.11.1
278
+
279
+ ### Patch Changes
280
+
281
+ - Updated dependencies [a69829a]
282
+ - @saas-ui/hooks@2.3.0
283
+ - @saas-ui/modals@2.4.1
284
+ - @saas-ui/data-table@13.0.1
285
+
286
+ ## 2.11.0
287
+
288
+ ### Minor Changes
289
+
290
+ - 803ede7: Updated Chakra UI version range to >=2.9.0 <3
291
+
292
+ ### Patch Changes
293
+
294
+ - Updated dependencies [803ede7]
295
+ - @saas-ui/data-table@13.0.0
296
+ - @saas-ui/nprogress@2.2.0
297
+ - @saas-ui/hotkeys@2.5.0
298
+ - @saas-ui/modals@2.4.0
299
+ - @saas-ui/forms@2.9.0
300
+ - @saas-ui/hooks@2.2.0
301
+ - @saas-ui/theme@2.6.0
302
+ - @saas-ui/core@2.8.0
303
+
304
+ ## 2.10.5
305
+
306
+ ### Patch Changes
307
+
308
+ - c9daf50: Fixed issue where link component prop would not be passed to NavItem
309
+ - Updated dependencies [c9daf50]
310
+ - @saas-ui/core@2.7.2
311
+ - @saas-ui/data-table@12.0.5
312
+ - @saas-ui/forms@2.8.2
313
+ - @saas-ui/hotkeys@2.4.2
314
+ - @saas-ui/modals@2.3.5
315
+
316
+ ## 2.10.4
317
+
318
+ ### Patch Changes
319
+
320
+ - a863a5e: Updated package type to fix next 15 support
321
+ - Updated dependencies [a863a5e]
322
+ - @saas-ui/modals@2.3.4
323
+ - @saas-ui/data-table@12.0.4
324
+
325
+ ## 2.10.3
326
+
238
327
  ### Patch Changes
239
328
 
240
329
  - Updated dependencies
330
+ <<<<<<< HEAD
241
331
  - @saas-ui/hooks@3.0.0-alpha.0
242
- - @saas-ui/core@3.0.0-alpha.0
332
+ - # @saas-ui/core@3.0.0-alpha.0
333
+ - @saas-ui/modals@2.3.3
334
+ - @saas-ui/data-table@12.0.3
335
+
336
+ ## 2.10.2
337
+
338
+ ### Patch Changes
339
+
340
+ - 7669720: Fixed publint issues
341
+ - Updated dependencies [7669720]
342
+ - @saas-ui/modals@2.3.2
343
+ - @saas-ui/data-table@12.0.2
344
+
345
+ ## 2.10.1
346
+
347
+ ### Patch Changes
348
+
349
+ - 5e24ec4: Fixed issue where as prop on NavItem would always be overruled by internal Link prop if href is passed
350
+ - Updated dependencies [5e24ec4]
351
+ - @saas-ui/core@2.7.1
352
+ - @saas-ui/data-table@12.0.1
353
+ - @saas-ui/forms@2.8.1
354
+ - @saas-ui/hotkeys@2.4.1
355
+ - @saas-ui/modals@2.3.1
356
+
357
+ ## 2.10.0
358
+
359
+ ### Minor Changes
360
+
361
+ - fc799df: Removed deprecated Chakra UI dependency
362
+
363
+ ### Patch Changes
364
+
365
+ - Updated dependencies [fc799df]
366
+ - @saas-ui/hotkeys@2.4.0
367
+ - @saas-ui/modals@2.3.0
368
+ - @saas-ui/forms@2.8.0
369
+ - @saas-ui/core@2.7.0
370
+ - @saas-ui/data-table@12.0.0
371
+
372
+ ## 2.9.1
373
+
374
+ ### Patch Changes
375
+
376
+ - f0ee3db: Updated to Chakra 2.10
377
+ - Updated dependencies [f0ee3db]
378
+ - @saas-ui/data-table@11.0.1
379
+ - @saas-ui/nprogress@2.1.1
380
+ - @saas-ui/hotkeys@2.3.1
381
+ - @saas-ui/modals@2.2.1
382
+ - @saas-ui/forms@2.7.1
383
+ - @saas-ui/theme@2.5.1
384
+ - @saas-ui/core@2.6.1
385
+
386
+ ## 2.9.0
387
+
388
+ ### Minor Changes
389
+
390
+ - 2ac496a: Upgraded to Chakra UI v2.9.3
391
+
392
+ ### Patch Changes
393
+
394
+ - Updated dependencies [2ac496a]
395
+ - @saas-ui/data-table@11.0.0
396
+ - @saas-ui/nprogress@2.1.0
397
+ - @saas-ui/hotkeys@2.3.0
398
+ - @saas-ui/modals@2.2.0
399
+ - @saas-ui/forms@2.7.0
400
+ - @saas-ui/hooks@2.1.0
401
+ - @saas-ui/theme@2.5.0
402
+ - @saas-ui/core@2.6.0
403
+
404
+ ## 2.8.11
405
+
406
+ ### Patch Changes
407
+
408
+ - 5e000e0: Removed background color from loading overlay fill variant
409
+ - Updated dependencies [5e000e0]
410
+ - @saas-ui/theme@2.4.2
411
+ - @saas-ui/core@2.5.6
412
+ - @saas-ui/data-table@10.0.11
413
+ - @saas-ui/forms@2.6.11
414
+ - @saas-ui/hotkeys@2.2.14
415
+ - @saas-ui/modals@2.1.41
416
+
417
+ ## 2.8.10
418
+
419
+ ### Patch Changes
420
+
421
+ - Updated dependencies [fc2203a]
422
+ - @saas-ui/forms@2.6.10
423
+ - @saas-ui/modals@2.1.40
424
+ - @saas-ui/data-table@10.0.10
425
+ > > > > > > > v3
243
426
 
244
427
  ## 2.8.9
245
428
 
@@ -44,7 +44,7 @@ var Content = forwardRef(
44
44
  }
45
45
  );
46
46
  var CloseButton2 = forwardRef(function DialogCloseTrigger(props, ref) {
47
- return /* @__PURE__ */ jsx(ChakraDialog.CloseTrigger, { position: "absolute", ...props, asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "sm", ref, children: props.children }) });
47
+ return /* @__PURE__ */ jsx(ChakraDialog.CloseTrigger, { ...props, asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "sm", ref, children: props.children }) });
48
48
  });
49
49
  var CloseTrigger = ChakraDialog.CloseTrigger;
50
50
  var Root = ChakraDialog.Root;
@@ -35,7 +35,7 @@ var Content = forwardRef(
35
35
  );
36
36
  var CloseButton2 = forwardRef(function DrawerCloseTrigger(props, ref) {
37
37
  const { children, ...rest } = props;
38
- return /* @__PURE__ */ jsx(ChakraDrawer.CloseTrigger, { position: "absolute", ...rest, asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "sm", ref, children }) });
38
+ return /* @__PURE__ */ jsx(ChakraDrawer.CloseTrigger, { ...rest, asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "sm", ref, children }) });
39
39
  });
40
40
  var CloseTrigger = ChakraDrawer.CloseTrigger;
41
41
  var Trigger = ChakraDrawer.Trigger;
@@ -185,7 +185,7 @@ var Content = (0, import_react4.forwardRef)(
185
185
  }
186
186
  );
187
187
  var CloseButton3 = (0, import_react4.forwardRef)(function DialogCloseTrigger(props, ref) {
188
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react5.Dialog.CloseTrigger, { position: "absolute", ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CloseButton, { size: "sm", ref, children: props.children }) });
188
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react5.Dialog.CloseTrigger, { ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CloseButton, { size: "sm", ref, children: props.children }) });
189
189
  });
190
190
  var CloseTrigger = import_react5.Dialog.CloseTrigger;
191
191
  var Root = import_react5.Dialog.Root;
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  dialog_exports
4
- } from "../../chunk-CZVNG73V.js";
4
+ } from "../../chunk-32DD6PHF.js";
5
5
  import "../../chunk-JMYI6YXR.js";
6
6
  import "../../chunk-YXGJOOMM.js";
7
7
  import "../../chunk-4TPVIHNO.js";
@@ -176,7 +176,7 @@ var Content = (0, import_react4.forwardRef)(
176
176
  );
177
177
  var CloseButton3 = (0, import_react4.forwardRef)(function DrawerCloseTrigger(props, ref) {
178
178
  const { children, ...rest } = props;
179
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react5.Drawer.CloseTrigger, { position: "absolute", ...rest, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CloseButton, { size: "sm", ref, children }) });
179
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react5.Drawer.CloseTrigger, { ...rest, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CloseButton, { size: "sm", ref, children }) });
180
180
  });
181
181
  var CloseTrigger = import_react5.Drawer.CloseTrigger;
182
182
  var Trigger = import_react5.Drawer.Trigger;
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  drawer_exports
4
- } from "../../chunk-6MMPBMKN.js";
4
+ } from "../../chunk-LTVFG6UC.js";
5
5
  import "../../chunk-JMYI6YXR.js";
6
6
  import "../../chunk-YXGJOOMM.js";
7
7
  import "../../chunk-4TPVIHNO.js";
package/dist/index.cjs CHANGED
@@ -2589,7 +2589,7 @@ var dialogSlotRecipe = (0, import_react31.defineSlotRecipe)({
2589
2589
  top: 0,
2590
2590
  w: "100vw",
2591
2591
  h: "100dvh",
2592
- zIndex: "modal",
2592
+ zIndex: "calc(var(--dialog-z-index) + var(--layer-index, 0) - 1)",
2593
2593
  _open: {
2594
2594
  animationName: "fade-in",
2595
2595
  animationDuration: "slow"
@@ -2619,7 +2619,6 @@ var dialogSlotRecipe = (0, import_react31.defineSlotRecipe)({
2619
2619
  outline: 0,
2620
2620
  textStyle: "sm",
2621
2621
  my: "var(--dialog-margin, var(--dialog-base-margin))",
2622
- "--dialog-z-index": "zIndex.layer-4",
2623
2622
  zIndex: "calc(var(--dialog-z-index) + var(--layer-index, 0))",
2624
2623
  layerStyle: "overlay",
2625
2624
  _open: {
@@ -2630,6 +2629,10 @@ var dialogSlotRecipe = (0, import_react31.defineSlotRecipe)({
2630
2629
  }
2631
2630
  },
2632
2631
  header: {
2632
+ display: "flex",
2633
+ flexDirection: "row",
2634
+ alignItems: "center",
2635
+ justifyContent: "space-between",
2633
2636
  flex: 0,
2634
2637
  px: "6",
2635
2638
  py: "4"
@@ -2655,10 +2658,6 @@ var dialogSlotRecipe = (0, import_react31.defineSlotRecipe)({
2655
2658
  },
2656
2659
  description: {
2657
2660
  color: "fg.muted"
2658
- },
2659
- closeTrigger: {
2660
- top: "4",
2661
- insetEnd: "4"
2662
2661
  }
2663
2662
  },
2664
2663
  variants: {
@@ -2811,7 +2810,7 @@ var drawerSlotRecipe = (0, import_react32.defineSlotRecipe)({
2811
2810
  top: 0,
2812
2811
  w: "100vw",
2813
2812
  h: "100dvh",
2814
- zIndex: "modal",
2813
+ zIndex: "calc(var(--drawer-z-index) + var(--layer-index, 0) - 1)",
2815
2814
  _open: {
2816
2815
  animationName: "fade-in",
2817
2816
  animationDuration: "slow"
@@ -2822,6 +2821,7 @@ var drawerSlotRecipe = (0, import_react32.defineSlotRecipe)({
2822
2821
  }
2823
2822
  },
2824
2823
  positioner: {
2824
+ "--drawer-z-index": "zIndex.layer-4",
2825
2825
  display: "flex",
2826
2826
  width: "100vw",
2827
2827
  height: "100dvh",
@@ -2829,7 +2829,7 @@ var drawerSlotRecipe = (0, import_react32.defineSlotRecipe)({
2829
2829
  padding: 2,
2830
2830
  insetInlineStart: 0,
2831
2831
  top: 0,
2832
- zIndex: "modal",
2832
+ zIndex: "calc(var(--drawer-z-index) + var(--layer-index, 0))",
2833
2833
  overscrollBehaviorY: "none"
2834
2834
  },
2835
2835
  content: {
@@ -2838,7 +2838,6 @@ var drawerSlotRecipe = (0, import_react32.defineSlotRecipe)({
2838
2838
  position: "relative",
2839
2839
  width: "100%",
2840
2840
  outline: 0,
2841
- "--drawer-z-index": "zIndex.layer-4",
2842
2841
  zIndex: "calc(var(--drawer-z-index) + var(--layer-index, 0))",
2843
2842
  textStyle: "sm",
2844
2843
  maxH: "100dvh",
@@ -2854,6 +2853,10 @@ var drawerSlotRecipe = (0, import_react32.defineSlotRecipe)({
2854
2853
  }
2855
2854
  },
2856
2855
  header: {
2856
+ display: "flex",
2857
+ flexDirection: "row",
2858
+ alignItems: "center",
2859
+ justifyContent: "space-between",
2857
2860
  flex: 0,
2858
2861
  px: "6",
2859
2862
  py: "4"
@@ -2879,10 +2882,6 @@ var drawerSlotRecipe = (0, import_react32.defineSlotRecipe)({
2879
2882
  },
2880
2883
  description: {
2881
2884
  color: "fg.muted"
2882
- },
2883
- closeTrigger: {
2884
- top: "4",
2885
- insetEnd: "4"
2886
2885
  }
2887
2886
  },
2888
2887
  variants: {
@@ -9628,7 +9627,7 @@ var Content = (0, import_react115.forwardRef)(
9628
9627
  }
9629
9628
  );
9630
9629
  var CloseButton3 = (0, import_react115.forwardRef)(function DialogCloseTrigger(props, ref) {
9631
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react116.Dialog.CloseTrigger, { position: "absolute", ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(CloseButton, { size: "sm", ref, children: props.children }) });
9630
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react116.Dialog.CloseTrigger, { ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(CloseButton, { size: "sm", ref, children: props.children }) });
9632
9631
  });
9633
9632
  var CloseTrigger = import_react116.Dialog.CloseTrigger;
9634
9633
  var Root = import_react116.Dialog.Root;
@@ -9671,7 +9670,7 @@ var Content2 = (0, import_react117.forwardRef)(
9671
9670
  );
9672
9671
  var CloseButton4 = (0, import_react117.forwardRef)(function DrawerCloseTrigger(props, ref) {
9673
9672
  const { children, ...rest } = props;
9674
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react118.Drawer.CloseTrigger, { position: "absolute", ...rest, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CloseButton, { size: "sm", ref, children }) });
9673
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react118.Drawer.CloseTrigger, { ...rest, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CloseButton, { size: "sm", ref, children }) });
9675
9674
  });
9676
9675
  var CloseTrigger2 = import_react118.Drawer.CloseTrigger;
9677
9676
  var Trigger2 = import_react118.Drawer.Trigger;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
- Tag
3
- } from "./chunk-IEWHAXXU.js";
2
+ Switch
3
+ } from "./chunk-SA3OGTOO.js";
4
4
  import {
5
5
  Toaster,
6
6
  toast
@@ -11,35 +11,32 @@ import {
11
11
  import {
12
12
  colors
13
13
  } from "./chunk-3MO37LYW.js";
14
+ import {
15
+ sidebar_exports,
16
+ useSidebar,
17
+ useSidebarItemStyles,
18
+ useSidebarStyles
19
+ } from "./chunk-U23VDAWJ.js";
14
20
  import {
15
21
  namespace_exports
16
22
  } from "./chunk-3JZ42NYM.js";
17
23
  import {
18
- SegmentedControl
19
- } from "./chunk-SKXSBAOS.js";
24
+ SearchInput
25
+ } from "./chunk-46ISJZBS.js";
20
26
  import {
21
27
  Status
22
28
  } from "./chunk-YKSY7UOM.js";
23
29
  import {
24
30
  steps_exports
25
31
  } from "./chunk-VZG7EJ64.js";
26
- import {
27
- sidebar_exports,
28
- useSidebar,
29
- useSidebarItemStyles,
30
- useSidebarStyles
31
- } from "./chunk-U23VDAWJ.js";
32
- import {
33
- Switch
34
- } from "./chunk-SA3OGTOO.js";
35
32
  import {
36
33
  Tabs,
37
34
  useTabsContext,
38
35
  useTabsStyles
39
36
  } from "./chunk-IVLUAUU5.js";
40
37
  import {
41
- navbar_exports
42
- } from "./chunk-Q6SNJJO2.js";
38
+ Tag
39
+ } from "./chunk-IEWHAXXU.js";
43
40
  import {
44
41
  PasswordInput
45
42
  } from "./chunk-K2SPPLAY.js";
@@ -48,29 +45,35 @@ import {
48
45
  PersonaAvatar,
49
46
  defaultPresenceOptions
50
47
  } from "./chunk-GWC5GCMW.js";
48
+ import {
49
+ PinInput
50
+ } from "./chunk-2EUACKRH.js";
51
+ import {
52
+ loading_overlay_exports,
53
+ useLoadingOverlayStyles
54
+ } from "./chunk-7VSTNV2B.js";
55
+ import {
56
+ Spinner
57
+ } from "./chunk-32JGENDB.js";
51
58
  import {
52
59
  popover_exports
53
60
  } from "./chunk-KE5AC3TZ.js";
54
61
  import {
55
- PinInput
56
- } from "./chunk-2EUACKRH.js";
62
+ navbar_exports
63
+ } from "./chunk-Q6SNJJO2.js";
57
64
  import {
58
65
  Radio,
59
66
  RadioGroup
60
67
  } from "./chunk-WYLMBMAH.js";
61
68
  import {
62
- menu_exports
63
- } from "./chunk-KFXNVUEZ.js";
64
- import {
65
- SearchInput
66
- } from "./chunk-46ISJZBS.js";
67
- import {
68
- EmptyState
69
- } from "./chunk-NGGISORT.js";
69
+ SegmentedControl
70
+ } from "./chunk-SKXSBAOS.js";
70
71
  import {
71
72
  IconBadge
72
73
  } from "./chunk-I2RXEKTB.js";
73
- import "./chunk-KTLWEUNW.js";
74
+ import {
75
+ IconButton
76
+ } from "./chunk-MS2ELLDY.js";
74
77
  import {
75
78
  Link
76
79
  } from "./chunk-TZBAM4AD.js";
@@ -81,21 +84,18 @@ import {
81
84
  useSui
82
85
  } from "./chunk-O2WVT2BP.js";
83
86
  import {
84
- loading_overlay_exports,
85
- useLoadingOverlayStyles
86
- } from "./chunk-7VSTNV2B.js";
87
- import {
88
- Spinner
89
- } from "./chunk-32JGENDB.js";
90
- import {
91
- pagination_exports
92
- } from "./chunk-MLJN6IOJ.js";
87
+ menu_exports
88
+ } from "./chunk-KFXNVUEZ.js";
89
+ import "./chunk-KTLWEUNW.js";
93
90
  import {
94
91
  NumberInput
95
92
  } from "./chunk-S5J6REMC.js";
96
93
  import {
97
94
  InputGroup
98
95
  } from "./chunk-PKI6YH2V.js";
96
+ import {
97
+ pagination_exports
98
+ } from "./chunk-MLJN6IOJ.js";
99
99
  import {
100
100
  Command
101
101
  } from "./chunk-UASXI64E.js";
@@ -105,11 +105,14 @@ import {
105
105
  } from "./chunk-52XM5VXJ.js";
106
106
  import {
107
107
  dialog_exports
108
- } from "./chunk-CZVNG73V.js";
108
+ } from "./chunk-32DD6PHF.js";
109
109
  import {
110
110
  drawer_exports
111
- } from "./chunk-6MMPBMKN.js";
111
+ } from "./chunk-LTVFG6UC.js";
112
112
  import "./chunk-JMYI6YXR.js";
113
+ import {
114
+ EmptyState
115
+ } from "./chunk-NGGISORT.js";
113
116
  import {
114
117
  file_upload_exports
115
118
  } from "./chunk-GRUMUCSL.js";
@@ -120,9 +123,6 @@ import "./chunk-4TPVIHNO.js";
120
123
  import {
121
124
  grid_list_exports
122
125
  } from "./chunk-NSD5HRIP.js";
123
- import {
124
- IconButton
125
- } from "./chunk-MS2ELLDY.js";
126
126
  import {
127
127
  AppShell
128
128
  } from "./chunk-6ZNR6N2K.js";
@@ -2642,7 +2642,7 @@ var dialogSlotRecipe = defineSlotRecipe4({
2642
2642
  top: 0,
2643
2643
  w: "100vw",
2644
2644
  h: "100dvh",
2645
- zIndex: "modal",
2645
+ zIndex: "calc(var(--dialog-z-index) + var(--layer-index, 0) - 1)",
2646
2646
  _open: {
2647
2647
  animationName: "fade-in",
2648
2648
  animationDuration: "slow"
@@ -2672,7 +2672,6 @@ var dialogSlotRecipe = defineSlotRecipe4({
2672
2672
  outline: 0,
2673
2673
  textStyle: "sm",
2674
2674
  my: "var(--dialog-margin, var(--dialog-base-margin))",
2675
- "--dialog-z-index": "zIndex.layer-4",
2676
2675
  zIndex: "calc(var(--dialog-z-index) + var(--layer-index, 0))",
2677
2676
  layerStyle: "overlay",
2678
2677
  _open: {
@@ -2683,6 +2682,10 @@ var dialogSlotRecipe = defineSlotRecipe4({
2683
2682
  }
2684
2683
  },
2685
2684
  header: {
2685
+ display: "flex",
2686
+ flexDirection: "row",
2687
+ alignItems: "center",
2688
+ justifyContent: "space-between",
2686
2689
  flex: 0,
2687
2690
  px: "6",
2688
2691
  py: "4"
@@ -2708,10 +2711,6 @@ var dialogSlotRecipe = defineSlotRecipe4({
2708
2711
  },
2709
2712
  description: {
2710
2713
  color: "fg.muted"
2711
- },
2712
- closeTrigger: {
2713
- top: "4",
2714
- insetEnd: "4"
2715
2714
  }
2716
2715
  },
2717
2716
  variants: {
@@ -2864,7 +2863,7 @@ var drawerSlotRecipe = defineSlotRecipe5({
2864
2863
  top: 0,
2865
2864
  w: "100vw",
2866
2865
  h: "100dvh",
2867
- zIndex: "modal",
2866
+ zIndex: "calc(var(--drawer-z-index) + var(--layer-index, 0) - 1)",
2868
2867
  _open: {
2869
2868
  animationName: "fade-in",
2870
2869
  animationDuration: "slow"
@@ -2875,6 +2874,7 @@ var drawerSlotRecipe = defineSlotRecipe5({
2875
2874
  }
2876
2875
  },
2877
2876
  positioner: {
2877
+ "--drawer-z-index": "zIndex.layer-4",
2878
2878
  display: "flex",
2879
2879
  width: "100vw",
2880
2880
  height: "100dvh",
@@ -2882,7 +2882,7 @@ var drawerSlotRecipe = defineSlotRecipe5({
2882
2882
  padding: 2,
2883
2883
  insetInlineStart: 0,
2884
2884
  top: 0,
2885
- zIndex: "modal",
2885
+ zIndex: "calc(var(--drawer-z-index) + var(--layer-index, 0))",
2886
2886
  overscrollBehaviorY: "none"
2887
2887
  },
2888
2888
  content: {
@@ -2891,7 +2891,6 @@ var drawerSlotRecipe = defineSlotRecipe5({
2891
2891
  position: "relative",
2892
2892
  width: "100%",
2893
2893
  outline: 0,
2894
- "--drawer-z-index": "zIndex.layer-4",
2895
2894
  zIndex: "calc(var(--drawer-z-index) + var(--layer-index, 0))",
2896
2895
  textStyle: "sm",
2897
2896
  maxH: "100dvh",
@@ -2907,6 +2906,10 @@ var drawerSlotRecipe = defineSlotRecipe5({
2907
2906
  }
2908
2907
  },
2909
2908
  header: {
2909
+ display: "flex",
2910
+ flexDirection: "row",
2911
+ alignItems: "center",
2912
+ justifyContent: "space-between",
2910
2913
  flex: 0,
2911
2914
  px: "6",
2912
2915
  py: "4"
@@ -2932,10 +2935,6 @@ var drawerSlotRecipe = defineSlotRecipe5({
2932
2935
  },
2933
2936
  description: {
2934
2937
  color: "fg.muted"
2935
- },
2936
- closeTrigger: {
2937
- top: "4",
2938
- insetEnd: "4"
2939
2938
  }
2940
2939
  },
2941
2940
  variants: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saas-ui/react",
3
- "version": "3.0.0-alpha.26",
3
+ "version": "3.0.0-alpha.27",
4
4
  "description": "Saas UI - The React component library for startups.",
5
5
  "type": "module",
6
6
  "exports": {