react-timezone-select
Advanced tools
Comparing version 0.9.10 to 0.9.11
@@ -8,3 +8,3 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports["default"] = exports.i18nTimezones = void 0; | ||
@@ -43,3 +43,3 @@ var _react = _interopRequireWildcard(require("react")); | ||
var i18n = { | ||
var i18nTimezones = { | ||
'Pacific/Midway': 'Midway Island, Samoa', | ||
@@ -118,2 +118,3 @@ 'Pacific/Honolulu': 'Hawaii', | ||
}; | ||
exports.i18nTimezones = i18nTimezones; | ||
@@ -126,3 +127,4 @@ var TimezoneSelect = function TimezoneSelect(_ref) { | ||
labelStyle = _ref$labelStyle === void 0 ? 'original' : _ref$labelStyle, | ||
props = _objectWithoutProperties(_ref, ["value", "onBlur", "onChange", "labelStyle"]); | ||
timezones = _ref.timezones, | ||
props = _objectWithoutProperties(_ref, ["value", "onBlur", "onChange", "labelStyle", "timezones"]); | ||
@@ -134,5 +136,6 @@ var _useState = (0, _react.useState)({}), | ||
timezones = timezones || i18nTimezones; | ||
var getOptions = (0, _react.useMemo)(function () { | ||
var options = []; | ||
Object.entries(i18n).reduce(function (obj, entry) { | ||
Object.entries(timezones).reduce(function (obj, entry) { | ||
var a = _spacetime["default"].now()["goto"](entry[0]); | ||
@@ -227,2 +230,2 @@ | ||
exports["default"] = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJpMThuIiwiR01UIiwiVGltZXpvbmVTZWxlY3QiLCJ2YWx1ZSIsIm9uQmx1ciIsIm9uQ2hhbmdlIiwibGFiZWxTdHlsZSIsInByb3BzIiwic2VsZWN0ZWRUaW1lem9uZSIsInNldFNlbGVjdGVkVGltZXpvbmUiLCJnZXRPcHRpb25zIiwib3B0aW9ucyIsIk9iamVjdCIsImVudHJpZXMiLCJyZWR1Y2UiLCJvYmoiLCJlbnRyeSIsImEiLCJzcGFjZXRpbW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SA9IHNwYWNldGltZS5ub3coKS5nb3RvKGVudHJ5WzBdKVxuICAgICAgICBjb25zdCB0eiA9IGEudGltZXpvbmUoKVxuICAgICAgICBjb25zdCB0ekRpc3BsYXkgPSBkaXNwbGF5KGVudHJ5WzBdKVxuICAgICAgICBsZXQgYWJicmV2ID0gZW50cnlbMF1cbiAgICAgICAgbGV0IGFsdE5hbWUgPSBlbnRyeVswXVxuICAgICAgICBpZiAodHpEaXNwbGF5ICYmIHR6RGlzcGxheS5kYXlsaWdodCAmJiB0ekRpc3BsYXkuc3RhbmRhcmQpIHtcbiAgICAgICAgICBhYmJyZXYgPSBhLmlzRFNUKClcbiAgICAgICAgICAgID8gdHpEaXNwbGF5LmRheWxpZ2h0LmFiYnJldlxuICAgICAgICAgICAgOiB0ekRpc3BsYXkuc3RhbmRhcmQuYWJicmV2XG4gICAgICAgICAgYWx0TmFtZSA9IGEuaXNEU1QoKVxuICAgICAgICAgICAgPyB0ekRpc3BsYXkuZGF5bGlnaHQubmFtZVxuICAgICAgICAgICAgOiB0ekRpc3BsYXkuc3RhbmRhcmQubmFtZVxuICAgICAgICB9XG4gICAgICAgIG9iai5wdXNoKHtcbiAgICAgICAgICBuYW1lOiBlbnRyeVswXSxcbiAgICAgICAgICBsYWJlbDogZW50cnlbMV0sXG4gICAgICAgICAgb2Zmc2V0OiB0ei5jdXJyZW50Lm9mZnNldCxcbiAgICAgICAgICBhYmJyZXY6IGFiYnJldixcbiAgICAgICAgICBhbHROYW1lOiBhbHROYW1lLFxuICAgICAgICB9KVxuICAgICAgICByZXR1cm4gb2JqXG4gICAgICB9KVxuICAgICAgLnNvcnQoKGEsIGIpID0+IHtcbiAgICAgICAgcmV0dXJuIGEub2Zmc2V0IC0gYi5vZmZzZXRcbiAgICAgIH0pXG4gICAgICAubWFwKHR6ID0+IHtcbiAgICAgICAgaWYgKHR6Lm9mZnNldCA9PT0gdW5kZWZpbmVkKSByZXR1cm4gZmFsc2VcbiAgICAgICAgbGV0IGxhYmVsID0gJydcbiAgICAgICAgY29uc3QgbWluID0gdHoub2Zmc2V0ICogNjBcbiAgICAgICAgY29uc3QgaHIgPVxuICAgICAgICAgIGAkeyhtaW4gLyA2MCkgXiAwfTpgICsgKG1pbiAlIDYwID09PSAwID8gJzAwJyA6IE1hdGguYWJzKG1pbiAlIDYwKSlcbiAgICAgICAgY29uc3QgcHJlZml4ID0gYChHTVQke2hyLmluY2x1ZGVzKCctJykgPyBociA6IGArJHtocn1gfSkgJHt0ei5sYWJlbH1gXG5cbiAgICAgICAgc3dpdGNoIChsYWJlbFN0eWxlKSB7XG4gICAgICAgICAgY2FzZSAnb3JpZ2luYWwnOlxuICAgICAgICAgICAgbGFiZWwgPSBwcmVmaXhcbiAgICAgICAgICAgIGJyZWFrXG4gICAgICAgICAgY2FzZSAnYWx0TmFtZSc6XG4gICAgICAgICAgICBsYWJlbCA9IGAke3ByZWZpeH0gJHtcbiAgICAgICAgICAgICAgIXR6LmFsdE5hbWUuaW5jbHVkZXMoJy8nKSA/IGAoJHt0ei5hbHROYW1lfSlgIDogJydcbiAgICAgICAgICAgIH1gXG4gICAgICAgICAgICBicmVha1xuICAgICAgICAgIGNhc2UgJ2FiYnJldic6XG4gICAgICAgICAgICBsYWJlbCA9IGAke3ByZWZpeH0gXG4gICAgICAgICAgICAke3R6LmFiYnJldi5sZW5ndGggPCA1ID8gYCgke3R6LmFiYnJldn0pYCA6ICcnfWBcbiAgICAgICAgICAgIGJyZWFrXG4gICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIGxhYmVsID0gYCR7cHJlZml4fWBcbiAgICAgICAgfVxuICAgICAgICBvcHRpb25zLnB1c2goe1xuICAgICAgICAgIHZhbHVlOiB0ei5uYW1lLFxuICAgICAgICAgIGxhYmVsOiBsYWJlbCxcbiAgICAgICAgICBhYmJyZXY6IHR6LmFiYnJldixcbiAgICAgICAgICBhbHROYW1lOiB0ei5hbHROYW1lLFxuICAgICAgICB9KVxuICAgICAgfSlcbiAgICByZXR1cm4gb3B0aW9uc1xuICB9LCBbbGFiZWxTdHlsZV0pXG5cbiAgY29uc3QgaGFuZGxlQ2hhbmdlID0gdHogPT4ge1xuICAgIHNldFNlbGVjdGVkVGltZXpvbmUodHopXG4gICAgb25DaGFuZ2UgJiYgb25DaGFuZ2UodHopXG4gIH0gXG5cbiAgY29uc3QgY29uc3RydWN0VHogPSB2YWx1ZSA9PiB7XG4gICAgbGV0IHJldHVyblR6XG4gICAgaWYgKHZhbHVlLnZhbHVlICYmIHZhbHVlLmxhYmVsKSAge1xuICAgICAgcmV0dXJuVHogPSB2YWx1ZVxuICAgIH0gZWxzZSBpZiAodmFsdWUudmFsdWUgJiYgIXZhbHVlLmxhYmVsKSB7XG4gICAgICByZXR1cm5UeiA9IGdldE9wdGlvbnMuZmluZCh0eiA9PiB0ei52YWx1ZSA9PT0gdmFsdWUudmFsdWUpXG4gICAgfSBlbHNlIGlmICh0eXBlb2YgdmFsdWUgPT09ICdzdHJpbmcnICYmICFzZWxlY3RlZFRpbWV6b25lLmxhYmVsKSB7XG4gICAgICByZXR1cm5UeiA9IGdldE9wdGlvbnMuZmluZCh0eiA9PiB0ei52YWx1ZSA9PT0gdmFsdWUpXG4gICAgfVxuICAgIHJldHVybiByZXR1cm5UelxuICB9XG5cbiAgcmV0dXJuIChcbiAgICA8U2VsZWN0XG4gICAgICB2YWx1ZT17Y29uc3RydWN0VHoodmFsdWUpfVxuICAgICAgb25DaGFuZ2U9e2hhbmRsZUNoYW5nZX1cbiAgICAgIG9wdGlvbnM9e2dldE9wdGlvbnN9XG4gICAgICBvbkJsdXI9e29uQmx1cn1cbiAgICAgIHsuLi5wcm9wc31cbiAgICAvPlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IFRpbWV6b25lU2VsZWN0XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6Wy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lzcGxheS5kYXlsaWdodC5uYW1lXG4gICAgICAgICAgICA6IHR6RGlzcGxheS5zdGFuZGFyZC5uYW1lXG4gICAgICAgIH1cbiAgICAgICAgb2JqLnB1c2goe1xuICAgICAgICAgIG5hbWU6IGVudHJ5WzBdLFxuICAgICAgICAgIGxhYmVsOiBlbnRyeVsxXSxcbiAgICAgICAgICBvZmZzZXQ6IHR6LmN1cnJlbnQub2Zmc2V0LFxuICAgICAgICAgIGFiYnJldjogYWJicmV2LFxuICAgICAgICAgIGFsdE5hbWU6IGFsdE5hbWUsXG4gICAgICAgIH0pXG4gICAgICAgIHJldHVybiBvYmpcbiAgICAgIH0pXG4gICAgICAuc29ydCgoYSwgYikgPT4ge1xuICAgICAgICByZXR1cm4gYS5vZmZzZXQgLSBiLm9mZnNldFxuICAgICAgfSlcbiAgICAgIC5tYXAodHogPT4ge1xuICAgICAgICBpZiAodHoub2Zmc2V0ID09PSB1bmRlZmluZWQpIHJldHVybiBmYWxzZVxuICAgICAgICBsZXQgbGFiZWwgPSAnJ1xuICAgICAgICBjb25zdCBtaW4gPSB0ei5vZmZzZXQgKiA2MFxuICAgICAgICBjb25zdCBociA9XG4gICAgICAgICAgYCR7KG1pbiAvIDYwKSBeIDB9OmAgKyAobWluICUgNjAgPT09IDAgPyAnMDAnIDogTWF0aC5hYnMobWluICUgNjApKVxuICAgICAgICBjb25zdCBwcmVmaXggPSBgKEdNVCR7aHIuaW5jbHVkZXMoJy0nKSA/IGhyIDogYCske2hyfWB9KSAke3R6LmxhYmVsfWBcblxuICAgICAgICBzd2l0Y2ggKGxhYmVsU3R5bGUpIHtcbiAgICAgICAgICBjYXNlICdvcmlnaW5hbCc6XG4gICAgICAgICAgICBsYWJlbCA9IHByZWZpeFxuICAgICAgICAgICAgYnJlYWtcbiAgICAgICAgICBjYXNlICdhbHROYW1lJzpcbiAgICAgICAgICAgIGxhYmVsID0gYCR7cHJlZml4fSAke1xuICAgICAgICAgICAgICAhdHouYWx0TmFtZS5pbm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T0gJ3N0cmluZycgJiYgIXNlbGVjdGVkVGltZXpvbmUubGFiZWwpIHtcbiAgICAgIHJldHVyblR6ID0gZ2V0T3B0aW9ucy5maW5kKHR6ID0+IHR6LnZhbHVlID09PSB2YWx1ZSlcbiAgICB9XG4gICAgcmV0dXJuIHJldHVyblR6XG4gIH1cblxuICByZXR1cm4gKFxuICAgIDxTZWxlY3RcbiAgICAgIHZhbHVlPXtjb25zdHJ1Y3RUeih2YWx1ZSl9XG4gICAgICBvbkNoYW5nZT17aGFuZGxlQ2hhbmdlfVxuICAgICAgb3B0aW9ucz17Z2V0T3B0aW9uc31cbiAgICAgIG9uQmx1cj17b25CbHVyfVxuICAgICAgey4uLnByb3BzfVxuICAgIC8+XG4gIClcbn1cblxuZXhwb3J0IGRlZmF1bHQgVGltZXpvbmVTZWxlY3RcbiJdfQ== |
{ | ||
"name": "react-timezone-select", | ||
"version": "0.9.10", | ||
"version": "0.9.11", | ||
"description": "Usable, dynamic React Timezone Select", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -95,20 +95,30 @@ # đâ react-timezone-select | ||
- `labelStyle` - `'original' | 'altName' | 'abbrev'` | ||
- `timezone` - Custom Timezone Object | ||
- Any other [`react-select`](https://github.com/jedwatson/react-select#props) props | ||
> **New in 0.9.0** - We've added multiple label styles, based upon a generous pull request and the [`spacetime-informal`](https://npm.im/spacetime-informal) library. | ||
## đ Custom Timezones | ||
#### `original` | ||
New in `v0.9.11`, we shipped a new prop to allow users to fully replace the timezone choices, or simply append a few custom choices. | ||
![original labelstyle](https://imgur.com/NveHGpg.png) | ||
The prop `timezones` takes an object where the key/value format is simply `'Official Timezone Name' : 'Your Label for it'`. So for example: | ||
#### `altName` | ||
``` | ||
import { TimezoneSelect, i18nTimezones } from 'react-timezone-select' | ||
... | ||
![altName labelstyle](https://imgur.com/7sxgNbj.png) | ||
<TimezoneSelect | ||
value={selectedTimezone} | ||
onChange={setSelectedTimezone} | ||
labelStyle={labelStyle} | ||
onBlur={() => console.log('Blur!')} | ||
timezones={{ | ||
...i18nTimezones | ||
'America/Lima': 'Pittsburgh', | ||
'Europe/Berlin': 'Frankfurt', | ||
}} | ||
/> | ||
``` | ||
#### `abbrev` | ||
Here you can see we're simply appending two new choices to the existing ones. You can omit the `i18nTimezones` object in the prop though and pass in your own complete custom list of timezone options. | ||
![abbrev labelstyle](https://imgur.com/WQPNlw2.png) | ||
The demo page will show you all three types of values available for each selected timezone. | ||
## đ§ Contributing | ||
@@ -115,0 +125,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34156
196
132