react-timezone-select 1.5.1 → 1.5.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +4 -3
package/dist/index.d.ts CHANGED
@@ -12,7 +12,8 @@ interface ITimezoneOption {
12
12
  altName?: string
13
13
  }
14
14
  declare type ITimezone = ITimezoneOption | string
15
- interface Props extends Omit<Props$1, 'onChange'> {
15
+ interface Props
16
+ extends Omit<Props$1<ITimezone, false>, 'onChange'> {
16
17
  value: ITimezone
17
18
  labelStyle?: ILabelStyle
18
19
  onChange?: (timezone: ITimezoneOption) => void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-timezone-select",
3
- "version": "1.5.1",
3
+ "version": "1.5.4",
4
4
  "description": "Usable, dynamic React Timezone Select",
5
5
  "scripts": {
6
6
  "dev": "concurrently \"rollup -cw\" \"cd example && npm run dev\"",
@@ -40,8 +40,9 @@
40
40
  "types": "./dist/index.d.ts",
41
41
  "exports": {
42
42
  ".": {
43
- "import": "./index.js",
44
- "require": "./index.cjs"
43
+ "types": "./dist/index.d.ts",
44
+ "import": "./dist/index.js",
45
+ "require": "./dist/index.cjs"
45
46
  }
46
47
  },
47
48
  "peerDependencies": {