@mijn-ui/react-select 0.0.11 → 0.0.12
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 +2 -3
- package/dist/index.js +8 -5
- package/dist/metafile-esm.json +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { UnstyledComponentWithSlots, SelectSlots, UnstyledProps } from '@mijn-ui/react-theme';
|
|
4
4
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
5
|
-
import { SelectSlots } from '@mijn-ui/react-theme';
|
|
6
5
|
|
|
7
6
|
type SelectBaseProps = UnstyledComponentWithSlots<SelectSlots>;
|
|
8
7
|
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -24,4 +23,4 @@ declare const SelectItem: ({ unstyled, className, children, ...props }: SelectIt
|
|
|
24
23
|
type SelectSeparatorProps = React.ComponentPropsWithRef<typeof SelectPrimitive.Separator> & UnstyledProps;
|
|
25
24
|
declare const SelectSeparator: ({ unstyled, className, ...props }: SelectSeparatorProps) => react_jsx_runtime.JSX.Element;
|
|
26
25
|
|
|
27
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
26
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
3
|
// src/select.tsx
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
4
|
+
import { useTVUnstyled } from "@mijn-ui/react-hooks";
|
|
5
|
+
import {
|
|
6
|
+
cn,
|
|
7
|
+
selectStyles
|
|
8
|
+
} from "@mijn-ui/react-theme";
|
|
9
|
+
import { createContext } from "@mijn-ui/react-utilities";
|
|
6
10
|
import {
|
|
7
11
|
CheckIcon,
|
|
8
12
|
ChevronDownIcon,
|
|
9
13
|
ChevronUpIcon
|
|
10
14
|
} from "@mijn-ui/shared-icons";
|
|
11
|
-
import
|
|
12
|
-
import { useTVUnstyled } from "@mijn-ui/react-hooks";
|
|
15
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
13
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
17
|
var [SelectProvider, useSelectContext] = createContext({
|
|
15
18
|
name: "SelectContext",
|
|
@@ -61,7 +64,7 @@ var SelectScrollUpButton = ({
|
|
|
61
64
|
className: cn(classNames?.scrollUpBtn, className)
|
|
62
65
|
}),
|
|
63
66
|
...props,
|
|
64
|
-
children: /* @__PURE__ */ jsx(ChevronUpIcon, {
|
|
67
|
+
children: /* @__PURE__ */ jsx(ChevronUpIcon, {})
|
|
65
68
|
}
|
|
66
69
|
);
|
|
67
70
|
};
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/select.tsx":{"bytes":
|
|
1
|
+
{"inputs":{"src/select.tsx":{"bytes":8277,"imports":[{"path":"react","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":"@radix-ui/react-select","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-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":"@radix-ui/react-select","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":4636},"src/index.ts":{"bytesInOutput":0}},"bytes":4837}}}
|
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.
|
|
4
|
+
"version": "0.0.12",
|
|
5
5
|
"homepage": "https://mijn-ui.vercel.app",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -25,23 +25,23 @@
|
|
|
25
25
|
"@next/eslint-plugin-next": "^15.0.3",
|
|
26
26
|
"@types/react": "^19.0.0",
|
|
27
27
|
"@types/react-dom": "^19.0.0",
|
|
28
|
-
"@mijn-ui/react-core": "0.0.
|
|
29
|
-
"@mijn-ui/react-theme": "0.0.
|
|
28
|
+
"@mijn-ui/react-core": "0.0.4",
|
|
29
|
+
"@mijn-ui/react-theme": "0.0.9",
|
|
30
30
|
"eslint-config-custom": "0.0.1",
|
|
31
31
|
"tsconfig": "0.0.0",
|
|
32
32
|
"tsup-config": "0.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@radix-ui/react-select": "^2.1.3",
|
|
36
|
-
"@mijn-ui/shared-icons": "0.0.
|
|
37
|
-
"@mijn-ui/react-utilities": "0.0.
|
|
38
|
-
"@mijn-ui/react-hooks": "0.0.
|
|
36
|
+
"@mijn-ui/shared-icons": "0.0.4",
|
|
37
|
+
"@mijn-ui/react-utilities": "0.0.9",
|
|
38
|
+
"@mijn-ui/react-hooks": "0.0.11"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": "^19.0",
|
|
42
42
|
"react-dom": "^19.0",
|
|
43
|
-
"@mijn-ui/react-theme": "^0.0.
|
|
44
|
-
"@mijn-ui/react-core": "^0.0.
|
|
43
|
+
"@mijn-ui/react-theme": "^0.0.9",
|
|
44
|
+
"@mijn-ui/react-core": "^0.0.4"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|