Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A new way for developers to exchange card content in a common and consistent way.

License

NotificationsYou must be signed in to change notification settings

microsoft/AdaptiveCards

Repository files navigation

logo

Adaptive Cards are a new way for developers to exchange content in a common and consistent way. Get started today by putting Adaptive Cards into Microsoft Teams, Outlook Actionable Messages, Cortana Skills, or Windows Timeline -- or render cards inside your own apps by using our SDKs.

Dive in

Install and Build

Adaptive Cards are designed to render anywhere that your users are. The following native platform renderers are under development right now.

PS: Latest Build Status is againstmain branch.

PlatformLatest ReleaseSourceDocsLatest Build Status
JavaScriptnpm installSourceDocsBuild Status
.NETNuget installSourceDocsBuild status
.NET WPFNuget installSourceDocsBuild status
.NET HTMLNuget installSourceDocsBuild status
Windows UWPNuget installSourceDocsBuild Status
AndroidMaven CentralSourceDocsBuild status
iOSCocoaPodsSourceDocsBuild status
Card Designernpm installSourceDocsBuild Status

Release schedule

We release the Adaptive Cards products on the third week of each month, assuming there are updates. Please see the table below for the most recent and upcoming release dates.

ProductLast Release DateNext Release Date
Website4/4/20245/29/2024
Designer5/1/20246/17/2024
JavaScript Renderer5/23/20246/17/2024
JavaScript Renderer Beta4/9/2023-
JavaScript Templating9/16/20226/17/2024
XAML Renderer2/2/20243/2/2024
XAML Object Model2/2/20243/2/2024
WinUI 3 Renderer2/2/20243/2/2024
WinUI 3 Object Model2/2/20243/2/2024
C++/WinRT Templating2/2/20243/2/2024
C#/WinRT Templating2/2/20243/2/2024
.NET Renderer12/1/20227/17/2023
.NET Templating3/7/20237/17/2023

Note: These release dates are subject to change based on availability and active development of each product.

Code format

We require the C++ code inside this project to follow the clang-format. If you change them, please make sure your changed files are formatted correctly.

Make sure clang-format version 12.0.0 and above version is used.

IDE integration

ClangFormat describes a set of tools that are built on top of LibFormat. It can support your workflow in a variety of ways including a standalone tool and editor integrations. For details, refer tohttps://clang.llvm.org/docs/ClangFormat.html

Format with script

Two scripts are provided to help you format files.

  • Windows user only: use FormatSource.ps1. This script use clang-format.exe which is built into Visual Studio by default.

    Execute below command in the root folder of the project

     PowerShell.exe -ExecutionPolicy Bypass scripts\FormatSource.ps1 -ModifiedOnly $False

If it's the first time to run the script, make sure clang-format version 12.0.0 or above in the output. Otherwise you may need to upgrade Visual Studio or use your own clang-format binaries.

[clang-format] Version is:clang-format version 12.0.0
  • Both Windows and MAC users: Use clang-format npmjs package

    Execute below command in source/nodejs

     npm run format

Make surenpm install is run before.

Use Git pre-commit hook

git pre-commit hook is an optional process. When you rungit commit, it will automatically do the format check and auto fix the format if error detected.

First make sure clang-format binary is installed in your dev enviroment.Then modify scripts/hooks/pre-commit to make sure clangFormat is point to the correct path.And finally setup the git hook.

Two ways to setup the hook:

  1. Copyscripts/hooks/pre-commit to.git/hooks
  2. git config --local core.hooksPath scripts/hooks

End User License Agreement for our binary packages

Consumption of the AdaptiveCards binary packages are subject to the Microsoft EULA (End User License Agreement). Please see the relevant terms as listed below:

NOTE: All of the source code, itself, made available in this repo as well as our NPM packages, continue to be governed by the open sourceMIT license.

Community SDKs

The following SDKs are lovingly maintained by the Adaptive Cards community. Their contributions are sincerely appreciated! 🎉

PlatformInstallRepoMaintainer
ReactNativenpm installGitHubBigThinkCode
Pic2CardGitHubBigThinkCode
Vue.jsnpm installGitHubTim Cadenbach

Contribute

There are many ways tocontribute to Adaptive Cards.

This project has adopted theMicrosoft Open Source Code of Conduct. For more information seetheCode of Conduct FAQ or contactopencode@microsoft.com with any additional questions or comments.

Supported Features

FeatureSchema VersionPlatformParsingRendering
Action.OpenUrlv1.0All
Action.ShowCardv1.0All
Action.Submitv1.0All
Columnv1.0All
ColumnSetv1.0All
Containerv1.0All
Factv1.0All
FactSetv1.0All
Imagev1.0All
ImageSetv1.0All
Input.ChoiceSetv1.0All
Input.Datev1.0All
Input.Numberv1.0All
Input.Textv1.0All
Input.Timev1.0All
Input.Togglev1.0All
SelectActionv1.0All
TextBlockv1.0All
Explicit Image Dimensionv1.1All
Background Colorv1.1All
Vertical Content Alignmentv1.1All
Action Iconv1.1All
Action Stylev1.2All
Toggle Visibilityv1.2All
ActionSetv1.2All
Fallbackv1.2All
Container BackgroundImagev1.2All
Container MinHeightv1.2All
Container Bleedv1.2All
Container Stylev1.2All
Image Data Uriv1.2All
Action Icon Data Uriv1.2All
Input.Text Inline Actionv1.2All
TextBlock FontTypev1.2All
RichTextBlockv1.2All
Input Labelv1.3All
Input ErrorMessagev1.3All
AssociatedInputsv1.3All
RichTextBlock UnderLinev1.3All
Action.Refreshv1.4All
AdaptiveCard Authenticationv1.4All
Action.Executev1.4All
Action IsEnabledv1.5JS
Action IsEnabledv1.5iOS
Action IsEnabledv1.5Android
Action IsEnabledv1.5XAML
Action IsEnabledv1.5.NET
Action Modev1.5JS
Action Modev1.5iOS
Action Modev1.5Android
Action Modev1.5XAML
Action Modev1.5.NET
Action/SelectAction ToolTipv1.5JS
Action/SelectAction ToolTipv1.5iOS
Action/SelectAction ToolTipv1.5Android
Action/SelectAction ToolTipv1.5XAML
Action/SelectAction ToolTipv1.5.NET
Input.ChoiceSet Filtered Stylev1.5JS
Input.ChoiceSet Filtered Stylev1.5iOS
Input.ChoiceSet Filtered Stylev1.5Android
Input.ChoiceSet Filtered Stylev1.5XAML
Input.ChoiceSet Filtered Stylev1.5.NET
Input.Text Password Stylev1.5JS
Input.Text Password Stylev1.5iOS
Input.Text Password Stylev1.5Android
Input.Text Password Stylev1.5XAML
Input.Text Password Stylev1.5.NET
TextBlock Heading Stylev1.5JS
TextBlock Heading Stylev1.5iOS
TextBlock Heading Stylev1.5Android
TextBlock Heading Stylev1.5XAML
TextBlock Heading Stylev1.5.NET
RTLv1.5JS
RTLv1.5iOS
RTLv1.5Android
RTLv1.5XAML
RTLv1.5.NET
Tablev1.5JS
Tablev1.5iOS
Tablev1.5Android
Tablev1.5XAML
Tablev1.5.NET
Carouselv1.6JS
Carouselv1.6iOS
Carouselv1.6Android
Carouselv1.6XAML
Carouselv1.6.NET
ImageSet Stacked Presentation Stylev1.6JS
ImageSet Stacked Presentation Stylev1.6iOS
ImageSet Stacked Presentation Stylev1.6Android
ImageSet Stacked Presentation Stylev1.6XAML
ImageSet Stacked Presentation Stylev1.6.NET
Dynamic Type Ahead Searchv1.6JS
Dynamic Type Ahead Searchv1.6iOS
Dynamic Type Ahead Searchv1.6Android
Dynamic Type Ahead Searchv1.6XAML
Dynamic Type Ahead Searchv1.6.NET
Label Positionv1.6JS
Label Positionv1.6iOS
Label Positionv1.6Android
Label Positionv1.6XAML
Label Positionv1.6.NET
Inline Editable Input Stylev1.6JS
Inline Editable Input Stylev1.6iOS
Inline Editable Input Stylev1.6Android
Inline Editable Input Stylev1.6XAML
Inline Editable Input Stylev1.6.NET

[8]ページ先頭

©2009-2025 Movatter.jp