@mijn-ui/react-command 0.0.6 → 0.0.8

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/README.md ADDED
@@ -0,0 +1,16 @@
1
+
2
+ # @mijn-ui/react-command
3
+
4
+ A command palette for quick access to actions and navigation, often used for keyboard shortcuts.
5
+
6
+ [Documentation](https://mijn-ui.vercel.app/docs/components/command)
7
+
8
+ ## Installation
9
+
10
+ ```sh
11
+ npm install @mijn-ui/react-command
12
+ ```
13
+
14
+ ## License
15
+
16
+ This project is licensed under the terms of the [MIT license.](https://github.com/mijn-ui/mijn-ui-react/blob/main/LICENSE)
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  cn
9
9
  } from "@mijn-ui/react-utilities/shared";
10
10
  import { Command as CommandPrimitive } from "cmdk";
11
- import { LuSearch } from "react-icons/lu";
11
+ import { SearchIcon } from "@mijn-ui/shared-icons";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  var Command = ({ unstyled = false, className, ...props }) => /* @__PURE__ */ jsx(UnstyledProvider, { unstyled, children: /* @__PURE__ */ jsx(
14
14
  CommandPrimitive,
@@ -57,7 +57,7 @@ var CommandInput = ({ className, unstyled, ...props }) => {
57
57
  "cmdk-input-wrapper": "",
58
58
  children: [
59
59
  /* @__PURE__ */ jsx(
60
- LuSearch,
60
+ SearchIcon,
61
61
  {
62
62
  className: applyUnstyled(
63
63
  isUnstyled,
@@ -1 +1 @@
1
- {"inputs":{"src/command.tsx":{"bytes":8429,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-dialog","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/context","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/shared","kind":"import-statement","external":true},{"path":"@radix-ui/react-dialog","kind":"import-statement","external":true},{"path":"cmdk","kind":"import-statement","external":true},{"path":"react-icons/lu","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":26,"imports":[{"path":"src/command.tsx","kind":"import-statement","original":"./command"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"@mijn-ui/react-dialog","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/context","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/shared","kind":"import-statement","external":true},{"path":"cmdk","kind":"import-statement","external":true},{"path":"react-icons/lu","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["Command","CommandDialog","CommandEmpty","CommandGroup","CommandInput","CommandItem","CommandList","CommandSeparator","CommandShortcut"],"entryPoint":"src/index.ts","inputs":{"src/command.tsx":{"bytesInOutput":5295},"src/index.ts":{"bytesInOutput":0}},"bytes":5470}}}
1
+ {"inputs":{"src/command.tsx":{"bytes":8440,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-dialog","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/context","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/shared","kind":"import-statement","external":true},{"path":"@radix-ui/react-dialog","kind":"import-statement","external":true},{"path":"cmdk","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":26,"imports":[{"path":"src/command.tsx","kind":"import-statement","original":"./command"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"@mijn-ui/react-dialog","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/context","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/shared","kind":"import-statement","external":true},{"path":"cmdk","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["Command","CommandDialog","CommandEmpty","CommandGroup","CommandInput","CommandItem","CommandList","CommandSeparator","CommandShortcut"],"entryPoint":"src/index.ts","inputs":{"src/command.tsx":{"bytesInOutput":5306},"src/index.ts":{"bytesInOutput":0}},"bytes":5481}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mijn-ui/react-command",
3
3
  "author": "Htet Aung Lin<htetaunglin.coder@gmail.com>",
4
- "version": "0.0.6",
4
+ "version": "0.0.8",
5
5
  "homepage": "https://mijn-ui.vercel.app",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -24,16 +24,17 @@
24
24
  "@types/react": "^18.3.12",
25
25
  "@types/react-dom": "^18.3.1",
26
26
  "eslint-config-custom": "0.0.1",
27
- "tsconfig": "0.0.0"
27
+ "tsconfig": "0.0.0",
28
+ "tsup-config": "0.0.0"
28
29
  },
29
30
  "dependencies": {
30
31
  "react": "19.0.0-rc-b01722d5-20241114",
31
32
  "react-dom": "19.0.0-rc-b01722d5-20241114",
32
- "react-icons": "^5.3.0",
33
33
  "cmdk": "^1.0.4",
34
34
  "@radix-ui/react-dialog": "^1.1.2",
35
- "@mijn-ui/react-utilities": "0.0.5",
36
- "@mijn-ui/react-dialog": "0.0.6"
35
+ "@mijn-ui/shared-icons": "0.0.2",
36
+ "@mijn-ui/react-utilities": "0.0.6",
37
+ "@mijn-ui/react-dialog": "0.0.8"
37
38
  },
38
39
  "peerDependencies": {
39
40
  "react": "^19.0",
@@ -42,6 +43,11 @@
42
43
  "publishConfig": {
43
44
  "access": "public"
44
45
  },
46
+ "keywords": [
47
+ "command",
48
+ "react",
49
+ "nextjs"
50
+ ],
45
51
  "scripts": {
46
52
  "clean": "rimraf dist",
47
53
  "build": "tsup",