@os-design/date-picker-utils
Advanced tools
Comparing version 1.0.10 to 1.0.12
@@ -8,3 +8,2 @@ "use strict"; | ||
var _exportNames = { | ||
defaultFormat: true, | ||
defaultLocale: true, | ||
@@ -14,8 +13,2 @@ getAccessibilityDateLabel: true, | ||
}; | ||
Object.defineProperty(exports, "defaultFormat", { | ||
enumerable: true, | ||
get: function get() { | ||
return _defaultFormat["default"]; | ||
} | ||
}); | ||
Object.defineProperty(exports, "defaultLocale", { | ||
@@ -39,3 +32,2 @@ enumerable: true, | ||
}); | ||
var _defaultFormat = _interopRequireDefault(require("./utils/defaultFormat")); | ||
var _defaultLocale = _interopRequireWildcard(require("./utils/defaultLocale")); | ||
@@ -66,5 +58,5 @@ Object.keys(_defaultLocale).forEach(function (key) { | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
//# sourceMappingURL=index.js.map |
@@ -9,3 +9,2 @@ "use strict"; | ||
months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], | ||
shortMonths: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], | ||
shortDaysOfWeek: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], | ||
@@ -12,0 +11,0 @@ clearLabel: 'Clear', |
@@ -1,2 +0,1 @@ | ||
export { default as defaultFormat } from './utils/defaultFormat'; | ||
export { default as defaultLocale } from './utils/defaultLocale'; | ||
@@ -3,0 +2,0 @@ export { default as getAccessibilityDateLabel } from './utils/getAccessibilityDateLabel'; |
const defaultLocale = { | ||
months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], | ||
shortMonths: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], | ||
shortDaysOfWeek: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], | ||
@@ -5,0 +4,0 @@ clearLabel: 'Clear', |
@@ -1,2 +0,1 @@ | ||
export { default as defaultFormat } from './utils/defaultFormat'; | ||
export { default as defaultLocale } from './utils/defaultLocale'; | ||
@@ -3,0 +2,0 @@ export { default as getAccessibilityDateLabel } from './utils/getAccessibilityDateLabel'; |
export interface DatePickerLocale { | ||
months: string[]; | ||
shortMonths: string[]; | ||
shortDaysOfWeek: string[]; | ||
@@ -5,0 +4,0 @@ clearLabel: string; |
{ | ||
"name": "@os-design/date-picker-utils", | ||
"version": "1.0.10", | ||
"version": "1.0.12", | ||
"license": "UNLICENSED", | ||
@@ -34,3 +34,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
}, | ||
"gitHead": "8081e5c34fd6411d7ca98a699f97fa726e32ce0b" | ||
"gitHead": "8cb28f6719d699c014fbce91d832a9ff06abe515" | ||
} |
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
49855
45
435