@underverse-ui/underverse 0.2.112 → 0.2.113
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/dist/index.cjs +31 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +31 -31
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -178,11 +178,11 @@ var variantStyles = {
|
|
|
178
178
|
gradient: "bg-linear-to-r from-primary to-secondary text-primary-foreground border-transparent hover:from-primary/90 hover:to-secondary/90"
|
|
179
179
|
};
|
|
180
180
|
var sizeStyles = {
|
|
181
|
-
xs: "px-1.5 py-0.5 text-xs font-medium min-h-
|
|
182
|
-
sm: "px-2 py-0.5 text-xs font-medium min-h-
|
|
183
|
-
md: "px-2.5 py-1 text-xs font-medium min-h-
|
|
184
|
-
lg: "px-3 py-1.5 text-sm font-medium min-h-
|
|
185
|
-
xl: "px-4 py-2 text-sm font-semibold min-h-
|
|
181
|
+
xs: "px-1.5 py-0.5 text-xs font-medium min-h-4.5",
|
|
182
|
+
sm: "px-2 py-0.5 text-xs font-medium min-h-5",
|
|
183
|
+
md: "px-2.5 py-1 text-xs font-medium min-h-6",
|
|
184
|
+
lg: "px-3 py-1.5 text-sm font-medium min-h-7",
|
|
185
|
+
xl: "px-4 py-2 text-sm font-semibold min-h-8"
|
|
186
186
|
};
|
|
187
187
|
var dotSizeStyles = {
|
|
188
188
|
xs: "w-1.5 h-1.5",
|
|
@@ -1774,9 +1774,9 @@ var Textarea2 = forwardRef5(
|
|
|
1774
1774
|
({ label, error, description, className, required, variant = "default", size = "md", ...rest }, ref) => {
|
|
1775
1775
|
const [isFocused, setIsFocused] = useState6(false);
|
|
1776
1776
|
const sizeClasses2 = {
|
|
1777
|
-
sm: "px-3 py-2 text-sm min-h-
|
|
1778
|
-
md: "px-4 py-3 text-sm min-h-
|
|
1779
|
-
lg: "px-5 py-4 text-base min-h-
|
|
1777
|
+
sm: "px-3 py-2 text-sm min-h-20",
|
|
1778
|
+
md: "px-4 py-3 text-sm min-h-25",
|
|
1779
|
+
lg: "px-5 py-4 text-base min-h-30"
|
|
1780
1780
|
};
|
|
1781
1781
|
const variantClasses2 = {
|
|
1782
1782
|
default: cn(
|
|
@@ -3844,28 +3844,28 @@ import { X as X6 } from "lucide-react";
|
|
|
3844
3844
|
import { jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
3845
3845
|
var sizeStyles4 = {
|
|
3846
3846
|
sm: {
|
|
3847
|
-
right: "w-
|
|
3848
|
-
left: "w-
|
|
3849
|
-
top: "h-
|
|
3850
|
-
bottom: "h-
|
|
3847
|
+
right: "w-75",
|
|
3848
|
+
left: "w-75",
|
|
3849
|
+
top: "h-50",
|
|
3850
|
+
bottom: "h-50"
|
|
3851
3851
|
},
|
|
3852
3852
|
md: {
|
|
3853
|
-
right: "w-
|
|
3854
|
-
left: "w-
|
|
3855
|
-
top: "h-
|
|
3856
|
-
bottom: "h-
|
|
3853
|
+
right: "w-100",
|
|
3854
|
+
left: "w-100",
|
|
3855
|
+
top: "h-75",
|
|
3856
|
+
bottom: "h-75"
|
|
3857
3857
|
},
|
|
3858
3858
|
lg: {
|
|
3859
|
-
right: "w-
|
|
3860
|
-
left: "w-
|
|
3861
|
-
top: "h-
|
|
3862
|
-
bottom: "h-
|
|
3859
|
+
right: "w-125",
|
|
3860
|
+
left: "w-125",
|
|
3861
|
+
top: "h-100",
|
|
3862
|
+
bottom: "h-100"
|
|
3863
3863
|
},
|
|
3864
3864
|
xl: {
|
|
3865
|
-
right: "w-
|
|
3866
|
-
left: "w-
|
|
3867
|
-
top: "h-
|
|
3868
|
-
bottom: "h-
|
|
3865
|
+
right: "w-150",
|
|
3866
|
+
left: "w-150",
|
|
3867
|
+
top: "h-125",
|
|
3868
|
+
bottom: "h-125"
|
|
3869
3869
|
},
|
|
3870
3870
|
full: {
|
|
3871
3871
|
right: "w-full",
|
|
@@ -6956,7 +6956,7 @@ function WheelColumn({
|
|
|
6956
6956
|
const ui = React25.useMemo(() => {
|
|
6957
6957
|
if (size === "sm") {
|
|
6958
6958
|
return {
|
|
6959
|
-
columnWidth: "min-w-
|
|
6959
|
+
columnWidth: "min-w-16 max-w-21",
|
|
6960
6960
|
label: "text-[9px] mb-2",
|
|
6961
6961
|
selectedText: "text-base",
|
|
6962
6962
|
unselectedText: "text-sm",
|
|
@@ -6965,7 +6965,7 @@ function WheelColumn({
|
|
|
6965
6965
|
}
|
|
6966
6966
|
if (size === "lg") {
|
|
6967
6967
|
return {
|
|
6968
|
-
columnWidth: "min-w-
|
|
6968
|
+
columnWidth: "min-w-20 max-w-27.5",
|
|
6969
6969
|
label: "text-[11px] mb-3",
|
|
6970
6970
|
selectedText: "text-xl",
|
|
6971
6971
|
unselectedText: "text-lg",
|
|
@@ -6973,7 +6973,7 @@ function WheelColumn({
|
|
|
6973
6973
|
};
|
|
6974
6974
|
}
|
|
6975
6975
|
return {
|
|
6976
|
-
columnWidth: "min-w-
|
|
6976
|
+
columnWidth: "min-w-17.5 max-w-22.5",
|
|
6977
6977
|
label: "text-[10px] mb-3",
|
|
6978
6978
|
selectedText: "text-lg",
|
|
6979
6979
|
unselectedText: "text-base",
|
|
@@ -7850,7 +7850,7 @@ function TimePicker({
|
|
|
7850
7850
|
{
|
|
7851
7851
|
className: cn(
|
|
7852
7852
|
"flex-1",
|
|
7853
|
-
size === "sm" ? "min-w-
|
|
7853
|
+
size === "sm" ? "min-w-16 max-w-21" : size === "lg" ? "min-w-20 max-w-27.5" : "min-w-17.5 max-w-22.5"
|
|
7854
7854
|
),
|
|
7855
7855
|
children: [
|
|
7856
7856
|
/* @__PURE__ */ jsx31("div", { className: cn(panelSz.periodLabel, "font-bold uppercase tracking-wider text-muted-foreground/70 text-center"), children: "Period" }),
|
|
@@ -13979,7 +13979,7 @@ var TimelineItem = React42.forwardRef(
|
|
|
13979
13979
|
const horizontalItem = /* @__PURE__ */ jsxs44(
|
|
13980
13980
|
"div",
|
|
13981
13981
|
{
|
|
13982
|
-
className: cn("flex flex-col items-center gap-2 min-w-
|
|
13982
|
+
className: cn("flex flex-col items-center gap-2 min-w-50", ctx.animate && "animate-in fade-in-50 zoom-in-95 duration-500"),
|
|
13983
13983
|
style: { animationDelay: ctx.animate ? `${(idx ?? 0) * 100}ms` : void 0 },
|
|
13984
13984
|
children: [
|
|
13985
13985
|
/* @__PURE__ */ jsx49(
|
|
@@ -19223,12 +19223,12 @@ function buildUEditorExtensions({
|
|
|
19223
19223
|
TableRow2,
|
|
19224
19224
|
TableCell2.configure({
|
|
19225
19225
|
HTMLAttributes: {
|
|
19226
|
-
class: "border border-border p-2 min-w-
|
|
19226
|
+
class: "border border-border p-2 min-w-25"
|
|
19227
19227
|
}
|
|
19228
19228
|
}),
|
|
19229
19229
|
TableHeader2.configure({
|
|
19230
19230
|
HTMLAttributes: {
|
|
19231
|
-
class: "border border-border p-2 bg-muted font-semibold min-w-
|
|
19231
|
+
class: "border border-border p-2 bg-muted font-semibold min-w-25"
|
|
19232
19232
|
}
|
|
19233
19233
|
}),
|
|
19234
19234
|
CharacterCount.configure({
|