@mijn-ui/react-select 0.1.1 → 0.2.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +11 -12
  2. package/package.json +5 -5
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 tailwind_variants from 'tailwind-variants';
3
- import * as tailwind_merge from 'tailwind-merge';
4
3
  import * as _mijn_ui_react_theme from '@mijn-ui/react-theme';
5
- import { UnstyledProps, UnstyledComponentWithSlots, SelectSlots } from '@mijn-ui/react-theme';
4
+ import { UnstyledComponentWithSlots, SelectSlots, UnstyledProps } from '@mijn-ui/react-theme';
6
5
  import * as React from 'react';
7
6
  import * as SelectPrimitive from '@radix-ui/react-select';
8
7
 
@@ -12,34 +11,34 @@ declare const useSelectStyles: (unstyledOverride?: boolean) => {
12
11
  isUnstyled: boolean | undefined;
13
12
  base: (slotProps?: ({
14
13
  position?: "item-aligned" | "popper" | undefined;
15
- } & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string | undefined;
14
+ } & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
16
15
  trigger: (slotProps?: ({
17
16
  position?: "item-aligned" | "popper" | undefined;
18
- } & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string | undefined;
17
+ } & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
19
18
  scrollUpBtn: (slotProps?: ({
20
19
  position?: "item-aligned" | "popper" | undefined;
21
- } & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string | undefined;
20
+ } & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
22
21
  scrollDownBtn: (slotProps?: ({
23
22
  position?: "item-aligned" | "popper" | undefined;
24
- } & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string | undefined;
23
+ } & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
25
24
  content: (slotProps?: ({
26
25
  position?: "item-aligned" | "popper" | undefined;
27
- } & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string | undefined;
26
+ } & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
28
27
  viewport: (slotProps?: ({
29
28
  position?: "item-aligned" | "popper" | undefined;
30
- } & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string | undefined;
29
+ } & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
31
30
  label: (slotProps?: ({
32
31
  position?: "item-aligned" | "popper" | undefined;
33
- } & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string | undefined;
32
+ } & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
34
33
  item: (slotProps?: ({
35
34
  position?: "item-aligned" | "popper" | undefined;
36
- } & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string | undefined;
35
+ } & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
37
36
  itemIndicator: (slotProps?: ({
38
37
  position?: "item-aligned" | "popper" | undefined;
39
- } & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string | undefined;
38
+ } & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
40
39
  separator: (slotProps?: ({
41
40
  position?: "item-aligned" | "popper" | undefined;
42
- } & tailwind_variants.ClassProp<tailwind_merge.ClassNameValue>) | undefined) => string | undefined;
41
+ } & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
43
42
  };
44
43
  declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
45
44
  declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
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.1.1",
4
+ "version": "0.2.0",
5
5
  "homepage": "https://mijn-ui.vercel.app",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -26,22 +26,22 @@
26
26
  "@types/react": "^19.0.0",
27
27
  "@types/react-dom": "^19.0.0",
28
28
  "@mijn-ui/react-core": "0.1.0",
29
- "@mijn-ui/react-theme": "0.1.0",
29
+ "@mijn-ui/react-theme": "0.2.0",
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.4",
36
+ "@mijn-ui/shared-icons": "0.1.0",
37
37
  "@mijn-ui/react-utilities": "0.0.9",
38
38
  "@mijn-ui/react-hooks": "0.0.18"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "react": "^19.0",
42
42
  "react-dom": "^19.0",
43
- "@mijn-ui/react-theme": "^0.1.0",
44
- "@mijn-ui/react-core": "^0.1.0"
43
+ "@mijn-ui/react-theme": "^0.2.0",
44
+ "@mijn-ui/react-core": "^0.2.0"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"