Граф коммитов

3803 Коммитов

Автор SHA1 Сообщение Дата
shufan 599d791a0f
Switch WinUI3 + UWP AdaptiveCard projects to use HybridCRT (#9057) 2024-11-15 12:28:52 -08:00
Joseph Woo 0bf0c83005
add new preprocess macro def (#9044)
* added new preprocess macro def

* addressed cr comment

* covering all tus

* updated vcxprj
2024-10-24 19:04:44 +00:00
anna-dingler cb707c03f5
[a11y] Add aria-required for inputs (#8938)
* Add aria-required for inputs

* Add for other types of inputs
2024-10-16 17:31:55 -07:00
anna-dingler ffba9a6f72
Update cert for WPFVisualizer (#9041)
* Update cert

* Use adaptiveCards

* Update cswinrt version
2024-10-16 10:19:24 -07:00
Joseph Woo bdbd1707db
Add Support for Carousel to UWP (#9032)
* added winui2 nuget

* added pippager

* updated winrt compilation flags

* test build

* reverting version chagnes to object model

* code clean-up

* clean-up

* updated min version
2024-10-04 21:07:17 +00:00
Kristen Schau 8a21f9fef1
Update CsWinRT for WinUI 3 renderer (#9002) 2024-09-25 16:20:23 -04:00
Paul Campbell 8a7349e1ae
Fix up .NET 6 sln (#8997) 2024-08-30 15:41:40 -07:00
Paul Campbell 15418ce93b
[.NET] Update dependencies and unbreak net6 build (#8994) 2024-08-28 12:05:11 -07:00
Paul Campbell 446d5377e4
[NuGet] Repoint to private nuget feeds (#8988) 2024-08-19 11:19:14 -07:00
Joseph Woo 2a588b93b0
updated when (#8986) 2024-08-16 21:48:12 +00:00
Vsevolod 728044c675
[UWP/WinUI3 Renderer]: Discard Background Image if URI is not valid (#8968)
* ignore background image

* remove new line

* add warning to text sources load

* address pr feedback
2024-07-24 13:42:57 -07:00
Joseph Woo 4745cb65ae
updated system.json (#8957) 2024-07-11 14:26:01 -07:00
Joseph Woo 273be501dc
Users/joswo/dotnet templating (#8954)
* remove double quotes when returned from value

* added json string handling

* added json string handling
2024-07-09 13:11:36 -07:00
Joseph Woo a87089227e
remove double quotes when returned from value (#8953) 2024-07-09 18:29:24 +00:00
Joseph Woo cf30e6a079
updated template logic to handle recursive structure (#8951) 2024-07-02 22:01:46 +00:00
Joseph Woo 1243a36a19
added invalid numeric width (#8947)
* added invalid numeric width

* updated unit test
2024-06-28 15:54:12 -07:00
Paul Campbell 97c1d579fb
Remove old ReactNative implementation (#8946)
* Remove old ReactNative implementation

This stuff has been spun out to https://github.com/Bigthinkcode/AdaptiveCards/

* Delete github workflow as well...
2024-06-28 15:09:24 -07:00
Jevan Saks 59dad361ab
Make AdaptiveCards.Templating AOT compatible (#8919)
* Move templating to STJ

* Minor changes

* CR feedback

* CR feedback

* Update to new library name

* Updates for AdaptiveExpressions.Core rc package

* Update to official AdaptiveExpressions package
2024-06-26 15:34:11 -07:00
Joseph Woo 5e8a1bc49a
updated lexer (#8941)
* updated lexer

* removed root data
2024-06-25 11:08:31 -07:00
anna-dingler 55807429e9
Update README.md (#8922) 2024-06-24 18:48:50 +00:00
anna-dingler 6944e791ab
Update height to 24px (#8939) 2024-06-21 11:55:14 -07:00
Joseph Woo 0903d0d0d6
added horizontal alignment (#8936) 2024-06-20 14:26:54 -07:00
Joseph Woo 04f8d6d751
changed name of c# templating winrt (#8923)
* changed name of c# templating winrt

* updated .sln
2024-05-28 15:50:49 -07:00
Joseph Woo 6c84470fc9
C++/WinRT Template Update (#8920)
* added winrt template to AC.sln

* updated api

* Reverting unwanted changes
2024-05-22 14:56:35 -07:00
Joseph Woo 3f5de7c66d
fixed base64 decoding issue (#8916) 2024-05-15 18:30:15 -07:00
meetikasharma cb729fce1d
Support Svg images as background for WinUI3 renderer (#8911)
* Initial commit for supporting svg background images

* Fixes for svg images as url and data

* Add Rasterize size of svg image on background thread

* Call TileControl::LoadImageBrush once svg size is calculated on background thread

* Addressed comments

* Support for svg xml in the data scheme for background images

* Addressed comments

* Handle base64 svg data scheme for background image and add sample payload

* Updated IsSvgImage check and addressed comments

* Clean up code

* Updated IsSvgImage check
2024-05-16 00:21:06 +00:00
anna-dingler 31bbb89420
Only add additional labels to the first checkbox in a multi select input (#8912) 2024-05-15 23:12:21 +00:00
Chris McGuire de73c987f5
Add a style override to the root container named "Adaptive.RootContainer" (#8913)
* Add a style override to the root container named "Adaptive.RootContainer" so that custom margins can be applied

* Changed the the approach and moved the existing style setter used by BuildXamlTreeFromAdaptiveCard into CreateRootCardElement where it can test for style use and skip setting the margin from the host context.

---------

Co-authored-by: Chris McGuire <cmcguire@microsoft.com>
2024-05-15 11:41:59 -07:00
Tom Laird-McConnell 47f32129cc
Fixed 99% of warnings in core libraries (#8906)
* Fixed over 2000 warnings in core libraries
* disabled xml comments in internal classes for Marked
* added missing xml comments on elements that should have them
* removed unused vars
* made libarary simply netstandard2.0
* updated packages

* removed all #ifdef STANDARD1_3 directives as they are meaningless with netstandard2.0

* undo change to net6 project#

* fix bugs in equals operator and width Weighted (<-- bug has been there for years!)
2024-05-09 10:33:20 -07:00
anna-dingler e946c140e3
Don't use innerHTML (#8900) 2024-05-07 18:38:21 +00:00
Paul Campbell 1bb9994d87
[CI] Don't use explicit service connection for nuget restore (#8907) 2024-05-07 18:12:04 +00:00
Joseph Woo 2780d6a6bd
[UWP/WinUI3] Refactor Image Rendering (#8896)
* refactor change size not working

* almost done

* fixed the spacing

* completed refactoring work

* adressed CR comments
2024-05-03 16:46:48 -07:00
anna-dingler 18fbcdc6ab
Designer surface a11y updates (#8888)
* Designer surface a11y updates

* Update source/nodejs/adaptivecards-designer/src/peer-command.ts

Co-authored-by: Paul Campbell <paulcam@microsoft.com>

---------

Co-authored-by: Paul Campbell <paulcam@microsoft.com>
2024-04-30 16:30:18 -07:00
Tom Laird-McConnell 6b8a7ef1ce
Fix v1.6 issues for AC object model (#8878)
* Update AdaptiveVisitor for new element types

* add missing card. metadata definition

* fix bad methods on WPF Renderer, these are extension methods, not virtual methods. This broke the wpf visualizer

* Add ChoiceSet DataQuery property

* Bump version to 1.6

* Add property which makes type optional for TableRow and Cell objects supporting implied type unit tests
Renabled all of the 1.3, 1.4, 1.5, 1.6 disabled tests.

* Add 1.6 CaptionSource

* * Implement AdaptiveWidth and AdaptiveWidthConverter for parity with AdaptiveHeight
* add missing horizontal aligment for collections
* Property name VerticalAndHorizontal cell content alignment to align with docs
* Add missing XmlElement to Background image.
* Fix Refresh, it can be ActionExecute OR Submit. (Teams will barf on preview if you actionexecute)
* add Rtl that was missing on Table
* Fix Table Column Width that should allow double values, not integers for parity with javascript designer.
* removed duplicate Style property from TableRow
* Added missing XmlElement(AdaptiveExecuteAction)  to inline actions
* Removed duplicate ientries in typed element types
* Added TableColumnWidth with converter
* added unit tests
* Disabled XmlSerializationTests so it is clear that they are not running, they have been broken for years and silently "succeeding'.  XmlSerialization is very broken, but it's not me.

* switch back to refresh being only action.execute

* code review feedback on height/width classes

* add missing Expires on Refresh block

* add comment

* adaptivevistor for tablecell didn't visit selectaction#

* FirstRowAsHeaders is default true  (See documentation https://adaptivecards.io/explorer/Table.html)

* FirstRowAsHeaders is default true

* add blackjack

* git rid of stuff

---------

Co-authored-by: almedina-ms <35784165+almedina-ms@users.noreply.github.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
2024-04-30 13:27:25 -07:00
Paul Campbell 78ea4e1130
Fix site generation from Windows hosts (#8899) 2024-04-30 13:10:12 -07:00
anna-dingler 5a8ee32004
[Website][A11y] Update keyboard nav for blog posts (#8891)
* Update keyboard nav for blog posts

* Add up/down navigation

* Navigate on enter
2024-04-27 02:42:25 +00:00
anna-dingler 305550f13b
Add tooltip for Arabic (#8890) 2024-04-26 23:55:28 +00:00
anna-dingler 494bde3c89
Update README.md (#8859) 2024-04-26 23:18:24 +00:00
anna-dingler 969904554d
Update README.md (#8873)
Update icon for unsupported features
2024-04-26 15:43:24 -07:00
Paul Campbell d89e8de800
[NodeJS] Updates to streamline package size (#8871)
* Move to lerna and workspaces

* Update AC version; bump node install for pipelines

* Updates to ci job

* Fix pipeline path

* Switch back to Windows build agent

* Move to ADO npm feed

* Authenticate ci job with ADO

* Workaround for npm concurrency issue on Windows

* disable react-testapp

* Fix some spacing issues

* Add note on node version

* Try ubuntu runner for js-ci.yaml
2024-04-26 13:44:03 -07:00
sosharm 61d2472d64
Update how svg image file is being read (#8893)
* Read svg file using http request

* Clean up
2024-04-26 13:15:59 -07:00
almedina-ms 05b3c0bf98
Add PAT usage for uwp-ci pipeline (#8889)
* Add PAT usage

* Fix commit

* Fix commit
2024-04-24 15:02:03 -07:00
sosharm 441e698946
Add support for svg xml in the data scheme for images (#8880)
* Support svg xml data

* Clean up <svg> extraction

* Updated image svg sample

* Additional check for svg

* PR feedback

---------

Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
2024-04-23 14:11:55 -07:00
sosharm f2731189a9
Set automantion name (#8875) 2024-04-18 16:11:19 -07:00
Joseph Woo d05c6d8d60
Fix issue #8520 (#8870)
Updated AdaptiveTableCell to override the Type property

Co-authored-by: huberemanuel <emanuel.tesv@gmail.com>
2024-04-08 12:00:08 -07:00
Paul Campbell aec05454e5
Move `GetColorFromString` away from `strtol` (#8867) 2024-04-04 15:27:37 -07:00
Paul Campbell b38eaf0390
Host old content from messagecardplayground on ac.io (#8866) 2024-04-04 11:40:13 -07:00
Paul Campbell 0152d5c726
[NodeJS] Add `grid` `ImageSet` style (#8845) 2024-03-07 22:09:20 +00:00
anna-dingler ad8eee4385
Remove tab index from nested inputs (#8848) 2024-03-06 10:44:02 -08:00
Paul Campbell 7ed6fd0d6a
[NodeJS] Add optional overflow menu icon rendering (#8847) 2024-03-05 10:34:46 -08:00