Skip to content

Commit

Permalink
Updated any resources for version 2.0.0 beta 3 (RC)
Browse files Browse the repository at this point in the history
  • Loading branch information
ka215 committed Aug 23, 2019
1 parent 64aa693 commit ba49be9
Show file tree
Hide file tree
Showing 11 changed files with 257 additions and 161 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ test/*.php
*.swp
*.vi
*.zip
*.stash
*~
package-lock.json
yarn.lock
Expand Down
15 changes: 6 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
Change Log
---

### v2.0.0 (July 23, 2019 GMT)
### v2.0.0b3 (August 23, 2019 GMT)

* for bar: Show bullet event in timeline for event width < 1, and change limit 1 to 15 (:> barの場合:イベント幅が1未満の場合はタイムラインに箇条書きイベントを表示し、制限1を15に変更
* Add setColorEvent for defined color with function (:> 関数で定義色のsetColorEventを追加する
* Add onOpenEvent for defined action in function in clicking on event (:> イベントをクリックして関数内の定義済みアクションのonOpenEventを追加
* Add option to show period in period by startHour and endHour (for day in work who start to 8:00 to 18:00 for example) (:> startHourとendHourで期間を表示するオプションを追加します(たとえば、8:00〜18:00に始まる勤務日)。
* Add bootstrap chevron for event out of period (:> 期間外のイベントにブートストラップシェブロンを追加
* Add move Y position when most event in same cell (:> 同じセル内のほとんどのイベントでY位置の移動を追加
* Add "Category" property on Event (:> イベントに "Category"プロパティを追加
* Fixed a bug that occurred error if an option does not have the ruler settings when binding the Timeline.
* Changed to use webpack for deploying the scripts.
* Synchronized several internal processing during timeline initialization by the Promise.
* Added the "colorScheme" option for setting the default color of every event. (by @Guillaume-Bo, [PR#37](/ka215/jquery.timeline/pull/37))

### v2.0.0b2 (July 7, 2019 GMT)

* Added the "firstDayOfWeek" option to define a start day of one week on the timeline.
* Added the "truncateLowers" property in the ruler option to ignore outputting lower ruler scale than global scale.
* Fixed the bug when zooming the scale.
* Changed the default preloading animation to indicator type from strings type.
* Added the "loadingMessage" option for using the custom loader content (by @Guillaume-Bo , [PR#37](/ka215/jquery.timeline/pull/37))
* Added the "loadingMessage" option for using the custom loader content. (by @Guillaume-Bo, [PR#37](/ka215/jquery.timeline/pull/37))
* Became to able to include the initial events to the plugin option by the "eventData" option.
* Added the "mixed" type to be able to place the events of bar and point type together on the timeline.
* Added some properties that "presentTime", "stripedGridRow", "horizontalGridStyle", "verticalGridStyle".
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Several quick start options are available:
<!-- - npm: `npm i jq-timeline` -->
<!-- - bower: `bower install jq-timeline` -->

- [Download the latest release](https://github.com/ka215/jquery.timeline/releases/download/v2.0.0b2/jquery.timeline.v2.0.0b2.zip).
- [Download the latest release](https://github.com/ka215/jquery.timeline/releases/download/v2.0.0b3/jquery.timeline.v2.0.0b3.zip).
- Clone the repository: `git clone https://github.com/ka215/jquery.timeline.git`


Expand Down
7 changes: 2 additions & 5 deletions dist/jquery.timeline.min.css

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions dist/jquery.timeline.min.js

Large diffs are not rendered by default.

24 changes: 10 additions & 14 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {src, dest, parallel, series, watch} from 'gulp'

import autoprefixer from 'gulp-autoprefixer'
import cleanCSS from 'gulp-clean-css'
import eslint from 'gulp-eslint'
import rename from 'gulp-rename'
import sass from 'gulp-sass'
Expand All @@ -14,16 +13,18 @@ const configDev = { mode: 'development', devtool: 'source-map', output: { fi
const configProd = { mode: 'production' }

export const scripts = () => src('src/timeline.js')
.pipe(webpackStream( Object.assign( webpackConfig, configDev ), webpack, (err, stats) => {
console.error( err )
//console.log( stats )
.pipe(webpackStream( Object.assign( webpackConfig, configDev ), webpack, (err) => {
if ( err ) {
console.error( err )
}
}))
.pipe(dest('dist'))

export const deploy_scripts = () => src('src/timeline.js')
.pipe(webpackStream( Object.assign( webpackConfig, configProd ), webpack, (err, stats ) => {
console.error( err )
//console.log( stats )
.pipe(webpackStream( Object.assign( webpackConfig, configProd ), webpack, (err) => {
if ( err ) {
console.error( err )
}
}))
.pipe(dest('dist'))

Expand All @@ -34,21 +35,16 @@ export const check = () => src('src/timeline.js')


export const styles = () => src('src/timeline.scss')
//.pipe(sass.sync().on('error', sass.logError))
.pipe(sourcemaps.init())
.pipe(sass().on('error', sass.logError))
.pipe(cleanCSS({compatibility: 'ie8'}))
.pipe(sourcemaps.write({includeContent: false}))
.pipe(sourcemaps.init({loadMaps: true}))
.pipe(sass({outputStyle:'compressed'}))
.pipe(autoprefixer())
.pipe(rename('jquery.timeline.min.css'))
.pipe(sourcemaps.write('.'))
.pipe(dest('dist'))


export const deploy_styles = () => src('src/timeline.scss')
.pipe(sass().on('error', sass.logError))
.pipe(cleanCSS({compatibility: 'ie8'}))
.pipe(sass({outputStyle:'compressed'}))
.pipe(autoprefixer())
.pipe(rename('jquery.timeline.min.css'))
.pipe(dest('dist'))
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery-timeline",
"description": "jQuery plugin for the horizontal timeline creation",
"version": "2.0.0",
"version": "2.0.0b3",
"version_short": "2.0",
"keywords": [
"javascript",
Expand Down Expand Up @@ -59,7 +59,6 @@
"esdoc-standard-plugin": "^1.0.0",
"gulp": "^4.0.1",
"gulp-autoprefixer": "^6.1.0",
"gulp-clean-css": "^4.2.0",
"gulp-eslint": "^6.0.0",
"gulp-rename": "^1.4.0",
"gulp-sass": "^4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/timeline.esdoc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Typedef for jQuery Timeline's ESDoc
* @version: 2.0.0b2
* @version: 2.0.0b3
*/

/** @type {string} [NAME="Timeline"] */
Expand Down
Loading

0 comments on commit ba49be9

Please sign in to comment.