@saas-ui/react 3.0.0-alpha.25 → 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 +190 -1
- package/dist/{chunk-CZVNG73V.js → chunk-32DD6PHF.js} +1 -1
- package/dist/{chunk-6MMPBMKN.js → chunk-LTVFG6UC.js} +1 -1
- package/dist/components/dialog/index.cjs +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/drawer/index.cjs +1 -1
- package/dist/components/drawer/index.js +1 -1
- package/dist/index.cjs +60 -35
- package/dist/index.js +100 -75
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
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
|
+
|
10
|
+
## 3.0.0-alpha.26
|
11
|
+
|
12
|
+
### Patch Changes
|
13
|
+
|
14
|
+
- c51e12c: Improved radii tokens
|
15
|
+
|
3
16
|
## 3.0.0-alpha.25
|
4
17
|
|
5
18
|
### Minor Changes
|
@@ -229,11 +242,187 @@
|
|
229
242
|
|
230
243
|
- v3 alpha release
|
231
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
|
+
|
232
327
|
### Patch Changes
|
233
328
|
|
234
329
|
- Updated dependencies
|
330
|
+
<<<<<<< HEAD
|
235
331
|
- @saas-ui/hooks@3.0.0-alpha.0
|
236
|
-
- @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
|
237
426
|
|
238
427
|
## 2.8.9
|
239
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, {
|
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, {
|
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, {
|
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;
|
@@ -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, {
|
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;
|
package/dist/index.cjs
CHANGED
@@ -220,10 +220,10 @@ var globalCss = (0, import_react3.defineGlobalStyles)({
|
|
220
220
|
"--global-font-body": "fonts.body",
|
221
221
|
"--global-color-border": "colors.border",
|
222
222
|
"--cursor-button": "default",
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
223
|
+
// '--radius-factor': '1',
|
224
|
+
// '--radius-control': '1',
|
225
|
+
// '--radius-panel': '1',
|
226
|
+
// '--radius-indicator': '1',
|
227
227
|
"--radius-full": "9999px",
|
228
228
|
"--scale-factor": "1",
|
229
229
|
"--overlay-translucency": "90%",
|
@@ -477,7 +477,7 @@ var buttonRecipe = (0, import_react6.defineRecipe)({
|
|
477
477
|
h: "6",
|
478
478
|
minW: "6",
|
479
479
|
textStyle: "xs",
|
480
|
-
borderRadius: "sm",
|
480
|
+
borderRadius: "control.sm",
|
481
481
|
px: "2"
|
482
482
|
},
|
483
483
|
sm: {
|
@@ -485,14 +485,14 @@ var buttonRecipe = (0, import_react6.defineRecipe)({
|
|
485
485
|
h: "7",
|
486
486
|
minW: "7",
|
487
487
|
textStyle: "sm",
|
488
|
-
borderRadius: "md",
|
488
|
+
borderRadius: "control.md",
|
489
489
|
px: "2.5"
|
490
490
|
},
|
491
491
|
md: {
|
492
492
|
gap: "2",
|
493
493
|
h: "8",
|
494
494
|
minW: "8",
|
495
|
-
borderRadius: "md",
|
495
|
+
borderRadius: "control.md",
|
496
496
|
textStyle: "sm",
|
497
497
|
px: "3"
|
498
498
|
},
|
@@ -500,7 +500,7 @@ var buttonRecipe = (0, import_react6.defineRecipe)({
|
|
500
500
|
gap: "3",
|
501
501
|
h: "10",
|
502
502
|
minW: "10",
|
503
|
-
borderRadius: "lg",
|
503
|
+
borderRadius: "control.lg",
|
504
504
|
textStyle: "md",
|
505
505
|
px: "4.5"
|
506
506
|
},
|
@@ -508,7 +508,7 @@ var buttonRecipe = (0, import_react6.defineRecipe)({
|
|
508
508
|
gap: "3",
|
509
509
|
h: "12",
|
510
510
|
minW: "12",
|
511
|
-
borderRadius: "lg",
|
511
|
+
borderRadius: "control.lg",
|
512
512
|
textStyle: "lg",
|
513
513
|
px: "6"
|
514
514
|
}
|
@@ -2230,35 +2230,35 @@ var semanticRadii = import_react26.defineSemanticTokens.radii({
|
|
2230
2230
|
l3: { value: "{radii.md}" },
|
2231
2231
|
control: {
|
2232
2232
|
sm: {
|
2233
|
-
value: "calc({radii.xs} * var(--scale-factor) * var(--radius-control))"
|
2233
|
+
value: "calc({radii.xs} * var(--scale-factor, 1) * var(--radius-control, 1))"
|
2234
2234
|
},
|
2235
2235
|
md: {
|
2236
|
-
value: "calc({radii.sm} * var(--scale-factor) * var(--radius-control))"
|
2236
|
+
value: "calc({radii.sm} * var(--scale-factor, 1) * var(--radius-control, 1))"
|
2237
2237
|
},
|
2238
2238
|
lg: {
|
2239
|
-
value: "calc({radii.md} * var(--scale-factor) * var(--radius-control))"
|
2239
|
+
value: "calc({radii.md} * var(--scale-factor, 1) * var(--radius-control, 1))"
|
2240
2240
|
}
|
2241
2241
|
},
|
2242
2242
|
panel: {
|
2243
2243
|
sm: {
|
2244
|
-
value: "calc({radii.sm} * var(--scale-factor) * var(--radius-panel))"
|
2244
|
+
value: "calc({radii.sm} * var(--scale-factor, 1) * var(--radius-panel, 1))"
|
2245
2245
|
},
|
2246
2246
|
md: {
|
2247
|
-
value: "calc({radii.md} * var(--scale-factor) * var(--radius-panel))"
|
2247
|
+
value: "calc({radii.md} * var(--scale-factor, 1) * var(--radius-panel, 1 ))"
|
2248
2248
|
},
|
2249
2249
|
lg: {
|
2250
|
-
value: "calc({radii.lg} * var(--scale-factor) * var(--radius-panel))"
|
2250
|
+
value: "calc({radii.lg} * var(--scale-factor, 1) * var(--radius-panel, 1))"
|
2251
2251
|
}
|
2252
2252
|
},
|
2253
2253
|
indicator: {
|
2254
2254
|
sm: {
|
2255
|
-
value: "calc({radii.xs} * var(--scale-factor) * var(--radius-indicator))"
|
2255
|
+
value: "calc({radii.xs} * var(--scale-factor, 1) * var(--radius-indicator, 1))"
|
2256
2256
|
},
|
2257
2257
|
md: {
|
2258
|
-
value: "calc({radii.sm} * var(--scale-factor) * var(--radius-indicator))"
|
2258
|
+
value: "calc({radii.sm} * var(--scale-factor, 1) * var(--radius-indicator, 1 ))"
|
2259
2259
|
},
|
2260
2260
|
lg: {
|
2261
|
-
value: "calc({radii.md} * var(--scale-factor) * var(--radius-indicator))"
|
2261
|
+
value: "calc({radii.md} * var(--scale-factor, 1) * var(--radius-indicator, 1))"
|
2262
2262
|
}
|
2263
2263
|
}
|
2264
2264
|
});
|
@@ -2589,7 +2589,7 @@ var dialogSlotRecipe = (0, import_react31.defineSlotRecipe)({
|
|
2589
2589
|
top: 0,
|
2590
2590
|
w: "100vw",
|
2591
2591
|
h: "100dvh",
|
2592
|
-
zIndex: "
|
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: "
|
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: "
|
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: {
|
@@ -4029,18 +4028,44 @@ var sidebarNavItemSlotRecipe = (0, import_react42.defineSlotRecipe)({
|
|
4029
4028
|
}
|
4030
4029
|
},
|
4031
4030
|
size: {
|
4031
|
+
sm: {
|
4032
|
+
item: {
|
4033
|
+
fontSize: "sm"
|
4034
|
+
},
|
4035
|
+
button: {
|
4036
|
+
borderRadius: "control.md",
|
4037
|
+
px: 1.5,
|
4038
|
+
height: 7
|
4039
|
+
},
|
4040
|
+
endElement: {
|
4041
|
+
pe: "1"
|
4042
|
+
}
|
4043
|
+
},
|
4032
4044
|
md: {
|
4033
4045
|
item: {
|
4034
4046
|
fontSize: "sm"
|
4035
4047
|
},
|
4036
4048
|
button: {
|
4037
|
-
borderRadius: "md",
|
4038
|
-
px:
|
4049
|
+
borderRadius: "control.md",
|
4050
|
+
px: 3,
|
4039
4051
|
height: 8
|
4040
4052
|
},
|
4041
4053
|
endElement: {
|
4042
4054
|
pe: "1"
|
4043
4055
|
}
|
4056
|
+
},
|
4057
|
+
lg: {
|
4058
|
+
item: {
|
4059
|
+
fontSize: "sm"
|
4060
|
+
},
|
4061
|
+
button: {
|
4062
|
+
borderRadius: "control.lg",
|
4063
|
+
px: 3,
|
4064
|
+
height: 10
|
4065
|
+
},
|
4066
|
+
endElement: {
|
4067
|
+
pe: "1"
|
4068
|
+
}
|
4044
4069
|
}
|
4045
4070
|
}
|
4046
4071
|
},
|
@@ -9602,7 +9627,7 @@ var Content = (0, import_react115.forwardRef)(
|
|
9602
9627
|
}
|
9603
9628
|
);
|
9604
9629
|
var CloseButton3 = (0, import_react115.forwardRef)(function DialogCloseTrigger(props, ref) {
|
9605
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react116.Dialog.CloseTrigger, {
|
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 }) });
|
9606
9631
|
});
|
9607
9632
|
var CloseTrigger = import_react116.Dialog.CloseTrigger;
|
9608
9633
|
var Root = import_react116.Dialog.Root;
|
@@ -9645,7 +9670,7 @@ var Content2 = (0, import_react117.forwardRef)(
|
|
9645
9670
|
);
|
9646
9671
|
var CloseButton4 = (0, import_react117.forwardRef)(function DrawerCloseTrigger(props, ref) {
|
9647
9672
|
const { children, ...rest } = props;
|
9648
|
-
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react118.Drawer.CloseTrigger, {
|
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 }) });
|
9649
9674
|
});
|
9650
9675
|
var CloseTrigger2 = import_react118.Drawer.CloseTrigger;
|
9651
9676
|
var Trigger2 = import_react118.Drawer.Trigger;
|
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
} from "./chunk-
|
2
|
+
Switch
|
3
|
+
} from "./chunk-SA3OGTOO.js";
|
4
4
|
import {
|
5
5
|
Toaster,
|
6
6
|
toast
|
@@ -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
|
-
import {
|
18
|
-
SegmentedControl
|
19
|
-
} from "./chunk-SKXSBAOS.js";
|
20
14
|
import {
|
21
15
|
sidebar_exports,
|
22
16
|
useSidebar,
|
23
17
|
useSidebarItemStyles,
|
24
18
|
useSidebarStyles
|
25
19
|
} from "./chunk-U23VDAWJ.js";
|
20
|
+
import {
|
21
|
+
namespace_exports
|
22
|
+
} from "./chunk-3JZ42NYM.js";
|
23
|
+
import {
|
24
|
+
SearchInput
|
25
|
+
} from "./chunk-46ISJZBS.js";
|
26
|
+
import {
|
27
|
+
Status
|
28
|
+
} from "./chunk-YKSY7UOM.js";
|
26
29
|
import {
|
27
30
|
steps_exports
|
28
31
|
} from "./chunk-VZG7EJ64.js";
|
29
|
-
import {
|
30
|
-
Switch
|
31
|
-
} from "./chunk-SA3OGTOO.js";
|
32
32
|
import {
|
33
33
|
Tabs,
|
34
34
|
useTabsContext,
|
@@ -37,12 +37,6 @@ import {
|
|
37
37
|
import {
|
38
38
|
Tag
|
39
39
|
} from "./chunk-IEWHAXXU.js";
|
40
|
-
import {
|
41
|
-
NumberInput
|
42
|
-
} from "./chunk-S5J6REMC.js";
|
43
|
-
import {
|
44
|
-
pagination_exports
|
45
|
-
} from "./chunk-MLJN6IOJ.js";
|
46
40
|
import {
|
47
41
|
PasswordInput
|
48
42
|
} from "./chunk-K2SPPLAY.js";
|
@@ -54,48 +48,54 @@ import {
|
|
54
48
|
import {
|
55
49
|
PinInput
|
56
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";
|
57
58
|
import {
|
58
59
|
popover_exports
|
59
60
|
} from "./chunk-KE5AC3TZ.js";
|
61
|
+
import {
|
62
|
+
navbar_exports
|
63
|
+
} from "./chunk-Q6SNJJO2.js";
|
60
64
|
import {
|
61
65
|
Radio,
|
62
66
|
RadioGroup
|
63
67
|
} from "./chunk-WYLMBMAH.js";
|
64
68
|
import {
|
65
|
-
|
66
|
-
} from "./chunk-
|
67
|
-
import {
|
68
|
-
IconButton
|
69
|
-
} from "./chunk-MS2ELLDY.js";
|
69
|
+
SegmentedControl
|
70
|
+
} from "./chunk-SKXSBAOS.js";
|
70
71
|
import {
|
71
72
|
IconBadge
|
72
73
|
} from "./chunk-I2RXEKTB.js";
|
73
74
|
import {
|
74
|
-
|
75
|
-
} from "./chunk-
|
75
|
+
IconButton
|
76
|
+
} from "./chunk-MS2ELLDY.js";
|
76
77
|
import {
|
77
78
|
Link
|
78
79
|
} from "./chunk-TZBAM4AD.js";
|
79
80
|
import {
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
} from "./chunk-32JGENDB.js";
|
81
|
+
SuiContext,
|
82
|
+
SuiProvider,
|
83
|
+
useLink,
|
84
|
+
useSui
|
85
|
+
} from "./chunk-O2WVT2BP.js";
|
86
86
|
import {
|
87
87
|
menu_exports
|
88
88
|
} from "./chunk-KFXNVUEZ.js";
|
89
89
|
import "./chunk-KTLWEUNW.js";
|
90
90
|
import {
|
91
|
-
|
92
|
-
} from "./chunk-
|
91
|
+
NumberInput
|
92
|
+
} from "./chunk-S5J6REMC.js";
|
93
93
|
import {
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
} from "./chunk-
|
94
|
+
InputGroup
|
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";
|
@@ -103,16 +103,16 @@ import {
|
|
103
103
|
DataList,
|
104
104
|
useDataListStyles
|
105
105
|
} from "./chunk-52XM5VXJ.js";
|
106
|
+
import {
|
107
|
+
dialog_exports
|
108
|
+
} from "./chunk-32DD6PHF.js";
|
106
109
|
import {
|
107
110
|
drawer_exports
|
108
|
-
} from "./chunk-
|
111
|
+
} from "./chunk-LTVFG6UC.js";
|
112
|
+
import "./chunk-JMYI6YXR.js";
|
109
113
|
import {
|
110
114
|
EmptyState
|
111
115
|
} from "./chunk-NGGISORT.js";
|
112
|
-
import {
|
113
|
-
dialog_exports
|
114
|
-
} from "./chunk-CZVNG73V.js";
|
115
|
-
import "./chunk-JMYI6YXR.js";
|
116
116
|
import {
|
117
117
|
file_upload_exports
|
118
118
|
} from "./chunk-GRUMUCSL.js";
|
@@ -273,10 +273,10 @@ var globalCss = defineGlobalStyles({
|
|
273
273
|
"--global-font-body": "fonts.body",
|
274
274
|
"--global-color-border": "colors.border",
|
275
275
|
"--cursor-button": "default",
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
276
|
+
// '--radius-factor': '1',
|
277
|
+
// '--radius-control': '1',
|
278
|
+
// '--radius-panel': '1',
|
279
|
+
// '--radius-indicator': '1',
|
280
280
|
"--radius-full": "9999px",
|
281
281
|
"--scale-factor": "1",
|
282
282
|
"--overlay-translucency": "90%",
|
@@ -530,7 +530,7 @@ var buttonRecipe = defineRecipe2({
|
|
530
530
|
h: "6",
|
531
531
|
minW: "6",
|
532
532
|
textStyle: "xs",
|
533
|
-
borderRadius: "sm",
|
533
|
+
borderRadius: "control.sm",
|
534
534
|
px: "2"
|
535
535
|
},
|
536
536
|
sm: {
|
@@ -538,14 +538,14 @@ var buttonRecipe = defineRecipe2({
|
|
538
538
|
h: "7",
|
539
539
|
minW: "7",
|
540
540
|
textStyle: "sm",
|
541
|
-
borderRadius: "md",
|
541
|
+
borderRadius: "control.md",
|
542
542
|
px: "2.5"
|
543
543
|
},
|
544
544
|
md: {
|
545
545
|
gap: "2",
|
546
546
|
h: "8",
|
547
547
|
minW: "8",
|
548
|
-
borderRadius: "md",
|
548
|
+
borderRadius: "control.md",
|
549
549
|
textStyle: "sm",
|
550
550
|
px: "3"
|
551
551
|
},
|
@@ -553,7 +553,7 @@ var buttonRecipe = defineRecipe2({
|
|
553
553
|
gap: "3",
|
554
554
|
h: "10",
|
555
555
|
minW: "10",
|
556
|
-
borderRadius: "lg",
|
556
|
+
borderRadius: "control.lg",
|
557
557
|
textStyle: "md",
|
558
558
|
px: "4.5"
|
559
559
|
},
|
@@ -561,7 +561,7 @@ var buttonRecipe = defineRecipe2({
|
|
561
561
|
gap: "3",
|
562
562
|
h: "12",
|
563
563
|
minW: "12",
|
564
|
-
borderRadius: "lg",
|
564
|
+
borderRadius: "control.lg",
|
565
565
|
textStyle: "lg",
|
566
566
|
px: "6"
|
567
567
|
}
|
@@ -2283,35 +2283,35 @@ var semanticRadii = defineSemanticTokens2.radii({
|
|
2283
2283
|
l3: { value: "{radii.md}" },
|
2284
2284
|
control: {
|
2285
2285
|
sm: {
|
2286
|
-
value: "calc({radii.xs} * var(--scale-factor) * var(--radius-control))"
|
2286
|
+
value: "calc({radii.xs} * var(--scale-factor, 1) * var(--radius-control, 1))"
|
2287
2287
|
},
|
2288
2288
|
md: {
|
2289
|
-
value: "calc({radii.sm} * var(--scale-factor) * var(--radius-control))"
|
2289
|
+
value: "calc({radii.sm} * var(--scale-factor, 1) * var(--radius-control, 1))"
|
2290
2290
|
},
|
2291
2291
|
lg: {
|
2292
|
-
value: "calc({radii.md} * var(--scale-factor) * var(--radius-control))"
|
2292
|
+
value: "calc({radii.md} * var(--scale-factor, 1) * var(--radius-control, 1))"
|
2293
2293
|
}
|
2294
2294
|
},
|
2295
2295
|
panel: {
|
2296
2296
|
sm: {
|
2297
|
-
value: "calc({radii.sm} * var(--scale-factor) * var(--radius-panel))"
|
2297
|
+
value: "calc({radii.sm} * var(--scale-factor, 1) * var(--radius-panel, 1))"
|
2298
2298
|
},
|
2299
2299
|
md: {
|
2300
|
-
value: "calc({radii.md} * var(--scale-factor) * var(--radius-panel))"
|
2300
|
+
value: "calc({radii.md} * var(--scale-factor, 1) * var(--radius-panel, 1 ))"
|
2301
2301
|
},
|
2302
2302
|
lg: {
|
2303
|
-
value: "calc({radii.lg} * var(--scale-factor) * var(--radius-panel))"
|
2303
|
+
value: "calc({radii.lg} * var(--scale-factor, 1) * var(--radius-panel, 1))"
|
2304
2304
|
}
|
2305
2305
|
},
|
2306
2306
|
indicator: {
|
2307
2307
|
sm: {
|
2308
|
-
value: "calc({radii.xs} * var(--scale-factor) * var(--radius-indicator))"
|
2308
|
+
value: "calc({radii.xs} * var(--scale-factor, 1) * var(--radius-indicator, 1))"
|
2309
2309
|
},
|
2310
2310
|
md: {
|
2311
|
-
value: "calc({radii.sm} * var(--scale-factor) * var(--radius-indicator))"
|
2311
|
+
value: "calc({radii.sm} * var(--scale-factor, 1) * var(--radius-indicator, 1 ))"
|
2312
2312
|
},
|
2313
2313
|
lg: {
|
2314
|
-
value: "calc({radii.md} * var(--scale-factor) * var(--radius-indicator))"
|
2314
|
+
value: "calc({radii.md} * var(--scale-factor, 1) * var(--radius-indicator, 1))"
|
2315
2315
|
}
|
2316
2316
|
}
|
2317
2317
|
});
|
@@ -2642,7 +2642,7 @@ var dialogSlotRecipe = defineSlotRecipe4({
|
|
2642
2642
|
top: 0,
|
2643
2643
|
w: "100vw",
|
2644
2644
|
h: "100dvh",
|
2645
|
-
zIndex: "
|
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: "
|
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: "
|
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: {
|
@@ -4085,18 +4084,44 @@ var sidebarNavItemSlotRecipe = defineSlotRecipe15({
|
|
4085
4084
|
}
|
4086
4085
|
},
|
4087
4086
|
size: {
|
4087
|
+
sm: {
|
4088
|
+
item: {
|
4089
|
+
fontSize: "sm"
|
4090
|
+
},
|
4091
|
+
button: {
|
4092
|
+
borderRadius: "control.md",
|
4093
|
+
px: 1.5,
|
4094
|
+
height: 7
|
4095
|
+
},
|
4096
|
+
endElement: {
|
4097
|
+
pe: "1"
|
4098
|
+
}
|
4099
|
+
},
|
4088
4100
|
md: {
|
4089
4101
|
item: {
|
4090
4102
|
fontSize: "sm"
|
4091
4103
|
},
|
4092
4104
|
button: {
|
4093
|
-
borderRadius: "md",
|
4094
|
-
px:
|
4105
|
+
borderRadius: "control.md",
|
4106
|
+
px: 3,
|
4095
4107
|
height: 8
|
4096
4108
|
},
|
4097
4109
|
endElement: {
|
4098
4110
|
pe: "1"
|
4099
4111
|
}
|
4112
|
+
},
|
4113
|
+
lg: {
|
4114
|
+
item: {
|
4115
|
+
fontSize: "sm"
|
4116
|
+
},
|
4117
|
+
button: {
|
4118
|
+
borderRadius: "control.lg",
|
4119
|
+
px: 3,
|
4120
|
+
height: 10
|
4121
|
+
},
|
4122
|
+
endElement: {
|
4123
|
+
pe: "1"
|
4124
|
+
}
|
4100
4125
|
}
|
4101
4126
|
}
|
4102
4127
|
},
|