@camped-ui/command 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -38,7 +38,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.CommandSeparator = exports.CommandShortcut = exports.CommandItem = exports.CommandGroup = exports.CommandEmpty = exports.CommandList = exports.CommandInput = exports.CommandDialog = exports.Command = void 0;
|
39
39
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
40
40
|
const React = __importStar(require("react"));
|
41
|
-
const
|
41
|
+
const lucide_react_1 = require("lucide-react");
|
42
42
|
const cmdk_1 = require("cmdk");
|
43
43
|
const dialog_1 = require("@camped-ui/dialog");
|
44
44
|
const lib_1 = require("@camped-ui/lib");
|
@@ -55,7 +55,7 @@ const CommandDialog = (_a) => {
|
|
55
55
|
exports.CommandDialog = CommandDialog;
|
56
56
|
const CommandInput = React.forwardRef((_a, ref) => {
|
57
57
|
var { className } = _a, props = __rest(_a, ["className"]);
|
58
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [(0, jsx_runtime_1.jsx)(
|
58
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [(0, jsx_runtime_1.jsx)(lucide_react_1.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }), (0, jsx_runtime_1.jsx)(cmdk_1.Command.Input, Object.assign({ ref: ref, className: (0, lib_1.cn)("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", className) }, props))] }));
|
59
59
|
});
|
60
60
|
exports.CommandInput = CommandInput;
|
61
61
|
CommandInput.displayName = cmdk_1.Command.Input.displayName;
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","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