@dhasdk/simple-ui 0.0.1 → 0.0.3

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/lib/Select.d.ts +2 -2
  2. package/package.json +6 -4
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
- export interface SelectProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root> {
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,12 +1,14 @@
1
1
  {
2
2
  "name": "@dhasdk/simple-ui",
3
- "version": "0.0.1",
4
- "main": "./index.js",
3
+ "version": "0.0.3",
4
+ "main": "./index.ts",
5
5
  "types": "./index.d.ts",
6
+ "license": "MIT",
6
7
  "exports": {
7
8
  ".": {
8
- "import": "./index.mjs",
9
- "require": "./index.js"
9
+ "types": "./index.d.ts",
10
+ "import": "./index.ts",
11
+ "require": "./index.ts"
10
12
  }
11
13
  }
12
14
  }