@dhasdk/simple-ui 0.0.2 → 0.0.4
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/lib/Select.d.ts +2 -2
- package/package.json +5 -4
- package/style.css +1 -1
package/lib/Select.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { ReactNode } from 'react';
|
|
|
6
6
|
*/
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
9
|
-
|
|
9
|
+
interface SelectProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root> {
|
|
10
10
|
widthClass?: string;
|
|
11
11
|
triggerClassName?: string;
|
|
12
12
|
arrowClassName?: string;
|
|
@@ -40,4 +40,4 @@ declare const ComponentWidthProvider: React.FC<{
|
|
|
40
40
|
children: ReactNode;
|
|
41
41
|
}>;
|
|
42
42
|
declare const useComponentWidth: () => ComponentWidthContextType;
|
|
43
|
-
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, ComponentWidthProvider, useComponentWidth, };
|
|
43
|
+
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, ComponentWidthProvider, useComponentWidth, SelectProps, };
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhasdk/simple-ui",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"main": "./index.
|
|
3
|
+
"version": "0.0.4",
|
|
4
|
+
"main": "./index.ts",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"types": "./index.d.ts",
|
|
10
|
+
"import": "./index.ts",
|
|
11
|
+
"require": "./index.ts"
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
}
|