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

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,19 @@
1
1
  # @saas-ui/react
2
2
 
3
+ ## 3.0.0-alpha.28
4
+
5
+ ### Patch Changes
6
+
7
+ - 6a8bf46: Decreased default overlay translucency
8
+ - 6a8bf46: Fix dialog backdrop z-index
9
+
10
+ ## 3.0.0-alpha.27
11
+
12
+ ### Patch Changes
13
+
14
+ - 56b0623: Update with upstream changes
15
+ - 56b0623: Fixed issue where backdrop would render on top of dialog and drawer
16
+
3
17
  ## 3.0.0-alpha.26
4
18
 
5
19
  ### Patch Changes
@@ -235,11 +249,187 @@
235
249
 
236
250
  - v3 alpha release
237
251
 
252
+ ## 2.11.4
253
+
254
+ ### Patch Changes
255
+
256
+ - Updated dependencies [091fd38]
257
+ - @saas-ui/forms@2.11.0
258
+ - @saas-ui/modals@2.4.4
259
+ - @saas-ui/data-table@13.0.4
260
+
261
+ ## 2.11.3
262
+
263
+ ### Patch Changes
264
+
265
+ - Updated dependencies [eb53116]
266
+ - @saas-ui/forms@2.10.0
267
+ - @saas-ui/modals@2.4.3
268
+ - @saas-ui/data-table@13.0.3
269
+
270
+ ## 2.11.2
271
+
272
+ ### Patch Changes
273
+
274
+ - 862937a: Bump chakra version
275
+ - Updated dependencies [862937a]
276
+ - @saas-ui/data-table@13.0.2
277
+ - @saas-ui/nprogress@2.2.1
278
+ - @saas-ui/hotkeys@2.5.1
279
+ - @saas-ui/modals@2.4.2
280
+ - @saas-ui/forms@2.9.1
281
+ - @saas-ui/theme@2.6.1
282
+ - @saas-ui/core@2.8.1
283
+
284
+ ## 2.11.1
285
+
286
+ ### Patch Changes
287
+
288
+ - Updated dependencies [a69829a]
289
+ - @saas-ui/hooks@2.3.0
290
+ - @saas-ui/modals@2.4.1
291
+ - @saas-ui/data-table@13.0.1
292
+
293
+ ## 2.11.0
294
+
295
+ ### Minor Changes
296
+
297
+ - 803ede7: Updated Chakra UI version range to >=2.9.0 <3
298
+
299
+ ### Patch Changes
300
+
301
+ - Updated dependencies [803ede7]
302
+ - @saas-ui/data-table@13.0.0
303
+ - @saas-ui/nprogress@2.2.0
304
+ - @saas-ui/hotkeys@2.5.0
305
+ - @saas-ui/modals@2.4.0
306
+ - @saas-ui/forms@2.9.0
307
+ - @saas-ui/hooks@2.2.0
308
+ - @saas-ui/theme@2.6.0
309
+ - @saas-ui/core@2.8.0
310
+
311
+ ## 2.10.5
312
+
313
+ ### Patch Changes
314
+
315
+ - c9daf50: Fixed issue where link component prop would not be passed to NavItem
316
+ - Updated dependencies [c9daf50]
317
+ - @saas-ui/core@2.7.2
318
+ - @saas-ui/data-table@12.0.5
319
+ - @saas-ui/forms@2.8.2
320
+ - @saas-ui/hotkeys@2.4.2
321
+ - @saas-ui/modals@2.3.5
322
+
323
+ ## 2.10.4
324
+
325
+ ### Patch Changes
326
+
327
+ - a863a5e: Updated package type to fix next 15 support
328
+ - Updated dependencies [a863a5e]
329
+ - @saas-ui/modals@2.3.4
330
+ - @saas-ui/data-table@12.0.4
331
+
332
+ ## 2.10.3
333
+
238
334
  ### Patch Changes
239
335
 
240
336
  - Updated dependencies
337
+ <<<<<<< HEAD
241
338
  - @saas-ui/hooks@3.0.0-alpha.0
242
- - @saas-ui/core@3.0.0-alpha.0
339
+ - # @saas-ui/core@3.0.0-alpha.0
340
+ - @saas-ui/modals@2.3.3
341
+ - @saas-ui/data-table@12.0.3
342
+
343
+ ## 2.10.2
344
+
345
+ ### Patch Changes
346
+
347
+ - 7669720: Fixed publint issues
348
+ - Updated dependencies [7669720]
349
+ - @saas-ui/modals@2.3.2
350
+ - @saas-ui/data-table@12.0.2
351
+
352
+ ## 2.10.1
353
+
354
+ ### Patch Changes
355
+
356
+ - 5e24ec4: Fixed issue where as prop on NavItem would always be overruled by internal Link prop if href is passed
357
+ - Updated dependencies [5e24ec4]
358
+ - @saas-ui/core@2.7.1
359
+ - @saas-ui/data-table@12.0.1
360
+ - @saas-ui/forms@2.8.1
361
+ - @saas-ui/hotkeys@2.4.1
362
+ - @saas-ui/modals@2.3.1
363
+
364
+ ## 2.10.0
365
+
366
+ ### Minor Changes
367
+
368
+ - fc799df: Removed deprecated Chakra UI dependency
369
+
370
+ ### Patch Changes
371
+
372
+ - Updated dependencies [fc799df]
373
+ - @saas-ui/hotkeys@2.4.0
374
+ - @saas-ui/modals@2.3.0
375
+ - @saas-ui/forms@2.8.0
376
+ - @saas-ui/core@2.7.0
377
+ - @saas-ui/data-table@12.0.0
378
+
379
+ ## 2.9.1
380
+
381
+ ### Patch Changes
382
+
383
+ - f0ee3db: Updated to Chakra 2.10
384
+ - Updated dependencies [f0ee3db]
385
+ - @saas-ui/data-table@11.0.1
386
+ - @saas-ui/nprogress@2.1.1
387
+ - @saas-ui/hotkeys@2.3.1
388
+ - @saas-ui/modals@2.2.1
389
+ - @saas-ui/forms@2.7.1
390
+ - @saas-ui/theme@2.5.1
391
+ - @saas-ui/core@2.6.1
392
+
393
+ ## 2.9.0
394
+
395
+ ### Minor Changes
396
+
397
+ - 2ac496a: Upgraded to Chakra UI v2.9.3
398
+
399
+ ### Patch Changes
400
+
401
+ - Updated dependencies [2ac496a]
402
+ - @saas-ui/data-table@11.0.0
403
+ - @saas-ui/nprogress@2.1.0
404
+ - @saas-ui/hotkeys@2.3.0
405
+ - @saas-ui/modals@2.2.0
406
+ - @saas-ui/forms@2.7.0
407
+ - @saas-ui/hooks@2.1.0
408
+ - @saas-ui/theme@2.5.0
409
+ - @saas-ui/core@2.6.0
410
+
411
+ ## 2.8.11
412
+
413
+ ### Patch Changes
414
+
415
+ - 5e000e0: Removed background color from loading overlay fill variant
416
+ - Updated dependencies [5e000e0]
417
+ - @saas-ui/theme@2.4.2
418
+ - @saas-ui/core@2.5.6
419
+ - @saas-ui/data-table@10.0.11
420
+ - @saas-ui/forms@2.6.11
421
+ - @saas-ui/hotkeys@2.2.14
422
+ - @saas-ui/modals@2.1.41
423
+
424
+ ## 2.8.10
425
+
426
+ ### Patch Changes
427
+
428
+ - Updated dependencies [fc2203a]
429
+ - @saas-ui/forms@2.6.10
430
+ - @saas-ui/modals@2.1.40
431
+ - @saas-ui/data-table@10.0.10
432
+ > > > > > > > v3
243
433
 
244
434
  ## 2.8.9
245
435
 
@@ -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;
@@ -152,10 +152,10 @@ function IconBase(props) {
152
152
 
153
153
  // ../../node_modules/react-icons/lu/index.mjs
154
154
  function LuEyeOff(props) {
155
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }, "child": [] }, { "tag": "path", "attr": { "d": "M14.084 14.158a3 3 0 0 1-4.242-4.242" }, "child": [] }, { "tag": "path", "attr": { "d": "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }, "child": [] }, { "tag": "path", "attr": { "d": "m2 2 20 20" }, "child": [] }] })(props);
155
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M9.88 9.88a3 3 0 1 0 4.24 4.24" }, "child": [] }, { "tag": "path", "attr": { "d": "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }, "child": [] }, { "tag": "path", "attr": { "d": "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }, "child": [] }, { "tag": "line", "attr": { "x1": "2", "x2": "22", "y1": "2", "y2": "22" }, "child": [] }] })(props);
156
156
  }
157
157
  function LuEye(props) {
158
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
158
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
159
159
  }
160
160
 
161
161
  // src/components/password-input/password-input.tsx
@@ -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";
@@ -179,10 +179,10 @@ function IconBase(props) {
179
179
 
180
180
  // ../../node_modules/react-icons/lu/index.mjs
181
181
  function LuEyeOff(props) {
182
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }, "child": [] }, { "tag": "path", "attr": { "d": "M14.084 14.158a3 3 0 0 1-4.242-4.242" }, "child": [] }, { "tag": "path", "attr": { "d": "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }, "child": [] }, { "tag": "path", "attr": { "d": "m2 2 20 20" }, "child": [] }] })(props);
182
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M9.88 9.88a3 3 0 1 0 4.24 4.24" }, "child": [] }, { "tag": "path", "attr": { "d": "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }, "child": [] }, { "tag": "path", "attr": { "d": "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }, "child": [] }, { "tag": "line", "attr": { "x1": "2", "x2": "22", "y1": "2", "y2": "22" }, "child": [] }] })(props);
183
183
  }
184
184
  function LuEye(props) {
185
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
185
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
186
186
  }
187
187
 
188
188
  // src/components/input-group/input-group.tsx
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  PasswordInput
4
- } from "../../chunk-K2SPPLAY.js";
4
+ } from "../../chunk-CD2JUFI2.js";
5
5
  import "../../chunk-PKI6YH2V.js";
6
6
  import "../../chunk-RTMS5TJN.js";
7
7
  export {
package/dist/index.cjs CHANGED
@@ -226,7 +226,7 @@ var globalCss = (0, import_react3.defineGlobalStyles)({
226
226
  // '--radius-indicator': '1',
227
227
  "--radius-full": "9999px",
228
228
  "--scale-factor": "1",
229
- "--overlay-translucency": "90%",
229
+ "--overlay-translucency": "95%",
230
230
  "--overlay-effect": "blur({blurs.lg})",
231
231
  "--backdrop-effect": "none"
232
232
  },
@@ -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(--z-index) - 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(--z-index) - 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;
@@ -10360,10 +10359,10 @@ function IconBase(props) {
10360
10359
 
10361
10360
  // ../../node_modules/react-icons/lu/index.mjs
10362
10361
  function LuEyeOff(props) {
10363
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }, "child": [] }, { "tag": "path", "attr": { "d": "M14.084 14.158a3 3 0 0 1-4.242-4.242" }, "child": [] }, { "tag": "path", "attr": { "d": "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }, "child": [] }, { "tag": "path", "attr": { "d": "m2 2 20 20" }, "child": [] }] })(props);
10362
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M9.88 9.88a3 3 0 1 0 4.24 4.24" }, "child": [] }, { "tag": "path", "attr": { "d": "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }, "child": [] }, { "tag": "path", "attr": { "d": "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }, "child": [] }, { "tag": "line", "attr": { "x1": "2", "x2": "22", "y1": "2", "y2": "22" }, "child": [] }] })(props);
10364
10363
  }
10365
10364
  function LuEye(props) {
10366
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
10365
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
10367
10366
  }
10368
10367
 
10369
10368
  // src/components/password-input/password-input.tsx
package/dist/index.js CHANGED
@@ -11,24 +11,24 @@ import {
11
11
  import {
12
12
  colors
13
13
  } from "./chunk-3MO37LYW.js";
14
- import {
15
- namespace_exports
16
- } from "./chunk-3JZ42NYM.js";
17
14
  import {
18
15
  SegmentedControl
19
16
  } from "./chunk-SKXSBAOS.js";
20
17
  import {
21
- Status
22
- } from "./chunk-YKSY7UOM.js";
23
- import {
24
- steps_exports
25
- } from "./chunk-VZG7EJ64.js";
18
+ namespace_exports
19
+ } from "./chunk-3JZ42NYM.js";
26
20
  import {
27
21
  sidebar_exports,
28
22
  useSidebar,
29
23
  useSidebarItemStyles,
30
24
  useSidebarStyles
31
25
  } from "./chunk-U23VDAWJ.js";
26
+ import {
27
+ Status
28
+ } from "./chunk-YKSY7UOM.js";
29
+ import {
30
+ steps_exports
31
+ } from "./chunk-VZG7EJ64.js";
32
32
  import {
33
33
  Switch
34
34
  } from "./chunk-SA3OGTOO.js";
@@ -38,48 +38,44 @@ import {
38
38
  useTabsStyles
39
39
  } from "./chunk-IVLUAUU5.js";
40
40
  import {
41
- navbar_exports
42
- } from "./chunk-Q6SNJJO2.js";
41
+ NumberInput
42
+ } from "./chunk-S5J6REMC.js";
43
+ import {
44
+ pagination_exports
45
+ } from "./chunk-MLJN6IOJ.js";
43
46
  import {
44
47
  PasswordInput
45
- } from "./chunk-K2SPPLAY.js";
48
+ } from "./chunk-CD2JUFI2.js";
46
49
  import {
47
50
  Persona,
48
51
  PersonaAvatar,
49
52
  defaultPresenceOptions
50
53
  } from "./chunk-GWC5GCMW.js";
51
- import {
52
- popover_exports
53
- } from "./chunk-KE5AC3TZ.js";
54
54
  import {
55
55
  PinInput
56
56
  } from "./chunk-2EUACKRH.js";
57
+ import {
58
+ popover_exports
59
+ } from "./chunk-KE5AC3TZ.js";
57
60
  import {
58
61
  Radio,
59
62
  RadioGroup
60
63
  } from "./chunk-WYLMBMAH.js";
61
- import {
62
- menu_exports
63
- } from "./chunk-KFXNVUEZ.js";
64
64
  import {
65
65
  SearchInput
66
66
  } from "./chunk-46ISJZBS.js";
67
- import {
68
- EmptyState
69
- } from "./chunk-NGGISORT.js";
70
67
  import {
71
68
  IconBadge
72
69
  } from "./chunk-I2RXEKTB.js";
73
- import "./chunk-KTLWEUNW.js";
70
+ import {
71
+ IconButton
72
+ } from "./chunk-MS2ELLDY.js";
73
+ import {
74
+ InputGroup
75
+ } from "./chunk-PKI6YH2V.js";
74
76
  import {
75
77
  Link
76
78
  } from "./chunk-TZBAM4AD.js";
77
- import {
78
- SuiContext,
79
- SuiProvider,
80
- useLink,
81
- useSui
82
- } from "./chunk-O2WVT2BP.js";
83
79
  import {
84
80
  loading_overlay_exports,
85
81
  useLoadingOverlayStyles
@@ -88,14 +84,18 @@ import {
88
84
  Spinner
89
85
  } from "./chunk-32JGENDB.js";
90
86
  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
- NumberInput
95
- } from "./chunk-S5J6REMC.js";
91
+ navbar_exports
92
+ } from "./chunk-Q6SNJJO2.js";
96
93
  import {
97
- InputGroup
98
- } from "./chunk-PKI6YH2V.js";
94
+ SuiContext,
95
+ SuiProvider,
96
+ useLink,
97
+ useSui
98
+ } from "./chunk-O2WVT2BP.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";
@@ -279,7 +279,7 @@ var globalCss = defineGlobalStyles({
279
279
  // '--radius-indicator': '1',
280
280
  "--radius-full": "9999px",
281
281
  "--scale-factor": "1",
282
- "--overlay-translucency": "90%",
282
+ "--overlay-translucency": "95%",
283
283
  "--overlay-effect": "blur({blurs.lg})",
284
284
  "--backdrop-effect": "none"
285
285
  },
@@ -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(--z-index) - 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(--z-index) - 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.28",
4
4
  "description": "Saas UI - The React component library for startups.",
5
5
  "type": "module",
6
6
  "exports": {