@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.cjs
CHANGED
|
@@ -353,11 +353,11 @@ var variantStyles = {
|
|
|
353
353
|
gradient: "bg-linear-to-r from-primary to-secondary text-primary-foreground border-transparent hover:from-primary/90 hover:to-secondary/90"
|
|
354
354
|
};
|
|
355
355
|
var sizeStyles = {
|
|
356
|
-
xs: "px-1.5 py-0.5 text-xs font-medium min-h-
|
|
357
|
-
sm: "px-2 py-0.5 text-xs font-medium min-h-
|
|
358
|
-
md: "px-2.5 py-1 text-xs font-medium min-h-
|
|
359
|
-
lg: "px-3 py-1.5 text-sm font-medium min-h-
|
|
360
|
-
xl: "px-4 py-2 text-sm font-semibold min-h-
|
|
356
|
+
xs: "px-1.5 py-0.5 text-xs font-medium min-h-4.5",
|
|
357
|
+
sm: "px-2 py-0.5 text-xs font-medium min-h-5",
|
|
358
|
+
md: "px-2.5 py-1 text-xs font-medium min-h-6",
|
|
359
|
+
lg: "px-3 py-1.5 text-sm font-medium min-h-7",
|
|
360
|
+
xl: "px-4 py-2 text-sm font-semibold min-h-8"
|
|
361
361
|
};
|
|
362
362
|
var dotSizeStyles = {
|
|
363
363
|
xs: "w-1.5 h-1.5",
|
|
@@ -1949,9 +1949,9 @@ var Textarea2 = (0, import_react5.forwardRef)(
|
|
|
1949
1949
|
({ label, error, description, className, required, variant = "default", size = "md", ...rest }, ref) => {
|
|
1950
1950
|
const [isFocused, setIsFocused] = (0, import_react5.useState)(false);
|
|
1951
1951
|
const sizeClasses2 = {
|
|
1952
|
-
sm: "px-3 py-2 text-sm min-h-
|
|
1953
|
-
md: "px-4 py-3 text-sm min-h-
|
|
1954
|
-
lg: "px-5 py-4 text-base min-h-
|
|
1952
|
+
sm: "px-3 py-2 text-sm min-h-20",
|
|
1953
|
+
md: "px-4 py-3 text-sm min-h-25",
|
|
1954
|
+
lg: "px-5 py-4 text-base min-h-30"
|
|
1955
1955
|
};
|
|
1956
1956
|
const variantClasses2 = {
|
|
1957
1957
|
default: cn(
|
|
@@ -4019,28 +4019,28 @@ var import_lucide_react8 = require("lucide-react");
|
|
|
4019
4019
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
4020
4020
|
var sizeStyles4 = {
|
|
4021
4021
|
sm: {
|
|
4022
|
-
right: "w-
|
|
4023
|
-
left: "w-
|
|
4024
|
-
top: "h-
|
|
4025
|
-
bottom: "h-
|
|
4022
|
+
right: "w-75",
|
|
4023
|
+
left: "w-75",
|
|
4024
|
+
top: "h-50",
|
|
4025
|
+
bottom: "h-50"
|
|
4026
4026
|
},
|
|
4027
4027
|
md: {
|
|
4028
|
-
right: "w-
|
|
4029
|
-
left: "w-
|
|
4030
|
-
top: "h-
|
|
4031
|
-
bottom: "h-
|
|
4028
|
+
right: "w-100",
|
|
4029
|
+
left: "w-100",
|
|
4030
|
+
top: "h-75",
|
|
4031
|
+
bottom: "h-75"
|
|
4032
4032
|
},
|
|
4033
4033
|
lg: {
|
|
4034
|
-
right: "w-
|
|
4035
|
-
left: "w-
|
|
4036
|
-
top: "h-
|
|
4037
|
-
bottom: "h-
|
|
4034
|
+
right: "w-125",
|
|
4035
|
+
left: "w-125",
|
|
4036
|
+
top: "h-100",
|
|
4037
|
+
bottom: "h-100"
|
|
4038
4038
|
},
|
|
4039
4039
|
xl: {
|
|
4040
|
-
right: "w-
|
|
4041
|
-
left: "w-
|
|
4042
|
-
top: "h-
|
|
4043
|
-
bottom: "h-
|
|
4040
|
+
right: "w-150",
|
|
4041
|
+
left: "w-150",
|
|
4042
|
+
top: "h-125",
|
|
4043
|
+
bottom: "h-125"
|
|
4044
4044
|
},
|
|
4045
4045
|
full: {
|
|
4046
4046
|
right: "w-full",
|
|
@@ -7131,7 +7131,7 @@ function WheelColumn({
|
|
|
7131
7131
|
const ui = React25.useMemo(() => {
|
|
7132
7132
|
if (size === "sm") {
|
|
7133
7133
|
return {
|
|
7134
|
-
columnWidth: "min-w-
|
|
7134
|
+
columnWidth: "min-w-16 max-w-21",
|
|
7135
7135
|
label: "text-[9px] mb-2",
|
|
7136
7136
|
selectedText: "text-base",
|
|
7137
7137
|
unselectedText: "text-sm",
|
|
@@ -7140,7 +7140,7 @@ function WheelColumn({
|
|
|
7140
7140
|
}
|
|
7141
7141
|
if (size === "lg") {
|
|
7142
7142
|
return {
|
|
7143
|
-
columnWidth: "min-w-
|
|
7143
|
+
columnWidth: "min-w-20 max-w-27.5",
|
|
7144
7144
|
label: "text-[11px] mb-3",
|
|
7145
7145
|
selectedText: "text-xl",
|
|
7146
7146
|
unselectedText: "text-lg",
|
|
@@ -7148,7 +7148,7 @@ function WheelColumn({
|
|
|
7148
7148
|
};
|
|
7149
7149
|
}
|
|
7150
7150
|
return {
|
|
7151
|
-
columnWidth: "min-w-
|
|
7151
|
+
columnWidth: "min-w-17.5 max-w-22.5",
|
|
7152
7152
|
label: "text-[10px] mb-3",
|
|
7153
7153
|
selectedText: "text-lg",
|
|
7154
7154
|
unselectedText: "text-base",
|
|
@@ -8025,7 +8025,7 @@ function TimePicker({
|
|
|
8025
8025
|
{
|
|
8026
8026
|
className: cn(
|
|
8027
8027
|
"flex-1",
|
|
8028
|
-
size === "sm" ? "min-w-
|
|
8028
|
+
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"
|
|
8029
8029
|
),
|
|
8030
8030
|
children: [
|
|
8031
8031
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: cn(panelSz.periodLabel, "font-bold uppercase tracking-wider text-muted-foreground/70 text-center"), children: "Period" }),
|
|
@@ -14154,7 +14154,7 @@ var TimelineItem = React42.forwardRef(
|
|
|
14154
14154
|
const horizontalItem = /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
14155
14155
|
"div",
|
|
14156
14156
|
{
|
|
14157
|
-
className: cn("flex flex-col items-center gap-2 min-w-
|
|
14157
|
+
className: cn("flex flex-col items-center gap-2 min-w-50", ctx.animate && "animate-in fade-in-50 zoom-in-95 duration-500"),
|
|
14158
14158
|
style: { animationDelay: ctx.animate ? `${(idx ?? 0) * 100}ms` : void 0 },
|
|
14159
14159
|
children: [
|
|
14160
14160
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
@@ -19386,12 +19386,12 @@ function buildUEditorExtensions({
|
|
|
19386
19386
|
import_extension_table_row.default,
|
|
19387
19387
|
import_extension_table_cell.default.configure({
|
|
19388
19388
|
HTMLAttributes: {
|
|
19389
|
-
class: "border border-border p-2 min-w-
|
|
19389
|
+
class: "border border-border p-2 min-w-25"
|
|
19390
19390
|
}
|
|
19391
19391
|
}),
|
|
19392
19392
|
import_extension_table_header.default.configure({
|
|
19393
19393
|
HTMLAttributes: {
|
|
19394
|
-
class: "border border-border p-2 bg-muted font-semibold min-w-
|
|
19394
|
+
class: "border border-border p-2 bg-muted font-semibold min-w-25"
|
|
19395
19395
|
}
|
|
19396
19396
|
}),
|
|
19397
19397
|
import_extension_character_count.default.configure({
|