Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 30f83cc

Browse files
merge: animated charts
2 parents eb639b4 + 660a516 commit 30f83cc

File tree

31 files changed

+1207
-473
lines changed

31 files changed

+1207
-473
lines changed

docs/docs/components/app-components-charts/app-components-charts.md

Lines changed: 150 additions & 45 deletions
Large diffs are not rendered by default.

docs/docs/components/app-components-highlight-code/app-components-highlight-code.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ However, if you are looking to use this Web Component as a standalone component,
4242
It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] Code from a CDN. To do so, add the following include script in the main HTML file of your project:
4343

4444
```
45-
<script src="https://unpkg.com/deckdeckgo-highlight-code@latest/dist/deckdeckgo-highlight-code.js"></script>
45+
<script type="module" src="https://unpkg.com/@deckdeckgo/highlight-code@latest/dist/deckdeckgo-highlight-code/deckdeckgo-highlight-code.esm.js"></script>
46+
<script nomodule="" src="https://unpkg.com/@deckdeckgo/highlight-code@latest/dist/deckdeckgo-highlight-code/deckdeckgo-highlight-code.js"></script>
4647
```
4748
### Install DeckDeckGo Highlight Code from NPM
4849

docs/docs/components/app-components-inline-editor/app-components-inline-editor.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ To add the component to your web applications, it could be use directly in your
4242
It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] inline editor from a CDN. To do so, add the following include script in the main HTML file of your project:
4343

4444
```
45-
<script src="https://unpkg.com/deckdeckgo-inline-editor@latest/dist/deckdeckgo-inline-editor.js"></script>
45+
<script type="module" src="https://unpkg.com/@deckdeckgo/inline-editor@latest/dist/deckdeckgo-inline-editor/deckdeckgo-inline-editor.esm.js"></script>
46+
<script nomodule="" src="https://unpkg.com/@deckdeckgo/inline-editor@latest/dist/deckdeckgo-inline-editor/deckdeckgo-inline-editor.js"></script>
4647
```
4748
### Install from NPM
4849

docs/docs/components/app-components-qrcode/app-components-qrcode.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ However, if you are looking to use this Web Component as a standalone component,
5050
It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] Code from a CDN. To do so, add the following include script in the main HTML file of your project:
5151

5252
```
53-
<script src="https://unpkg.com/deckdeckgo-qrcode@latest/dist/deckdeckgo-qrcode.js"></script>
53+
<script type="module" src="https://unpkg.com/@deckdeckgo/qrcode@latest/dist/deckdeckgo-qrcode/deckdeckgo-qrcode.esm.js"></script>
54+
<script nomodule="" src="https://unpkg.com/@deckdeckgo/qrcode@latest/dist/deckdeckgo-qrcode/deckdeckgo-qrcode.js"></script>
5455
```
5556
### Install DeckDeckGo QR Code from NPM
5657

docs/docs/introduction/app-installation/app-installation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ If you wish to do so, use it directly in your project from a CDN, using a simple
1717
It's recommended to use [unpkg](https://unpkg.com/) to use the [DeckDeckGo] from a CDN. To do so, add the following include script in the main HTML file of your project:
1818

1919
```
20-
<script src="https://unpkg.com/@deckdeckgo/core@latest/dist/deckdeckgo.js"></script>
20+
<script type="module" src="https://unpkg.com/@deckdeckgo/core@latest/dist/deckdeckgo-core/deckdeckgo-core.esm.js"></script>
21+
<script nomodule="" src="https://unpkg.com/@deckdeckgo/core@latest/dist/deckdeckgo-core/deckdeckgo-core.js"></script>
2122
```
2223

2324
## Install DeckDeckGo from NPM

docs/docs/slides/app-slide-chart/app-slide-chart.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ If you are using the [DeckDeckGo] starter kit and wish to make your notes access
5555

5656
## Chart components
5757

58-
The slide "Chart" relies on the charts components `<deckgo-pie-chart/>`, `<deckgo-line-chart/>` and `<deckgo-bar-chart/>` which are described in the components [documentation](https://github.com/deckgo/deckdeckgo/blob/master/doc/components/components.md).
58+
The slide "Chart" relies on the charts components `<deckgo-pie-chart/>`, `<deckgo-line-chart/>` and `<deckgo-bar-chart/>` which are described in the components [documentation](/components/charts).
5959

6060
## Installation
6161

@@ -71,7 +71,7 @@ This component offers the following options which could be set using attributes:
7171
| custom-background | boolean | false | If you would provide a background for the all deck and a specific one for this slide, set this option to `true` |
7272
| custom-actions | boolean | false | If you would provide actions for the all deck and a specific one for this slide, set this option to `true` |
7373

74-
Furthermore, this slide component offers the same attributes as the [DeckDeckGo] charts Web Component, see its [documentation](https://docs.deckdeckgo.com/components/charts) for the details.
74+
Furthermore, this slide component offers the same attributes as the [DeckDeckGo] charts Web Component, see its [documentation](/components/charts) for the details.
7575

7676
## Theming
7777

@@ -86,11 +86,11 @@ The following theming options will affect this component if set on its host or p
8686
| --slide-padding-bottom | 16px | Padding bottom of the all slide |
8787
| --slide-padding-start | 32px | Padding left of the all slide |
8888
| --zIndex | 1 | The z-index of the slide |
89-
| --slide-chart-margin-top | 32px | Margin top of the chart inside its container |
90-
| --slide-chart-margin-end | 96px | Margin right of the chart inside its container |
91-
| --slide-chart-margin-bottom | 32px | Margin bottom of the chart inside its container |
89+
| --slide-chart-margin-top | 0 | Margin top of the chart inside its container |
90+
| --slide-chart-margin-end | 32px | Margin right of the chart inside its container |
91+
| --slide-chart-margin-bottom | 64px | Margin bottom of the chart inside its container |
9292
| --slide-chart-margin-start | 32px | Margin left of the chart inside its container |
9393

94-
Furthermore, this slide component offers the exact same CSS4 variables as the [DeckDeckGo] charts Web Component, see its [documentation](https://docs.deckdeckgo.com/components/charts) for the details.
94+
Furthermore, this slide component offers the exact same CSS4 variables as the [DeckDeckGo] charts Web Component, see its [documentation](/components/charts) for the details.
9595

9696
[DeckDeckGo]: https://deckdeckgo.com

docs/package-lock.json

Lines changed: 35 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test.watch": "npm run docs && stencil test --spec --e2e --watch"
1515
},
1616
"dependencies": {
17-
"@deckdeckgo/charts": "^1.0.0-alpha.7",
17+
"@deckdeckgo/charts": "file:../webcomponents/charts/deckdeckgo-charts-1.0.0-alpha.7.tgz",
1818
"@deckdeckgo/core": "^1.0.0-beta.39-3",
1919
"@deckdeckgo/highlight-code": "^1.0.0-alpha.16",
2020
"@deckdeckgo/inline-editor": "^1.0.0-alpha.10",

0 commit comments

Comments
 (0)