Skip to content

Commit

Permalink
Vue3 update, 2.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
DeeJayTC committed Mar 8, 2022
1 parent 2c22f3f commit 2fdddf9
Show file tree
Hide file tree
Showing 49 changed files with 24,701 additions and 174 deletions.
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ For more information about Adaptive Cards read this: https://docs.microsoft.com/

# Versioning changed!
You might have noticed the version made a big jump, thats because we want to be inline with supported
AdaptiveCards version which currently is 2.9.0
AdaptiveCards version which currently is 2.10.0

All AdaptiveCard version from 1.0 to 1.5 are supported

# Installation

```
npm i adaptivecards-vue --save
npm i @madewithcards/adaptivecards-vue --save //vue2
npm i @madewithcards/adaptivecards-vue3 --save //vue3
```

After adding the library:
Expand Down Expand Up @@ -58,11 +62,6 @@ Read: https://docs.microsoft.com/en-us/adaptive-cards/templating/ for a guide ab
Also: https://medium.com/@tim.cadenbach/why-templating-for-adaptive-cards-is-a-game-changer-1606de3226ed
might help.

**NOTE:** Breaking Change!
When using the most recent AdaptiveCards Templating package you have to update your templates.

Instead of using {$root.data} you now have to use ${$root.data}

__:useTemplating__

When passing in a template set to true
Expand All @@ -77,8 +76,4 @@ __onActionClicked__
Will be send for any card with actions whenever an action is used


# Future improvements
Upcoming changes:
* Load card from remote sources 50% finished


101 changes: 0 additions & 101 deletions src/components/AdaptiveCard.vue

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
120 changes: 63 additions & 57 deletions package-lock.json → vue 2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json → vue 2/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@madewithcards/adaptivecards-vue",
"description": "Render cards in vue easily",
"version": "2.9.0",
"version": "2.10.0",
"author": "Tim Cadenbach <[email protected]>",
"license": "MIT",
"main": "dist/adaptivecards-vue.js",
Expand All @@ -27,8 +27,9 @@
"lint": "eslint --ext .js,.vue ."
},
"dependencies": {
"adaptivecards": "^2.9.0",
"adaptivecards-templating": "^2.1.0",
"adaptivecards": "^2.10.0",
"adaptivecards-templating": "^2.2.0",
"adaptive-expressions": "^4.15.0",
"vue": "^2.5.21"
},
"postcss": {
Expand All @@ -42,7 +43,6 @@
"not ie <= 8"
],
"devDependencies": {
"adaptive-expressions": "^4.13.0",
"autoprefixer": "^9.4.4",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
Expand Down
1 change: 1 addition & 0 deletions vue 2/src/assets/exampleCard.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2fdddf9

Please sign in to comment.