Skip to content

Commit

Permalink
Merge branch 'v3'
Browse files Browse the repository at this point in the history
  • Loading branch information
t1m0n committed Jan 24, 2023
2 parents 3db6b5d + 420539b commit d1d80f7
Show file tree
Hide file tree
Showing 13 changed files with 78 additions and 39 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### v3.3.5
* added handling of optional chaining operator in dist package [#518](https://github.com/t1m0n/air-datepicker/issues/518)
* added Indonesian locale, thanks to [BariqDharmawan](https://github.com/BariqDharmawan), in [#517](https://github.com/t1m0n/air-datepicker/pull/517)

### v3.3.4
* recreate global container if it was removed from DOM [#516](https://github.com/t1m0n/air-datepicker/issues/516)
* added Greek locale, thanks to [sonole](https://github.com/sonole), in [#515](https://github.com/t1m0n/air-datepicker/pull/515)
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ new AirDatepicker('#el' [, options]);

## Recent updates

### v3.3.5
* added handling of optional chaining operator in dist package [#518](https://github.com/t1m0n/air-datepicker/issues/518)
* added Indonesian locale, thanks to [BariqDharmawan](https://github.com/BariqDharmawan), in [#517](https://github.com/t1m0n/air-datepicker/pull/517)

### v3.3.4
* recreate global container if it was removed from DOM [#516](https://github.com/t1m0n/air-datepicker/issues/516)
* added Greek locale, thanks to [sonole](https://github.com/sonole), in [#515](https://github.com/t1m0n/air-datepicker/pull/515)
Expand Down
3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module.exports = (api) => {

let plugins = [
['@babel/plugin-proposal-class-properties'],
['@babel/plugin-proposal-private-methods']
['@babel/plugin-proposal-private-methods'],
['@babel/plugin-proposal-optional-chaining']
];

api.cache.forever();
Expand Down
4 changes: 4 additions & 0 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ new AirDatepicker('#el' [, options]);

## Recent updates

### v3.3.5
* added handling of optional chaining operator in dist package [#518](https://github.com/t1m0n/air-datepicker/issues/518)
* added Indonesian locale, thanks to [BariqDharmawan](https://github.com/BariqDharmawan), in [#517](https://github.com/t1m0n/air-datepicker/pull/517)

### v3.3.4
* recreate global container if it was removed from DOM [#516](https://github.com/t1m0n/air-datepicker/issues/516)
* added Greek locale, thanks to [sonole](https://github.com/sonole), in [#515](https://github.com/t1m0n/air-datepicker/pull/515)
Expand Down
19 changes: 4 additions & 15 deletions dist/air-datepicker.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/air-datepicker.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions dist/locale/id.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'air-datepicker/locale/id' {
import {AirDatepickerLocale} from 'air-datepicker';
const id: AirDatepickerLocale;

export default id;
}
19 changes: 19 additions & 0 deletions dist/locale/id.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"use strict";

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _default = {
days: ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'],
daysShort: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
daysMin: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
months: ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember'],
monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'],
today: 'Hari ini',
clear: 'Hapus',
dateFormat: 'dd/MM/yyyy',
timeFormat: 'hh:mm aa',
firstDay: 1
};
exports.default = _default;
20 changes: 10 additions & 10 deletions dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "air-datepicker",
"version": "3.3.4",
"version": "3.3.5",
"scripts": {
"dev": "set NODE_ENV=development&& webpack",
"dev:serve": "npm run browser&& set NODE_ENV=development&& webpack serve",
Expand All @@ -11,15 +11,15 @@
"test": "jest"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.5",
"@babel/plugin-proposal-class-properties": "^7.16.5",
"@babel/plugin-proposal-private-methods": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/preset-env": "^7.20.2",
"@popperjs/core": "^2.10.2",
"@testing-library/jest-dom": "^5.16.1",
"animejs": "^3.2.1",
"autoprefixer": "^10.4.0",
"autoprefixer": "^10.4.13",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"chalk": "^4.1.1",
Expand All @@ -32,13 +32,13 @@
"html-webpack-plugin": "^5.3.1",
"jest": "^26.6.3",
"mini-css-extract-plugin": "^1.6.0",
"node-sass": "^8.0.0",
"open-cli": "^6.0.1",
"postcss": "^8.4.5",
"postcss": "^8.4.21",
"postcss-loader": "^6.2.1",
"pug": "^3.0.2",
"rimraf": "^2.7.1",
"sass-loader": "^12.4.0",
"sass": "^1.57.1",
"sass-loader": "^13.2.0",
"style-loader": "^3.3.1",
"typescript": "^4.5.4",
"webpack": "^5.65.0",
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "air-datepicker",
"version": "3.3.4",
"version": "3.3.5",
"scripts": {
"dev": "set NODE_ENV=development&& webpack",
"dev:serve": "npm run browser&& set NODE_ENV=development&& webpack serve",
Expand All @@ -11,15 +11,15 @@
"test": "jest"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.5",
"@babel/plugin-proposal-class-properties": "^7.16.5",
"@babel/plugin-proposal-private-methods": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/preset-env": "^7.20.2",
"@popperjs/core": "^2.10.2",
"@testing-library/jest-dom": "^5.16.1",
"animejs": "^3.2.1",
"autoprefixer": "^10.4.0",
"autoprefixer": "^10.4.13",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"chalk": "^4.1.1",
Expand All @@ -32,13 +32,13 @@
"html-webpack-plugin": "^5.3.1",
"jest": "^26.6.3",
"mini-css-extract-plugin": "^1.6.0",
"node-sass": "^8.0.0",
"open-cli": "^6.0.1",
"postcss": "^8.4.5",
"postcss": "^8.4.21",
"postcss-loader": "^6.2.1",
"pug": "^3.0.2",
"rimraf": "^2.7.1",
"sass-loader": "^12.4.0",
"sass": "^1.57.1",
"sass-loader": "^13.2.0",
"style-loader": "^3.3.1",
"typescript": "^4.5.4",
"webpack": "^5.65.0",
Expand Down
2 changes: 1 addition & 1 deletion src/datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let $datepickersContainer = '',

export default class Datepicker {
static defaults = defaults
static version = '3.3.4'
static version = '3.3.5'
static defaultGlobalContainerId = 'air-datepicker-global-container'
static buildGlobalContainer(id) {
containerBuilt = true;
Expand Down
2 changes: 1 addition & 1 deletion src/locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default {
days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
daysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
daysMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
months: ['January','February','March','April','May','June', 'July','August','September','October','November','December'],
months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
today: 'Today',
clear: 'Clear',
Expand Down
12 changes: 12 additions & 0 deletions src/locale/id.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export default {
days: ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu'],
daysShort: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
daysMin: ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
months: ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember'],
monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agt', 'Sep', 'Okt', 'Nov', 'Des'],
today: 'Hari ini',
clear: 'Hapus',
dateFormat: 'dd/MM/yyyy',
timeFormat: 'hh:mm aa',
firstDay: 1
};

1 comment on commit d1d80f7

@vercel
Copy link

@vercel vercel bot commented on d1d80f7 Jan 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.