@blueprintjs/datetime
Advanced tools
Comparing version 1.9.0 to 1.9.1
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DATEPICKER = "pt-datepicker"; | ||
@@ -10,0 +11,0 @@ exports.DATEPICKER_CAPTION = "pt-datepicker-caption"; |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var moment = require("moment"); | ||
@@ -10,0 +11,0 @@ var DateRangeBoundary; |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var ns = "[Blueprint]"; | ||
@@ -10,0 +11,0 @@ exports.DATEPICKER_DEFAULT_VALUE_INVALID = ns + " <DatePicker> defaultValue must be within minDate and maxDate bounds"; |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var dateUtils_1 = require("./dateUtils"); | ||
@@ -10,0 +11,0 @@ var MonthAndYear = (function () { |
@@ -8,4 +8,5 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
; | ||
//# sourceMappingURL=months.js.map |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -10,0 +11,0 @@ * Measure width of a string displayed with styles provided by `className`. |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
@@ -10,0 +11,0 @@ var classNames = require("classnames"); |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
@@ -10,0 +11,0 @@ var core_1 = require("@blueprintjs/core"); |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
@@ -10,0 +11,0 @@ var core_1 = require("@blueprintjs/core"); |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DISABLED_MODIFIER = "disabled"; | ||
@@ -10,0 +11,0 @@ exports.HOVERED_RANGE_MODIFIER = "hovered-range"; |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
@@ -10,0 +11,0 @@ var classNames = require("classnames"); |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
@@ -437,2 +438,8 @@ var core_1 = require("@blueprintjs/core"); | ||
} | ||
/* | ||
* Only start date selected. | ||
* If the newly selected start date isn't in either of the displayed months, then | ||
* - set the left DayPicker to the month of the selected start date | ||
* - ensure the right DayPicker is before the left, changing if needed | ||
*/ | ||
} | ||
@@ -447,2 +454,5 @@ else if (nextValueStart != null && nextValueEnd == null) { | ||
} | ||
/* | ||
* Both start date and end date selected. | ||
*/ | ||
} | ||
@@ -462,2 +472,3 @@ else if (nextValueStart != null && nextValueEnd != null) { | ||
if (potentialLeftEqualsNextValueStart || potentialRightEqualsNextValueStart) { | ||
// do nothing | ||
} | ||
@@ -468,2 +479,5 @@ else { | ||
} | ||
/* | ||
* Different start and end date months, adjust display months. | ||
*/ | ||
} | ||
@@ -470,0 +484,0 @@ else { |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
@@ -10,0 +11,0 @@ var classNames = require("classnames"); |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var classes = require("./common/classes"); | ||
@@ -10,0 +11,0 @@ exports.Classes = classes; |
@@ -8,2 +8,3 @@ /* | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
@@ -10,0 +11,0 @@ var core_1 = require("@blueprintjs/core"); |
{ | ||
"name": "@blueprintjs/datetime", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "Components for interacting with dates and times", | ||
@@ -8,4 +8,3 @@ "main": "dist/index.js", | ||
"style": "dist/blueprint-datetime.css", | ||
"browser": "dist/datetime.bundle.js", | ||
"webpack": "dist/index.js", | ||
"unpkg": "dist/datetime.bundle.js", | ||
"dependencies": { | ||
@@ -12,0 +11,0 @@ "@blueprintjs/core": "^1.3.0", |
@@ -13,3 +13,3 @@ /* | ||
constructor (month?: number, year?: number) { | ||
constructor(month?: number, year?: number) { | ||
if (month !== null && year !== null) { | ||
@@ -16,0 +16,0 @@ this.date = new Date(year, month); |
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
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 too big to display
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
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
1278412
9646