@underverse-ui/underverse 2.0.0 → 2.0.1
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/api-reference.json +1 -1
- package/dist/{chunk-MNZVW2QX.js → chunk-UNDGI6ZI.js} +2 -2
- package/dist/{chunk-QIMAN4VF.js → chunk-Y7SQKJ7X.js} +83 -25
- package/dist/chunk-Y7SQKJ7X.js.map +1 -0
- package/dist/{chunk-LTIU5FQY.js → chunk-Z6WE65J2.js} +41 -15
- package/dist/chunk-Z6WE65J2.js.map +1 -0
- package/dist/index.cjs +126 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -12
- package/dist/index.js.map +1 -1
- package/dist/{menu-bar-SPAAI5X6.js → menu-bar-AAD3LQTN.js} +3 -3
- package/dist/ueditor.cjs +120 -36
- package/dist/ueditor.cjs.map +1 -1
- package/dist/ueditor.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-LTIU5FQY.js.map +0 -1
- package/dist/chunk-QIMAN4VF.js.map +0 -1
- /package/dist/{chunk-MNZVW2QX.js.map → chunk-UNDGI6ZI.js.map} +0 -0
- /package/dist/{menu-bar-SPAAI5X6.js.map → menu-bar-AAD3LQTN.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
extractImageSrcsFromHtml,
|
|
5
5
|
normalizeImageUrl,
|
|
6
6
|
prepareUEditorContentForSave
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y7SQKJ7X.js";
|
|
8
8
|
import {
|
|
9
9
|
EmojiPicker_default
|
|
10
10
|
} from "./chunk-A7XL4RDV.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import "./chunk-4TYW5K4J.js";
|
|
17
17
|
import {
|
|
18
18
|
Modal_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UNDGI6ZI.js";
|
|
20
20
|
import {
|
|
21
21
|
DropdownMenuItem,
|
|
22
22
|
DropdownMenuSeparator,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
shadcnAnimationStyles,
|
|
35
35
|
useShadCNAnimations,
|
|
36
36
|
useUnderverseUIConfig
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-Z6WE65J2.js";
|
|
38
38
|
import {
|
|
39
39
|
ForceInternalTranslationsProvider,
|
|
40
40
|
NextIntlAdapter,
|
|
@@ -4208,19 +4208,19 @@ var variantStyles4 = {
|
|
|
4208
4208
|
},
|
|
4209
4209
|
underline: {
|
|
4210
4210
|
container: "relative border-b border-border/60",
|
|
4211
|
-
tab: "relative transition-colors duration-200
|
|
4211
|
+
tab: "relative transition-colors duration-200 border-b-2 border-transparent hover:border-primary/30",
|
|
4212
4212
|
activeTab: "text-primary border-primary font-semibold",
|
|
4213
4213
|
inactiveTab: "text-muted-foreground hover:text-foreground"
|
|
4214
4214
|
},
|
|
4215
4215
|
card: {
|
|
4216
|
-
container: "
|
|
4216
|
+
container: "bg-muted/20 p-1.5 rounded-2xl border border-border/30",
|
|
4217
4217
|
tab: "rounded-xl border border-transparent transition-all duration-200",
|
|
4218
4218
|
activeTab: "bg-primary text-primary-foreground border-primary shadow-md",
|
|
4219
4219
|
inactiveTab: "text-muted-foreground hover:text-foreground hover:bg-accent/50 hover:border-border/50"
|
|
4220
4220
|
},
|
|
4221
4221
|
"underline-card": {
|
|
4222
4222
|
container: "border-b border-border/60 bg-card/80 backdrop-blur-sm rounded-t-2xl p-1",
|
|
4223
|
-
tab: "relative transition-all duration-200
|
|
4223
|
+
tab: "relative transition-all duration-200 rounded-t-xl border-b-2 border-transparent hover:border-primary/30 hover:bg-accent/30",
|
|
4224
4224
|
activeTab: "text-primary border-primary font-semibold bg-accent/30",
|
|
4225
4225
|
inactiveTab: "text-muted-foreground hover:text-foreground"
|
|
4226
4226
|
}
|
|
@@ -4330,7 +4330,7 @@ var Tabs = ({
|
|
|
4330
4330
|
}, [baseId, tabs]);
|
|
4331
4331
|
const containerClasses = cn(
|
|
4332
4332
|
"relative",
|
|
4333
|
-
orientation === "horizontal" ? "w-full flex space-x-1 overflow-x-auto" : "flex flex-col space-y-1 shrink-0",
|
|
4333
|
+
orientation === "horizontal" ? "w-full flex items-center space-x-1 overflow-x-auto" : "flex flex-col space-y-1 shrink-0",
|
|
4334
4334
|
variantStyles4[variant].container,
|
|
4335
4335
|
className
|
|
4336
4336
|
);
|
|
@@ -4365,10 +4365,7 @@ var Tabs = ({
|
|
|
4365
4365
|
tab.href && tab.disabled && "pointer-events-none cursor-not-allowed opacity-50"
|
|
4366
4366
|
);
|
|
4367
4367
|
const sharedStyle = {
|
|
4368
|
-
|
|
4369
|
-
transform: "none",
|
|
4370
|
-
outline: "none",
|
|
4371
|
-
border: "none"
|
|
4368
|
+
outline: "none"
|
|
4372
4369
|
};
|
|
4373
4370
|
const sharedProps = {
|
|
4374
4371
|
ref: (el) => {
|
|
@@ -15251,7 +15248,7 @@ var MultiCombobox = ({
|
|
|
15251
15248
|
);
|
|
15252
15249
|
}),
|
|
15253
15250
|
hiddenCount > 0 && /* @__PURE__ */ jsx39("span", { className: cn("inline-flex items-center bg-muted text-muted-foreground rounded-lg shrink-0", sizeStyles7[size].tag), children: gi18n.moreCount ? gi18n.moreCount(hiddenCount) : `+${hiddenCount} more` })
|
|
15254
|
-
] }) : /* @__PURE__ */ jsx39("span", { className: cn(formControlValueClass, "font-medium"), children: gi18n.selectedCount ? gi18n.selectedCount(value.length) : `${value.length} item${value.length > 1 ? "s" : ""} selected` }) : /* @__PURE__ */ jsx39("span", { className: cn(formControlValueClass, "text-muted-foreground"), children: placeholder }) }),
|
|
15251
|
+
] }) : /* @__PURE__ */ jsx39("span", { className: cn(formControlValueClass, "font-medium"), children: gi18n.selectedCount ? gi18n.selectedCount(value.length) : `${value.length} item${value.length > 1 ? "s" : ""} selected` }) : /* @__PURE__ */ jsx39("span", { className: cn(formControlValueClass, "text-left text-muted-foreground"), children: placeholder }) }),
|
|
15255
15252
|
/* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-1.5 shrink-0", children: [
|
|
15256
15253
|
showClear && value.length > 0 && /* @__PURE__ */ jsx39(
|
|
15257
15254
|
"div",
|