@mijn-ui/react-select 0.0.5 → 0.0.6

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
@@ -7,7 +7,11 @@ import {
7
7
  cn
8
8
  } from "@mijn-ui/react-utilities/shared";
9
9
  import * as SelectPrimitive from "@radix-ui/react-select";
10
- import { LuCheck, LuChevronDown, LuChevronUp } from "react-icons/lu";
10
+ import {
11
+ CheckIcon,
12
+ ChevronDownIcon,
13
+ ChevronUpIcon
14
+ } from "@mijn-ui/shared-icons";
11
15
  import { jsx, jsxs } from "react/jsx-runtime";
12
16
  var SelectGroup = SelectPrimitive.Group;
13
17
  var SelectValue = SelectPrimitive.Value;
@@ -33,7 +37,7 @@ var SelectTrigger = ({
33
37
  ...props,
34
38
  children: [
35
39
  children,
36
- /* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(LuChevronDown, { className: "size-4 opacity-50" }) })
40
+ /* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4 opacity-50" }) })
37
41
  ]
38
42
  }
39
43
  );
@@ -54,7 +58,7 @@ var SelectScrollUpButton = ({
54
58
  className
55
59
  ),
56
60
  ...props,
57
- children: /* @__PURE__ */ jsx(LuChevronUp, { className: "size-4" })
61
+ children: /* @__PURE__ */ jsx(ChevronUpIcon, { className: "size-4" })
58
62
  }
59
63
  );
60
64
  };
@@ -74,7 +78,7 @@ var SelectScrollDownButton = ({
74
78
  className
75
79
  ),
76
80
  ...props,
77
- children: /* @__PURE__ */ jsx(LuChevronDown, { className: "size-4" })
81
+ children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4" })
78
82
  }
79
83
  );
80
84
  };
@@ -158,7 +162,7 @@ var SelectItem = ({
158
162
  isUnstyled,
159
163
  "absolute right-2 flex h-3.5 w-3.5 items-center justify-center"
160
164
  ),
161
- children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(LuCheck, { className: "size-4" }) })
165
+ children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) })
162
166
  }
163
167
  )
164
168
  ]
@@ -1 +1 @@
1
- {"inputs":{"src/select.tsx":{"bytes":8913,"imports":[{"path":"react","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-select","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":25,"imports":[{"path":"src/select.tsx","kind":"import-statement","original":"./select"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"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-select","kind":"import-statement","external":true},{"path":"react-icons/lu","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["Select","SelectContent","SelectGroup","SelectItem","SelectLabel","SelectScrollDownButton","SelectScrollUpButton","SelectSeparator","SelectTrigger","SelectValue"],"entryPoint":"src/index.ts","inputs":{"src/select.tsx":{"bytesInOutput":5936},"src/index.ts":{"bytesInOutput":0}},"bytes":6137}}}
1
+ {"inputs":{"src/select.tsx":{"bytes":8941,"imports":[{"path":"react","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-select","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":25,"imports":[{"path":"src/select.tsx","kind":"import-statement","original":"./select"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"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-select","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":["Select","SelectContent","SelectGroup","SelectItem","SelectLabel","SelectScrollDownButton","SelectScrollUpButton","SelectSeparator","SelectTrigger","SelectValue"],"entryPoint":"src/index.ts","inputs":{"src/select.tsx":{"bytesInOutput":5963},"src/index.ts":{"bytesInOutput":0}},"bytes":6164}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mijn-ui/react-select",
3
3
  "author": "Htet Aung Lin<htetaunglin.coder@gmail.com>",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
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-select": "^2.1.2",
34
- "@mijn-ui/react-utilities": "0.0.5"
34
+ "@mijn-ui/react-utilities": "0.0.5",
35
+ "@mijn-ui/shared-icons": "0.0.1"
35
36
  },
36
37
  "peerDependencies": {
37
38
  "react": "^19.0",