@mijn-ui/react-command 0.0.12 → 0.0.14

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.d.ts CHANGED
@@ -1,14 +1,13 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { UnstyledProps, UnstyledComponentWithSlots } from '@mijn-ui/react-core';
4
- import { DialogProps } from '@radix-ui/react-dialog';
3
+ import { DialogProps } from '@mijn-ui/react-dialog';
4
+ import { UnstyledComponentWithSlots, CommandSlots, UnstyledProps } from '@mijn-ui/react-theme';
5
5
  import { Command as Command$1 } from 'cmdk';
6
- import { CommandSlots } from '@mijn-ui/react-theme';
7
6
 
8
7
  type CommandBaseProps = UnstyledComponentWithSlots<CommandSlots>;
9
8
  type CommandProps = React.ComponentPropsWithRef<typeof Command$1> & CommandBaseProps;
10
9
  declare const Command: ({ className, classNames, unstyled, ...props }: CommandProps) => react_jsx_runtime.JSX.Element;
11
- type CommandDialogProps = DialogProps & CommandBaseProps & {
10
+ type CommandDialogProps = Omit<DialogProps, "classNames"> & CommandBaseProps & {
12
11
  className?: string;
13
12
  };
14
13
  declare const CommandDialog: ({ children, className, classNames, unstyled, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
@@ -27,4 +26,4 @@ declare const CommandItem: ({ className, unstyled, ...props }: CommandItemProps)
27
26
  type CommandShortcutProps = React.HTMLAttributes<HTMLSpanElement> & UnstyledProps;
28
27
  declare const CommandShortcut: ({ className, unstyled, ...props }: CommandShortcutProps) => react_jsx_runtime.JSX.Element;
29
28
 
30
- export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
29
+ export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, type CommandProps, CommandSeparator, CommandShortcut };
package/dist/index.js CHANGED
@@ -1,15 +1,16 @@
1
1
  "use client"
2
2
 
3
3
  // src/command.tsx
4
+ import { createTVUnstyledSlots } from "@mijn-ui/react-core";
4
5
  import { Dialog, DialogContent } from "@mijn-ui/react-dialog";
5
- import { cn, createContext } from "@mijn-ui/react-utilities";
6
+ import { useTVUnstyled } from "@mijn-ui/react-hooks";
6
7
  import {
7
- createTVUnstyledSlots
8
- } from "@mijn-ui/react-core";
9
- import { Command as CommandPrimitive } from "cmdk";
8
+ cn,
9
+ commandStyles
10
+ } from "@mijn-ui/react-theme";
11
+ import { createContext } from "@mijn-ui/react-utilities";
10
12
  import { SearchIcon } from "@mijn-ui/shared-icons";
11
- import { commandStyles } from "@mijn-ui/react-theme";
12
- import { useTVUnstyled } from "@mijn-ui/react-hooks";
13
+ import { Command as CommandPrimitive } from "cmdk";
13
14
  import { jsx, jsxs } from "react/jsx-runtime";
14
15
  var [CommandProvider, useCommandContext] = createContext({
15
16
  name: "CommandContext",
@@ -1 +1 @@
1
- {"inputs":{"src/command.tsx":{"bytes":8691,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-dialog","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","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":"@mijn-ui/react-theme","kind":"import-statement","external":true},{"path":"@mijn-ui/react-hooks","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","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"cmdk","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"@mijn-ui/react-theme","kind":"import-statement","external":true},{"path":"@mijn-ui/react-hooks","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":4762},"src/index.ts":{"bytesInOutput":0}},"bytes":4937}}}
1
+ {"inputs":{"src/command.tsx":{"bytes":8686,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"@mijn-ui/react-dialog","kind":"import-statement","external":true},{"path":"@mijn-ui/react-hooks","kind":"import-statement","external":true},{"path":"@mijn-ui/react-theme","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"cmdk","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-core","kind":"import-statement","external":true},{"path":"@mijn-ui/react-dialog","kind":"import-statement","external":true},{"path":"@mijn-ui/react-hooks","kind":"import-statement","external":true},{"path":"@mijn-ui/react-theme","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"cmdk","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":4764},"src/index.ts":{"bytesInOutput":0}},"bytes":4939}}}
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.12",
4
+ "version": "0.0.14",
5
5
  "homepage": "https://mijn-ui.vercel.app",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -22,28 +22,28 @@
22
22
  "devDependencies": {
23
23
  "react": "19.0.0",
24
24
  "react-dom": "19.0.0",
25
+ "react-icons": "^5.3.0",
25
26
  "@next/eslint-plugin-next": "^15.0.3",
26
27
  "@types/react": "^19.0.0",
27
28
  "@types/react-dom": "^19.0.0",
28
- "@mijn-ui/react-core": "0.0.3",
29
- "@mijn-ui/react-theme": "0.0.8",
29
+ "@mijn-ui/react-core": "0.0.4",
30
+ "@mijn-ui/react-theme": "0.0.9",
30
31
  "eslint-config-custom": "0.0.1",
31
32
  "tsconfig": "0.0.0",
32
33
  "tsup-config": "0.0.0"
33
34
  },
34
35
  "dependencies": {
35
- "@radix-ui/react-dialog": "^1.1.3",
36
36
  "cmdk": "^1.0.4",
37
- "@mijn-ui/react-dialog": "0.0.12",
38
- "@mijn-ui/shared-icons": "0.0.3",
39
- "@mijn-ui/react-utilities": "0.0.8",
40
- "@mijn-ui/react-hooks": "0.0.10"
37
+ "@mijn-ui/react-dialog": "0.0.14",
38
+ "@mijn-ui/shared-icons": "0.0.4",
39
+ "@mijn-ui/react-utilities": "0.0.9",
40
+ "@mijn-ui/react-hooks": "0.0.12"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": "^19.0",
44
44
  "react-dom": "^19.0",
45
- "@mijn-ui/react-theme": "^0.0.8",
46
- "@mijn-ui/react-core": "^0.0.3"
45
+ "@mijn-ui/react-theme": "^0.0.9",
46
+ "@mijn-ui/react-core": "^0.0.4"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"