Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@blueprintjs/timezone

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blueprintjs/timezone - npm Package Compare versions

Comparing version 3.8.0 to 3.8.1

3

lib/cjs/components/timezone-picker/timezoneItems.d.ts

@@ -17,2 +17,3 @@ import { IconName } from "@blueprintjs/core";

* Get a list of all timezone items.
*
* @param date the date to use when determining timezone offsets

@@ -25,2 +26,3 @@ */

* The most populous timezone for each offset is chosen.
*
* @param date the date to use when determining timezone offsets

@@ -32,4 +34,5 @@ * @param includeLocalTimezone whether to include the local timezone

* Get the timezone item for the user's local timezone.
*
* @param date the date to use when determining timezone offsets
*/
export declare function getLocalTimezoneItem(date: Date): ITimezoneItem | undefined;

@@ -24,2 +24,3 @@ "use strict";

* Get a list of all timezone items.
*
* @param date the date to use when determining timezone offsets

@@ -39,2 +40,3 @@ */

* The most populous timezone for each offset is chosen.
*
* @param date the date to use when determining timezone offsets

@@ -51,2 +53,3 @@ * @param includeLocalTimezone whether to include the local timezone

* Get the timezone item for the user's local timezone.
*
* @param date the date to use when determining timezone offsets

@@ -76,2 +79,3 @@ */

* than one region for the offset.
*
* @param date the date to use when determining timezone offsets

@@ -78,0 +82,0 @@ */

9

lib/cjs/components/timezone-picker/timezonePicker.d.ts
import * as React from "react";
import { AbstractPureComponent2, HTMLInputProps, IButtonProps, IInputGroupProps, IPopoverProps, IProps } from "@blueprintjs/core";
import { AbstractPureComponent2, IButtonProps, IInputGroupProps2, IPopoverProps, IProps } from "@blueprintjs/core";
import { TimezoneDisplayFormat } from "./timezoneDisplayFormat";

@@ -18,2 +18,3 @@ export { TimezoneDisplayFormat };

* An offset date is necessary to account for DST, but typically the default value of `now` will be sufficient.
*
* @default now

@@ -25,2 +26,3 @@ */

* This prop will be ignored if `children` is provided.
*
* @default false

@@ -31,2 +33,3 @@ */

* Whether to show the local timezone at the top of the list of initial timezone suggestions.
*
* @default true

@@ -38,2 +41,3 @@ */

* This prop will be ignored if `children` is provided.
*
* @default TimezoneDisplayFormat.OFFSET

@@ -45,2 +49,3 @@ */

* This prop will be ignored if `children` is provided.
*
* @default "Select timezone..."

@@ -60,3 +65,3 @@ */

*/
inputProps?: IInputGroupProps & HTMLInputProps;
inputProps?: IInputGroupProps2;
/** Props to spread to `Popover`. Note that `content` cannot be changed. */

@@ -63,0 +68,0 @@ popoverProps?: Partial<IPopoverProps>;

@@ -17,2 +17,3 @@ import { IconName } from "@blueprintjs/core";

* Get a list of all timezone items.
*
* @param date the date to use when determining timezone offsets

@@ -25,2 +26,3 @@ */

* The most populous timezone for each offset is chosen.
*
* @param date the date to use when determining timezone offsets

@@ -32,4 +34,5 @@ * @param includeLocalTimezone whether to include the local timezone

* Get the timezone item for the user's local timezone.
*
* @param date the date to use when determining timezone offsets
*/
export declare function getLocalTimezoneItem(date: Date): ITimezoneItem | undefined;

@@ -21,2 +21,3 @@ /*

* Get a list of all timezone items.
*
* @param date the date to use when determining timezone offsets

@@ -35,2 +36,3 @@ */

* The most populous timezone for each offset is chosen.
*
* @param date the date to use when determining timezone offsets

@@ -46,2 +48,3 @@ * @param includeLocalTimezone whether to include the local timezone

* Get the timezone item for the user's local timezone.
*
* @param date the date to use when determining timezone offsets

@@ -70,2 +73,3 @@ */

* than one region for the offset.
*
* @param date the date to use when determining timezone offsets

@@ -72,0 +76,0 @@ */

import * as React from "react";
import { AbstractPureComponent2, HTMLInputProps, IButtonProps, IInputGroupProps, IPopoverProps, IProps } from "@blueprintjs/core";
import { AbstractPureComponent2, IButtonProps, IInputGroupProps2, IPopoverProps, IProps } from "@blueprintjs/core";
import { TimezoneDisplayFormat } from "./timezoneDisplayFormat";

@@ -18,2 +18,3 @@ export { TimezoneDisplayFormat };

* An offset date is necessary to account for DST, but typically the default value of `now` will be sufficient.
*
* @default now

@@ -25,2 +26,3 @@ */

* This prop will be ignored if `children` is provided.
*
* @default false

@@ -31,2 +33,3 @@ */

* Whether to show the local timezone at the top of the list of initial timezone suggestions.
*
* @default true

@@ -38,2 +41,3 @@ */

* This prop will be ignored if `children` is provided.
*
* @default TimezoneDisplayFormat.OFFSET

@@ -45,2 +49,3 @@ */

* This prop will be ignored if `children` is provided.
*
* @default "Select timezone..."

@@ -60,3 +65,3 @@ */

*/
inputProps?: IInputGroupProps & HTMLInputProps;
inputProps?: IInputGroupProps2;
/** Props to spread to `Popover`. Note that `content` cannot be changed. */

@@ -63,0 +68,0 @@ popoverProps?: Partial<IPopoverProps>;

@@ -17,2 +17,3 @@ import { IconName } from "@blueprintjs/core";

* Get a list of all timezone items.
*
* @param date the date to use when determining timezone offsets

@@ -25,2 +26,3 @@ */

* The most populous timezone for each offset is chosen.
*
* @param date the date to use when determining timezone offsets

@@ -32,4 +34,5 @@ * @param includeLocalTimezone whether to include the local timezone

* Get the timezone item for the user's local timezone.
*
* @param date the date to use when determining timezone offsets
*/
export declare function getLocalTimezoneItem(date: Date): ITimezoneItem | undefined;

@@ -20,2 +20,3 @@ /*

* Get a list of all timezone items.
*
* @param date the date to use when determining timezone offsets

@@ -34,2 +35,3 @@ */

* The most populous timezone for each offset is chosen.
*
* @param date the date to use when determining timezone offsets

@@ -45,2 +47,3 @@ * @param includeLocalTimezone whether to include the local timezone

* Get the timezone item for the user's local timezone.
*
* @param date the date to use when determining timezone offsets

@@ -69,2 +72,3 @@ */

* than one region for the offset.
*
* @param date the date to use when determining timezone offsets

@@ -71,0 +75,0 @@ */

import * as React from "react";
import { AbstractPureComponent2, HTMLInputProps, IButtonProps, IInputGroupProps, IPopoverProps, IProps } from "@blueprintjs/core";
import { AbstractPureComponent2, IButtonProps, IInputGroupProps2, IPopoverProps, IProps } from "@blueprintjs/core";
import { TimezoneDisplayFormat } from "./timezoneDisplayFormat";

@@ -18,2 +18,3 @@ export { TimezoneDisplayFormat };

* An offset date is necessary to account for DST, but typically the default value of `now` will be sufficient.
*
* @default now

@@ -25,2 +26,3 @@ */

* This prop will be ignored if `children` is provided.
*
* @default false

@@ -31,2 +33,3 @@ */

* Whether to show the local timezone at the top of the list of initial timezone suggestions.
*
* @default true

@@ -38,2 +41,3 @@ */

* This prop will be ignored if `children` is provided.
*
* @default TimezoneDisplayFormat.OFFSET

@@ -45,2 +49,3 @@ */

* This prop will be ignored if `children` is provided.
*
* @default "Select timezone..."

@@ -60,3 +65,3 @@ */

*/
inputProps?: IInputGroupProps & HTMLInputProps;
inputProps?: IInputGroupProps2;
/** Props to spread to `Popover`. Note that `content` cannot be changed. */

@@ -63,0 +68,0 @@ popoverProps?: Partial<IPopoverProps>;

{
"name": "@blueprintjs/timezone",
"version": "3.8.0",
"version": "3.8.1",
"description": "Components related to timezone selection and UI",

@@ -38,4 +38,4 @@ "main": "lib/cjs/index.js",

"dependencies": {
"@blueprintjs/core": "^3.36.0",
"@blueprintjs/select": "^3.15.0",
"@blueprintjs/core": "^3.37.0",
"@blueprintjs/select": "^3.15.1",
"classnames": "^2.2",

@@ -52,11 +52,11 @@ "moment": "^2.29.0",

"devDependencies": {
"@blueprintjs/node-build-scripts": "^1.4.0",
"@blueprintjs/test-commons": "^0.10.7",
"@blueprintjs/node-build-scripts": "^1.5.0",
"@blueprintjs/test-commons": "^0.10.8",
"enzyme": "^3.11.0",
"karma": "^5.2.2",
"karma": "^5.2.3",
"npm-run-all": "^4.1.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"typescript": "~4.0.3",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"typescript": "~4.1.2",
"webpack-cli": "^3.3.12"

@@ -63,0 +63,0 @@ },

@@ -18,2 +18,3 @@ /*

import * as moment from "moment-timezone";
import { getTimezoneMetadata } from "./timezoneMetadata";

@@ -20,0 +21,0 @@

@@ -17,4 +17,6 @@ /*

import * as moment from "moment-timezone";
import { IconName } from "@blueprintjs/core";
import * as moment from "moment-timezone";
import { getTimezoneMetadata, ITimezoneMetadata } from "./timezoneMetadata";

@@ -42,2 +44,3 @@

* Get a list of all timezone items.
*
* @param date the date to use when determining timezone offsets

@@ -57,2 +60,3 @@ */

* The most populous timezone for each offset is chosen.
*
* @param date the date to use when determining timezone offsets

@@ -69,2 +73,3 @@ * @param includeLocalTimezone whether to include the local timezone

* Get the timezone item for the user's local timezone.
*
* @param date the date to use when determining timezone offsets

@@ -93,2 +98,3 @@ */

* than one region for the offset.
*
* @param date the date to use when determining timezone offsets

@@ -95,0 +101,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc