@mindtris/ui 0.1.16 → 0.1.18
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
|
@@ -12192,7 +12192,7 @@ __name(toastSemantic, "toastSemantic");
|
|
|
12192
12192
|
// components/ui/select.tsx
|
|
12193
12193
|
import * as React39 from "react";
|
|
12194
12194
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
12195
|
-
import {
|
|
12195
|
+
import { Check as Check6, ChevronDown as ChevronDown6, ChevronUp as ChevronUp2 } from "lucide-react";
|
|
12196
12196
|
import { jsx as jsx69, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
12197
12197
|
var SelectRoot = SelectPrimitive.Root;
|
|
12198
12198
|
var SelectGroup = SelectPrimitive.Group;
|
|
@@ -12284,15 +12284,15 @@ 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 px-2.5 py-2 pr-
|
|
12287
|
+
"relative flex w-full cursor-default select-none items-center gap-2 rounded-md px-2.5 py-2 pr-10 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
|
|
12291
12291
|
),
|
|
12292
12292
|
...props,
|
|
12293
12293
|
children: [
|
|
12294
|
-
/* @__PURE__ */ jsx69(SelectPrimitive.
|
|
12295
|
-
/* @__PURE__ */ jsx69(
|
|
12294
|
+
/* @__PURE__ */ jsx69("span", { className: "absolute right-2.5 top-1/2 -translate-y-1/2 flex h-5 w-5 shrink-0 items-center justify-center pointer-events-none", children: /* @__PURE__ */ jsx69(SelectPrimitive.ItemIndicator, { asChild: true, children: /* @__PURE__ */ jsx69("div", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-primary shadow-sm", children: /* @__PURE__ */ jsx69(Check6, { className: "h-3 w-3 text-white", strokeWidth: 3, "aria-hidden": true }) }) }) }),
|
|
12295
|
+
/* @__PURE__ */ jsx69(SelectPrimitive.ItemText, { children })
|
|
12296
12296
|
]
|
|
12297
12297
|
}
|
|
12298
12298
|
);
|
|
@@ -13385,7 +13385,7 @@ __name(OtherPanel, "OtherPanel");
|
|
|
13385
13385
|
|
|
13386
13386
|
// components/theme-customizer/import-modal.tsx
|
|
13387
13387
|
import React43 from "react";
|
|
13388
|
-
import { X as X8, Check as
|
|
13388
|
+
import { X as X8, Check as Check7 } from "lucide-react";
|
|
13389
13389
|
import { Fragment as Fragment8, jsx as jsx76, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
13390
13390
|
function normalizeImportedThemeVars(vars) {
|
|
13391
13391
|
const out = {};
|
|
@@ -13582,7 +13582,7 @@ function ImportModal({ open, onOpenChange, onImport, onImportArtifact }) {
|
|
|
13582
13582
|
onClick: processImport,
|
|
13583
13583
|
disabled: !canImport,
|
|
13584
13584
|
"aria-label": "Import theme",
|
|
13585
|
-
children: /* @__PURE__ */ jsx76(
|
|
13585
|
+
children: /* @__PURE__ */ jsx76(Check7, { className: "w-5 h-5" })
|
|
13586
13586
|
}
|
|
13587
13587
|
)
|
|
13588
13588
|
] })
|