@mijn-ui/react-dropdown-menu 0.0.6 → 0.0.7

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.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  cn
9
9
  } from "@mijn-ui/react-utilities/shared";
10
10
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
11
- import { LuCheck, LuChevronRight, LuCircle } from "react-icons/lu";
11
+ import { CheckIcon, ChevronRightIcon, CircleIcon } from "@mijn-ui/shared-icons";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
14
14
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
@@ -61,7 +61,7 @@ var DropdownMenuSubTrigger = ({
61
61
  ...props,
62
62
  children: [
63
63
  children,
64
- /* @__PURE__ */ jsx(LuChevronRight, { className: "ml-auto" })
64
+ /* @__PURE__ */ jsx(ChevronRightIcon, { className: "ml-auto" })
65
65
  ]
66
66
  }
67
67
  );
@@ -156,7 +156,7 @@ var DropdownMenuCheckboxItem = ({
156
156
  isUnstyled,
157
157
  "absolute left-2 flex h-3.5 w-3.5 items-center justify-center"
158
158
  ),
159
- children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(LuCheck, { className: "size-4" }) })
159
+ children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) })
160
160
  }
161
161
  ),
162
162
  children
@@ -188,7 +188,7 @@ var DropdownMenuRadioItem = ({
188
188
  isUnstyled,
189
189
  "absolute left-2 flex h-3.5 w-3.5 items-center justify-center"
190
190
  ),
191
- children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(LuCircle, { className: "size-2 fill-current" }) })
191
+ children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CircleIcon, { className: "size-2 fill-current" }) })
192
192
  }
193
193
  ),
194
194
  children
@@ -1 +1 @@
1
- {"inputs":{"src/dropdown-menu.tsx":{"bytes":12038,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-button","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-dropdown-menu","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":32,"imports":[{"path":"src/dropdown-menu.tsx","kind":"import-statement","original":"./dropdown-menu"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"@mijn-ui/react-button","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-dropdown-menu","kind":"import-statement","external":true},{"path":"react-icons/lu","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["DropdownMenu","DropdownMenuCheckboxItem","DropdownMenuContent","DropdownMenuGroup","DropdownMenuItem","DropdownMenuLabel","DropdownMenuPortal","DropdownMenuRadioGroup","DropdownMenuRadioItem","DropdownMenuSeparator","DropdownMenuShortcut","DropdownMenuSub","DropdownMenuSubContent","DropdownMenuSubTrigger","DropdownMenuTrigger"],"entryPoint":"src/index.ts","inputs":{"src/dropdown-menu.tsx":{"bytesInOutput":7800},"src/index.ts":{"bytesInOutput":0}},"bytes":8181}}}
1
+ {"inputs":{"src/dropdown-menu.tsx":{"bytes":12057,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-button","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-dropdown-menu","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":32,"imports":[{"path":"src/dropdown-menu.tsx","kind":"import-statement","original":"./dropdown-menu"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"@mijn-ui/react-button","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-dropdown-menu","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":["DropdownMenu","DropdownMenuCheckboxItem","DropdownMenuContent","DropdownMenuGroup","DropdownMenuItem","DropdownMenuLabel","DropdownMenuPortal","DropdownMenuRadioGroup","DropdownMenuRadioItem","DropdownMenuSeparator","DropdownMenuShortcut","DropdownMenuSub","DropdownMenuSubContent","DropdownMenuSubTrigger","DropdownMenuTrigger"],"entryPoint":"src/index.ts","inputs":{"src/dropdown-menu.tsx":{"bytesInOutput":7819},"src/index.ts":{"bytesInOutput":0}},"bytes":8200}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mijn-ui/react-dropdown-menu",
3
3
  "author": "Htet Aung Lin<htetaunglin.coder@gmail.com>",
4
- "version": "0.0.6",
4
+ "version": "0.0.7",
5
5
  "homepage": "https://mijn-ui.vercel.app",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -24,14 +24,15 @@
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
  "@radix-ui/react-dropdown-menu": "^2.1.2",
34
- "@mijn-ui/react-button": "0.0.6",
34
+ "@mijn-ui/shared-icons": "0.0.1",
35
+ "@mijn-ui/react-button": "0.0.7",
35
36
  "@mijn-ui/react-utilities": "0.0.5"
36
37
  },
37
38
  "peerDependencies": {