@mindtris/ui 0.1.13 → 0.1.16
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.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12230,7 +12230,7 @@ function SelectContent({
|
|
|
12230
12230
|
className,
|
|
12231
12231
|
children,
|
|
12232
12232
|
position = "popper",
|
|
12233
|
-
sideOffset =
|
|
12233
|
+
sideOffset = 6,
|
|
12234
12234
|
...props
|
|
12235
12235
|
}) {
|
|
12236
12236
|
return /* @__PURE__ */ jsx69(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs41(
|
|
@@ -12240,10 +12240,10 @@ function SelectContent({
|
|
|
12240
12240
|
position,
|
|
12241
12241
|
sideOffset,
|
|
12242
12242
|
className: cn(
|
|
12243
|
-
"bg-
|
|
12243
|
+
"bg-card text-card-foreground border border-input shadow-md",
|
|
12244
12244
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
12245
12245
|
"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
|
|
12246
|
-
"relative z-50 max-h-[var(--radix-select-content-available-height)] min-w-[8rem] overflow-
|
|
12246
|
+
"relative z-50 max-h-[var(--radix-select-content-available-height)] min-w-[8rem] overflow-hidden rounded-lg",
|
|
12247
12247
|
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
12248
12248
|
className
|
|
12249
12249
|
),
|
|
@@ -12255,7 +12255,7 @@ function SelectContent({
|
|
|
12255
12255
|
{
|
|
12256
12256
|
"data-slot": "select-viewport",
|
|
12257
12257
|
className: cn(
|
|
12258
|
-
"p-1",
|
|
12258
|
+
"p-1.5",
|
|
12259
12259
|
position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
|
|
12260
12260
|
),
|
|
12261
12261
|
children
|
|
@@ -12284,7 +12284,7 @@ function SelectItem({ className, children, ...props }) {
|
|
|
12284
12284
|
{
|
|
12285
12285
|
"data-slot": "select-item",
|
|
12286
12286
|
className: cn(
|
|
12287
|
-
"relative flex w-full cursor-default select-none items-center gap-2 rounded-md
|
|
12287
|
+
"relative flex w-full cursor-default select-none items-center gap-2 rounded-md px-2.5 py-2 pr-8 text-sm font-medium outline-none transition-colors",
|
|
12288
12288
|
"focus:bg-muted focus:text-foreground data-[highlighted]:bg-muted data-[highlighted]:text-foreground",
|
|
12289
12289
|
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
12290
12290
|
className
|
|
@@ -12292,7 +12292,7 @@ function SelectItem({ className, children, ...props }) {
|
|
|
12292
12292
|
...props,
|
|
12293
12293
|
children: [
|
|
12294
12294
|
/* @__PURE__ */ jsx69(SelectPrimitive.ItemText, { children }),
|
|
12295
|
-
/* @__PURE__ */ jsx69("span", { className: "absolute right-
|
|
12295
|
+
/* @__PURE__ */ jsx69("span", { className: "absolute right-2.5 top-1/2 -translate-y-1/2 flex h-3.5 w-3.5 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx69(SelectPrimitive.ItemIndicator, { className: "inline-flex", children: /* @__PURE__ */ jsx69(CircleCheck2, { className: "h-4 w-4 fill-primary text-primary-foreground", "aria-hidden": true }) }) })
|
|
12296
12296
|
]
|
|
12297
12297
|
}
|
|
12298
12298
|
);
|