react-timezone-select 2.1.2 → 2.1.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/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/index.d.ts +1 -1
- package/package.json +15 -13
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare type TimezoneSelectOptions = {
|
|
|
21
21
|
};
|
|
22
22
|
declare type Props = Omit<Props$1<ITimezone, false>, 'onChange'> & TimezoneSelectOptions & {
|
|
23
23
|
value: ITimezone;
|
|
24
|
-
onChange?: (timezone:
|
|
24
|
+
onChange?: (timezone: ITimezone) => void;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
declare const allTimezones: ICustomTimezone;
|
package/package.json
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-timezone-select",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "Usable, dynamic React Timezone Select",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "concurrently \"tsup src/index.tsx --format esm --watch\" \"cd example && pnpm dev\"",
|
|
7
|
+
"prepublishOnly": "pnpm run build",
|
|
8
|
+
"postpublish": "pnpm run build:example && npm run deploy",
|
|
9
|
+
"build": "tsup src/index.tsx --format cjs,esm --dts",
|
|
10
|
+
"build:example": "cd example && pnpm run build",
|
|
11
|
+
"deploy": "gh-pages -d example/dist",
|
|
12
|
+
"pretest": "pnpm run build",
|
|
13
|
+
"test": "jest",
|
|
14
|
+
"test:watch": "jest --watch",
|
|
15
|
+
"test:ci": "pnpm run build && jest --ci ",
|
|
16
|
+
"tsc": "tsc"
|
|
17
|
+
},
|
|
5
18
|
"author": "Nico Domino <yo@ndo.dev>",
|
|
6
19
|
"homepage": "https://github.com/ndom91/react-timezone-select",
|
|
7
20
|
"repository": {
|
|
@@ -101,16 +114,5 @@
|
|
|
101
114
|
"*.{js,jsx}": [
|
|
102
115
|
"eslint --fix"
|
|
103
116
|
]
|
|
104
|
-
},
|
|
105
|
-
"scripts": {
|
|
106
|
-
"dev": "concurrently \"tsup src/index.tsx --format esm --watch\" \"cd example && pnpm dev\"",
|
|
107
|
-
"build": "tsup src/index.tsx --format cjs,esm --dts",
|
|
108
|
-
"build:example": "cd example && pnpm run build",
|
|
109
|
-
"deploy": "gh-pages -d example/dist",
|
|
110
|
-
"pretest": "pnpm run build",
|
|
111
|
-
"test": "jest",
|
|
112
|
-
"test:watch": "jest --watch",
|
|
113
|
-
"test:ci": "pnpm run build && jest --ci ",
|
|
114
|
-
"tsc": "tsc"
|
|
115
117
|
}
|
|
116
|
-
}
|
|
118
|
+
}
|