react-timezone-select
Advanced tools
Comparing version 1.1.11 to 1.1.12
/// <reference types="react" /> | ||
import allTimezones from './timezone-list'; | ||
import "./index.css"; | ||
import type { Props } from './types/timezone'; | ||
import type { Props, ITimezone, ITimezoneOption, ILabelStyle } from './types/timezone'; | ||
export declare enum LabelType { | ||
@@ -13,1 +13,2 @@ ORIGINAL = "original", | ||
export { allTimezones }; | ||
export type { ITimezone, ITimezoneOption, Props, ILabelStyle }; |
@@ -33,3 +33,3 @@ import { jsx as _jsx } from "react/jsx-runtime"; | ||
case "altName": | ||
label = `${prefix} ${!altName?.includes("/") ? `(${altName})` : ""}`; | ||
label = `${prefix} ${altName?.length ? `(${altName})` : ""}`; | ||
break; | ||
@@ -36,0 +36,0 @@ case "abbrev": |
{ | ||
"name": "react-timezone-select", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"description": "Usable, dynamic React Timezone Select", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
25263
13
230