@underverse-ui/underverse 2.0.4 → 2.0.6

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@underverse-ui/underverse",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "sourceEntry": "src/index.ts",
5
5
  "totalExports": 257,
6
6
  "exports": [
package/dist/index.cjs CHANGED
@@ -14490,7 +14490,7 @@ var Combobox = ({
14490
14490
  variantStyles6[variant],
14491
14491
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:border-primary",
14492
14492
  "disabled:cursor-not-allowed disabled:opacity-50",
14493
- open && "ring-2 ring-primary/20 border-primary",
14493
+ open && "border-primary",
14494
14494
  !!effectiveError && "border-destructive focus-visible:ring-destructive/30",
14495
14495
  className
14496
14496
  )
@@ -15893,11 +15893,11 @@ var DatePicker = ({
15893
15893
  formControlSizeStyles[requestedSize].control,
15894
15894
  disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
15895
15895
  "border-border/60 hover:border-primary/40",
15896
- "focus-within:ring-2 focus-within:ring-primary/50 focus-within:ring-offset-2 focus-within:ring-offset-background focus-within:border-transparent focus-within:hover:border-transparent",
15897
- "hover:bg-accent/10 hover:shadow-lg hover:shadow-primary/5 hover:-translate-y-0.5"
15896
+ "focus-within:border-primary focus-within:ring-0",
15897
+ "hover:bg-accent/10"
15898
15898
  ],
15899
15899
  "transition-all duration-300 ease-out",
15900
- isOpen && !isFocused && "ring-2 ring-primary/30 border-primary/50 shadow-lg shadow-primary/10",
15900
+ isOpen && !isFocused && "border-primary shadow-lg shadow-primary/10",
15901
15901
  effectiveError && "border-destructive/60 focus-within:ring-destructive/50 bg-destructive/5",
15902
15902
  className
15903
15903
  ),
@@ -16651,11 +16651,11 @@ var DateRangePicker = ({
16651
16651
  formControlSizeStyles[requestedSize].control,
16652
16652
  disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
16653
16653
  "border-border/60 hover:border-primary/40",
16654
- "focus-within:ring-2 focus-within:ring-primary/50 focus-within:ring-offset-2 focus-within:ring-offset-background focus-within:border-transparent focus-within:hover:border-transparent",
16655
- "hover:bg-accent/10 hover:shadow-lg hover:shadow-primary/5 hover:-translate-y-0.5"
16654
+ "focus-within:border-primary focus-within:ring-0",
16655
+ "hover:bg-accent/10"
16656
16656
  ],
16657
16657
  "transition-all duration-300 ease-out",
16658
- isOpen && !isFocused && "ring-2 ring-primary/30 border-primary/50 shadow-lg shadow-primary/10",
16658
+ isOpen && !isFocused && "border-primary shadow-lg shadow-primary/10",
16659
16659
  effectiveError && "border-destructive/60 focus-within:ring-destructive/50 bg-destructive/5"
16660
16660
  ),
16661
16661
  children: [
@@ -17597,11 +17597,11 @@ var LunarDatePicker = ({
17597
17597
  formControlSizeStyles[requestedSize].control,
17598
17598
  disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
17599
17599
  "border-border/60 hover:border-primary/40",
17600
- "focus-within:ring-2 focus-within:ring-primary/50 focus-within:ring-offset-2 focus-within:ring-offset-background focus-within:border-transparent focus-within:hover:border-transparent",
17601
- "hover:bg-accent/10 hover:shadow-lg hover:shadow-primary/5 hover:-translate-y-0.5"
17600
+ "focus-within:border-primary focus-within:ring-0",
17601
+ "hover:bg-accent/10"
17602
17602
  ],
17603
17603
  "transition-all duration-300 ease-out",
17604
- isOpen && !isFocused && "ring-2 ring-primary/30 border-primary/50 shadow-lg shadow-primary/10",
17604
+ isOpen && !isFocused && "border-primary shadow-lg shadow-primary/10",
17605
17605
  effectiveError && "border-destructive/60 focus-within:ring-destructive/50 bg-destructive/5",
17606
17606
  className
17607
17607
  ),
@@ -18236,11 +18236,11 @@ var LunarDateRangePicker = ({
18236
18236
  formControlSizeStyles[requestedSize].control,
18237
18237
  disabled ? "border-border/40 opacity-50 cursor-not-allowed" : [
18238
18238
  "border-border/60 hover:border-primary/40",
18239
- "focus-within:ring-2 focus-within:ring-primary/50 focus-within:ring-offset-2 focus-within:ring-offset-background focus-within:border-transparent focus-within:hover:border-transparent",
18240
- "hover:bg-accent/10 hover:shadow-lg hover:shadow-primary/5 hover:-translate-y-0.5"
18239
+ "focus-within:border-primary focus-within:ring-0",
18240
+ "hover:bg-accent/10"
18241
18241
  ],
18242
18242
  "transition-all duration-300 ease-out text-left",
18243
- isOpen && "ring-2 ring-primary/30 border-primary/50 shadow-lg shadow-primary/10",
18243
+ isOpen && "border-primary shadow-lg shadow-primary/10",
18244
18244
  effectiveError && "border-destructive/60 focus-within:ring-destructive/50 bg-destructive/5"
18245
18245
  ),
18246
18246
  children: [
@@ -18941,8 +18941,7 @@ function MonthYearPicker({
18941
18941
  effectiveError && "border-destructive/60 focus-visible:ring-destructive/50 bg-destructive/5",
18942
18942
  success && !effectiveError && "border-success/60 focus-visible:ring-success/50 bg-success/5",
18943
18943
  !effectiveError && !success && "border-border/60 hover:border-primary/40 hover:bg-accent/10",
18944
- animate && !disabled && "hover:shadow-lg hover:shadow-primary/5 hover:-translate-y-0.5",
18945
- open && "ring-2 ring-primary/30 border-primary/50 shadow-lg shadow-primary/10",
18944
+ open && "border-primary shadow-lg shadow-primary/10",
18946
18945
  className
18947
18946
  ),
18948
18947
  children: [
@@ -20664,8 +20663,7 @@ function TimePicker({
20664
20663
  effectiveError && "border-destructive/60 focus-visible:ring-destructive/50 bg-destructive/5",
20665
20664
  success && !effectiveError && "border-success/60 focus-visible:ring-success/50 bg-success/5",
20666
20665
  !effectiveError && !success && "border-border/60 hover:border-primary/40 hover:bg-accent/10",
20667
- animate && !disabled && "hover:shadow-lg hover:shadow-primary/5 hover:-translate-y-0.5",
20668
- open && "ring-2 ring-primary/30 border-primary/50 shadow-lg shadow-primary/10",
20666
+ open && "border-primary shadow-lg shadow-primary/10",
20669
20667
  className
20670
20668
  ),
20671
20669
  children: [
@@ -24847,7 +24845,7 @@ var MultiCombobox = ({
24847
24845
  variantStyles6[variant],
24848
24846
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:border-primary",
24849
24847
  "disabled:cursor-not-allowed disabled:opacity-50",
24850
- open && "ring-2 ring-primary/20 border-primary",
24848
+ open && "border-primary",
24851
24849
  !!effectiveError && "border-destructive focus-visible:ring-destructive/30"
24852
24850
  ),
24853
24851
  children: [
@@ -27220,7 +27218,7 @@ function CategoryTreeSelect(props) {
27220
27218
  triggerVariantStyles[variant],
27221
27219
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-offset-2 focus-visible:ring-offset-background",
27222
27220
  disabled && "opacity-50 cursor-not-allowed hover:transform-none hover:shadow-none",
27223
- isOpen && "ring-2 ring-primary/30 border-primary/50 shadow-lg shadow-primary/10",
27221
+ isOpen && "border-primary shadow-lg shadow-primary/10",
27224
27222
  effectiveError && "border-destructive focus-visible:ring-destructive/30"
27225
27223
  ),
27226
27224
  children: [
@@ -31171,6 +31169,7 @@ function DataTableHeader({
31171
31169
  filters,
31172
31170
  sort,
31173
31171
  columnDividers,
31172
+ uppercaseHeader,
31174
31173
  setCurPage,
31175
31174
  setFilters,
31176
31175
  setSort,
@@ -31442,6 +31441,7 @@ function DataTableHeader({
31442
31441
  "relative",
31443
31442
  (col.headerAlign ?? headerAlign) === "right" && "text-right",
31444
31443
  (col.headerAlign ?? headerAlign) === "center" && "text-center",
31444
+ uppercaseHeader && "uppercase",
31445
31445
  showBorderLeft && "border-l border-border/60",
31446
31446
  getStickyHeaderClass(col)
31447
31447
  ),
@@ -32279,10 +32279,12 @@ function DataTable({
32279
32279
  onQueryChange,
32280
32280
  caption,
32281
32281
  toolbar,
32282
+ showToolbar = true,
32282
32283
  size = "md",
32283
32284
  enableColumnVisibilityToggle = true,
32284
32285
  enableDensityToggle = true,
32285
32286
  enableHeaderAlignToggle = false,
32287
+ uppercaseHeader = false,
32286
32288
  striped = true,
32287
32289
  columnDividers = false,
32288
32290
  className,
@@ -32436,7 +32438,7 @@ function DataTable({
32436
32438
  });
32437
32439
  }, []);
32438
32440
  return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: cn("space-y-2", className), children: [
32439
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
32441
+ showToolbar && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
32440
32442
  DataTableToolbar,
32441
32443
  {
32442
32444
  caption,
@@ -32496,6 +32498,7 @@ function DataTable({
32496
32498
  filters,
32497
32499
  sort,
32498
32500
  columnDividers,
32501
+ uppercaseHeader,
32499
32502
  setCurPage,
32500
32503
  setFilters,
32501
32504
  setSort,