Skip to content

Commit

Permalink
Merge branch 'master' into documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
theiliad authored Jan 31, 2020
2 parents 0c46238 + c880bd2 commit 74ed469
Show file tree
Hide file tree
Showing 1,216 changed files with 7,081 additions and 4,319 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ storybook-dist
package-lock.json
.cache/
pages/
storybook-static/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
11
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
dist: trusty
language: node_js
node_js:
- '8'
- '11'
env:
- MOZ_HEADLESS=1
addons:
chrome: stable
firefox: latest
if: (tag AND tag =~ ^v) OR (commit_message =~ ^Merge\spull\srequest\s#) OR (type = pull_request)
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.6.0
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.21.1
- export PATH="$HOME/.yarn/bin:$PATH"
- .travis/before_install.sh
- "google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &"
install: yarn --offline
script:
- lerna run lint
- lerna run test
- yarn run lint
- yarn run test
- yarn run build-all
sudo: false
deploy:
Expand Down
2 changes: 0 additions & 2 deletions .travis/before_install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env bash

set -e

yarn global add [email protected]
215 changes: 215 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,221 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.28.1](https://github.com/IBM/carbon-charts/compare/v0.28.0...v0.28.1) (2020-01-30)

**Note:** Version bump only for package @carbon/charts-monorepo





# [0.28.0](https://github.com/IBM/carbon-charts/compare/v0.27.0...v0.28.0) (2020-01-21)


### Features

* **core:** add support for horizontal bar charts ([#415](https://github.com/IBM/carbon-charts/issues/415)) ([6a480f0](https://github.com/IBM/carbon-charts/commit/6a480f0))





# [0.27.0](https://github.com/IBM/carbon-charts/compare/v0.26.1...v0.27.0) (2020-01-20)


### Bug Fixes

* **chart:** update isLegendEnabled instead of isEnabled ([d413a8c](https://github.com/IBM/carbon-charts/commit/d413a8c))
* **enabled:** rename visible to enabled ([ac4862f](https://github.com/IBM/carbon-charts/commit/ac4862f))
* **lint:** whitespace tslint issue ([53216f5](https://github.com/IBM/carbon-charts/commit/53216f5))


### Features

* **chart:** legend.visible = false to hide the legend ([6461128](https://github.com/IBM/carbon-charts/commit/6461128))





## [0.26.1](https://github.com/IBM/carbon-charts/compare/v0.26.0...v0.26.1) (2020-01-20)


### Bug Fixes

* **axis:** better support small time scales ([8cfa595](https://github.com/IBM/carbon-charts/commit/8cfa595))
* **axis:** fix lint issue ([debeed9](https://github.com/IBM/carbon-charts/commit/debeed9))
* **axis:** fix linting errors ([f810d4a](https://github.com/IBM/carbon-charts/commit/f810d4a))
* **axis:** remove confusing timeRangeToExtend property ([0456e24](https://github.com/IBM/carbon-charts/commit/0456e24))
* **config:** add additional property to control extension ([2da3404](https://github.com/IBM/carbon-charts/commit/2da3404))
* **configuration:** fix default baseBarChart options ([1a6dcef](https://github.com/IBM/carbon-charts/commit/1a6dcef))
* **yarn:** error in the lock file for date-fns ([396e9c4](https://github.com/IBM/carbon-charts/commit/396e9c4))





# [0.26.0](https://github.com/IBM/carbon-charts/compare/v0.25.0...v0.26.0) (2020-01-16)


### Features

* **core:** add event dispatches for mouseover, mousemove, click & mouseout for all graphs ([284012c](https://github.com/IBM/carbon-charts/commit/284012c))





# [0.25.0](https://github.com/IBM/carbon-charts/compare/v0.24.5...v0.25.0) (2020-01-10)


### Features

* **angular:** add v8 to angular peerDependencies ([c147419](https://github.com/IBM/carbon-charts/commit/c147419))





## [0.24.5](https://github.com/IBM/carbon-charts/compare/v0.24.4...v0.24.5) (2020-01-10)


### Bug Fixes

* **core:** fix to allow chart to toggle on and off using attribute/css properties ([77e26af](https://github.com/IBM/carbon-charts/commit/77e26af))





## [0.24.4](https://github.com/IBM/carbon-charts/compare/v0.24.3...v0.24.4) (2020-01-06)


### Bug Fixes

* **demos:** add IBM Plex Sans Condensed to the core demo site ([1761a36](https://github.com/IBM/carbon-charts/commit/1761a36))





## [0.24.3](https://github.com/IBM/carbon-charts/compare/v0.24.2...v0.24.3) (2019-12-19)

**Note:** Version bump only for package @carbon/charts-monorepo





## [0.24.2](https://github.com/IBM/carbon-charts/compare/v0.24.1...v0.24.2) (2019-12-19)

**Note:** Version bump only for package @carbon/charts-monorepo





## [0.24.1](https://github.com/IBM/carbon-charts/compare/v0.24.0...v0.24.1) (2019-12-18)

**Note:** Version bump only for package @carbon/charts-monorepo





# [0.24.0](https://github.com/IBM/carbon-charts/compare/v0.23.0...v0.24.0) (2019-12-17)


### Features

* **core, react, angular, vue:** add WAI-ARIA tags to elements ([1216ed6](https://github.com/IBM/carbon-charts/commit/1216ed6))





# [0.23.0](https://github.com/IBM/carbon-charts/compare/v0.22.4...v0.23.0) (2019-12-17)


### Features

* **core:** add spacer components ([4e5ab5c](https://github.com/IBM/carbon-charts/commit/4e5ab5c))





## [0.22.4](https://github.com/IBM/carbon-charts/compare/v0.22.3...v0.22.4) (2019-12-16)

**Note:** Version bump only for package @carbon/charts-monorepo





## [0.22.3](https://github.com/IBM/carbon-charts/compare/v0.22.2...v0.22.3) (2019-12-16)


### Bug Fixes

* **core:** update tooltip value formatter ([2a978d8](https://github.com/IBM/carbon-charts/commit/2a978d8))





## [0.22.2](https://github.com/IBM/carbon-charts/compare/v0.22.1...v0.22.2) (2019-12-16)

**Note:** Version bump only for package @carbon/charts-monorepo





## [0.22.1](https://github.com/IBM/carbon-charts/compare/v0.22.0...v0.22.1) (2019-12-12)


### Bug Fixes

* **charts-angular:** update build toolchain ([aa63925](https://github.com/IBM/carbon-charts/commit/aa63925))





# [0.22.0](https://github.com/IBM/carbon-charts/compare/v0.21.0...v0.22.0) (2019-12-09)


### Features

* **core, angular, react, vue:** Update chart width & height through options ([f050c35](https://github.com/IBM/carbon-charts/commit/f050c35))





# [0.21.0](https://github.com/IBM/carbon-charts/compare/v0.20.1...v0.21.0) (2019-12-09)


### Features

* **core, angular, react, vue:** allow customizations to pie labels & the donut center number ([#427](https://github.com/IBM/carbon-charts/issues/427)) ([0446045](https://github.com/IBM/carbon-charts/commit/0446045))





## [0.20.1](https://github.com/IBM/carbon-charts/compare/v0.20.0...v0.20.1) (2019-12-04)


### Bug Fixes

* **core:** loop also through non-display data to assign colors to datasets ([#394](https://github.com/IBM/carbon-charts/issues/394)) ([5ba8952](https://github.com/IBM/carbon-charts/commit/5ba8952))





# [0.20.0](https://github.com/IBM/carbon-charts/compare/v0.19.0...v0.20.0) (2019-12-02)


Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @theiliad @natashadecoste
* @theiliad @natashadecoste @carbon-design-system/carbon-charts
81 changes: 14 additions & 67 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,75 +13,19 @@
<img src="https://img.shields.io/npm/v/@carbon/charts.svg" />
</a>
<img src="https://img.shields.io/badge/comp-IE11%2B-blue.svg" />
<img alt="semantic-versioning" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--versioning-e10079.svg">
<img alt="semantic-versioning" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--ver-e10079.svg" />
<img alt="semantic-versioning" src="https://img.shields.io/badge/downloads-+5k%2Fweek-green" />
</p>
</p>

## Table of contents
## Packages
- [Vanilla](./packages/core)
- [Angular](./packages/angular)
- [React](./packages/react)
- [Vue](./packages/vue)

- [Installation](#installation)
- [Demo & Docs](#demo-and-documentation)
- [Run Charts locally](#run-charts-locally)
- [Component status](#component-status)
- [Bugs and feature requests](#bugs-and-feature-requests)
- [Contributing](#contributing)

## Getting started

### Installation

Run:
```bash
yarn global add @storybook/cli

yarn add @carbon/charts
```

Or if you use NPM:
```bash
npm i -g @storybook/cli

npm install @carbon/charts --save
```

## Demo and documentation
**Charts demos:**
- [Vanilla JS](https://carbon-design-system.github.io/carbon-charts/)
- [Angular](https://carbon-design-system.github.io/carbon-charts/angular)
- [React](https://carbon-design-system.github.io/carbon-charts/react)
- [Vue](https://carbon-design-system.github.io/carbon-charts/vue)

**Docs:** <https://carbon-design-system.github.io/carbon-charts/documentation/>

### Code Samples
<p align="center">
<img src="assets/demo-stacked-bar.png" alt="Stacked Bar Chart" width="600" />
</p>

<p align="center">
<a href="https://codesandbox.io/s/149vrzo62l">
<img src="https://codesandbox.io/static/img/play-codesandbox.svg" alt="Edit Carbon Charts - Vanilla" />
</a>
</p>

- [Vanilla JS](https://codesandbox.io/s/149vrzo62l)
- [Angular](https://codesandbox.io/s/k32kjy5qnr)
- [React](https://codesandbox.io/s/pppmo3ollx)
- [Vue](https://codesandbox.io/s/040w2rqrxp)

### Run Charts locally
1. Fork the project and clone your fork:

```bash
# Clone your fork of the repo into the current directory
git clone [email protected]:<your-username>/carbon-charts.git
# Navigate to the newly cloned directory
cd carbon-charts
```

2. Run `yarn` to install Node.js dependencies.
3. Run `yarn run demo:server` to serve up the demo locally.
4. Finally, open <http://localhost:9001/> in your browser. SPOILER ALERT: There's no "Hello, World!"
## CHANGELOG
Read the release change logs [here](./CHANGELOG.md)

## Component status
:white_check_mark: Stable :hourglass_flowing_sand: In progress
Expand Down Expand Up @@ -115,7 +59,7 @@ Get updates on Charts' development and chat with the core team and community. --

We use the **semantic-release** library to automatically version our releases within the guidelines of Semantic Versioning [Semantic Versioning guidelines](http://semver.org/).

See our [releases notes](https://github.com/carbon-design-system/carbon-charts/releases) for the changelog of each version of Charts.
See our [release change logs](https://github.com/carbon-design-system/carbon-charts/blob/master/CHANGELOG.md) for the changelog of each version of Charts.


## Core Team
Expand Down Expand Up @@ -143,15 +87,18 @@ See our [releases notes](https://github.com/carbon-design-system/carbon-charts/r
<td align="center"><a href="https://github.com/nicoleroppel"><img src="https://avatars0.githubusercontent.com/u/43546639?v=4" width="100px;" alt="nicoleroppel"/><br /><sub><b>nicoleroppel</b></sub></a><br /><a href="#design-nicoleroppel" title="Design">🎨</a> <a href="https://github.com/carbon-design-system/carbon-charts/commits?author=nicoleroppel" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/scottdickerson"><img src="https://avatars0.githubusercontent.com/u/6663002?s=460&v=4" width="100px;" alt="Scott Dickerson"/><br /><sub><b>scottdickerson</b></sub></a><br /> <a href="https://github.com/carbon-design-system/carbon-charts/commits?author=scottdickerson" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/ZrianinaMariia"><img src="https://avatars0.githubusercontent.com/u/5481483?&v=4" width="100px;" alt="ZrianinaMariia"/><br /><sub><b>ZrianinaMariia</b></sub></a><br /> <a href="https://github.com/carbon-design-system/carbon-charts/commits?author=ZrianinaMariia" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/moores2"><img src="https://avatars0.githubusercontent.com/u/6977424?v=4" width="100px;" alt="moores2"/><br /><sub><b>moores2</b></sub></a><br /> <a href="https://github.com/carbon-design-system/carbon-charts/commits?author=moores2" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/stanislavgeorgiev"><img src="https://avatars2.githubusercontent.com/u/1253469?&v=4" width="100px;" alt="stanislavgeorgiev"/><br /><sub><b>stanislavgeorgiev</b></sub></a><br /> <a href="https://github.com/carbon-design-system/carbon-charts/commits?author=stanislavgeorgiev" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/jendowns"><img src="https://avatars2.githubusercontent.com/u/9057921?&v=4" width="100px;" alt="jendowns"/><br /><sub><b>jendowns</b></sub></a><br /> <a href="https://github.com/carbon-design-system/carbon-charts/commits?author=jendowns" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/jendowns"><img src="https://avatars2.githubusercontent.com/u/9057921?&v=4" width="100px;" alt="jendowns"/><br /><sub><b>jendowns</b></sub></a><br /> <a href="https://github.com/carbon-design-system/carbon-charts/commits?author=jendowns" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/t-mullen"><img src="https://avatars0.githubusercontent.com/u/14932492?v=4" width="100px;" alt="Thomas Mullen"/><br /><sub><b>Thomas Mullen</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon-charts/commits?author=t-mullen" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/JaimeMae"><img src="https://avatars0.githubusercontent.com/u/43579539?v=4" width="100px;" alt="Jaime Stockton"/><br /><sub><b>Jaime Stockton</b></sub></a><br /><a href="#design-JaimeMae" title="Design">🎨</a> <a href="https://github.com/carbon-design-system/carbon-charts/commits?author=JaimeMae" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/PLopezD"><img src="https://avatars1.githubusercontent.com/u/5810053?v=4" width="100px;" alt="Pablo Lopez Domowicz"/><br /><sub><b>Pablo Lopez Domowicz</b></sub></a><br /><a href="#design-PLopezD" title="Design">🎨</a> <a href="https://github.com/carbon-design-system/carbon-charts/commits?author=PLopezD" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center"><a href="http://www.johnpeng47.com"><img src="https://avatars3.githubusercontent.com/u/9957837?v=4" width="100px;" alt="John Peng"/><br /><sub><b>John Peng</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon-charts/commits?author=JohnPeng47" title="Code">💻</a></td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
]
}
},
"version": "0.20.0"
"version": "0.28.1"
}
Loading

0 comments on commit 74ed469

Please sign in to comment.