* 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
* Mobile support for 1.6
* revert global and dotnet changes
* Add Loop keys to CardElementType AdaptiveCardSchemaKey
* add MetaData and WebUrl to enums
* set global var version for adaptive card
* remove metadata as card element type
* remove metadata as card element type
* fix C++ string
* add url for test
* fix 1.6 tests
---------
Co-authored-by: Ardy Khalili <ardykhalili@microsoft.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
* update schema v1.6 to incorporate dynamic typeahead and inline edit features
* add count and skip property to choices.data
* fix formatting
* make appropriate changes for the website
* indicate supported platform in description
---------
Co-authored-by: SuryanshPrabhat <suryanshprabhat@outlook.com>
Co-authored-by: anna-dingler <98650930+anna-dingler@users.noreply.github.com>
* WIP: adding role to actions - UWP
* Remove link button class
* switch to actionRole
* Fix formatting
* Unit test updates
* Formatting
* Update everything bagel and winui3
Introduces Dynamic Typeahead support in Input.ChoiceSet:
- Supported in v1.6.
- Added `choices.data` property to Input.ChoiceSet schema.
- Uses `AdaptiveApplet` fetch dynamic choices from backend via `ChannelAdapter`.
- Made changes in SDK-Host communication code in `AdaptiveApplet` to allow different types of requests, categorized as a `UniversalAction`.
- UI made from scratch to allow customizability via CSS as per the dev's needs.
- As user types, the dropdown will be populated with choices and dynamic choices will be loaded when the request is done.
- Added debounce time to limit unnecessary requests. It can be set via host config.
- Dropdown list is scrollable.
- Matched part shows in bold in the choice text.
- Choice highlighted on hover/focus.
- Loading indicator when choices are being fetched.
- Error indicator when something goes wrong in fetching choices.
- Added sample payload.
* inputStyle:ReadWrite changes
* Fixing wordings in inputInlineEditability.md file
Co-authored-by: anna-dingler <98650930+anna-dingler@users.noreply.github.com>
* Updating wordings inline edit read me file from suggestions
* adding inline edit implemenatation
* update version on input style property
* restructuring event handling for readWrite input style
* moving input event enum to enums file
* refactoring code and using css combinators for input styling
* updating inputStyle allowed value from readWrite to revealOnHover
* refactored code and css for revealOnHover support in Inputs
* removing unused event type from enums file
* code cleaup for better readability
* updating updateinputvisibilty method
* reverting changes from utils.ts
* removing extra comments and lines
* adding sample json and fixing on focus leave behavior on inputs
* using enum of inpit event type for revealOnHover support
* Updating documentation for mobile experience
* adding comments to new method in cardElement class
Co-authored-by: anna-dingler <98650930+anna-dingler@users.noreply.github.com>
Ensures `"altText"` is defined for all sample cards located in the `samples` folder. This includes template and non-template cards.
Closes#6424Closes#6421
* Merge prototype branch (#6643)
* added sample
* Add serialization property
* sample update
* TBD property parsing working
* Parse CarouselPage object
* Code that adds containers
* added js
* [compilation fix]
* fixed issue
* Add todo list
* Fix extra spacing
* Show first element on start up
* implemented toDo items in toDo.md
* updated dot ui
* updated dot
* added a new scenario card
* Version not yet working
* Version almost working
* Hard code sample
* package changes
* Add more modifications that I saw on the interwebz
* fixed swiper
* Version where some stuff works but other stuff doesnt
* updated carousel render
* [update]
* Fix carousel
* Fix more stuff
* Version that works!! Yeah!!
* added walkaround for css loading issue
* added carousel cards to ui tests
* Fix more stuff
* Fix arrows to look better
* changed swiper properties from static class member variable to private member variable
* Fix static variables
* refactored
* fixed tab
* updated
Co-authored-by: nesalang <Joseph.Woo@microsoft.com>
* Initial design (#6644)
Co-authored-by: Paul Campbell (DEP) <paulcam@microsoft.com>
* Prototype clean up (#6651)
* Rename TBD to display
* Undo changes to site
* removed cns css from header.ejs and removed css from prototype 0 (#6653)
* Fix support for unsupported elements (#6654)
* Rename TBD to display
* Undo changes to site
* Rename unsupported elements list
* Fix parsing to handle nested items
* Upgrade sample
* Remove commented code
* Handle forbidden actions
* Update test to handle containers actions
* Add support for autoplay (#6665)
* Jwoo/feature/carousel 2 (#6673)
* updated for accessibility
* reverted Action.OpenURL changes
* [Carousel] Added Host Config options (#6675)
* updated for accessibility
* reverted Action.OpenURL changes
* added host config options
* fixed a11y tab index issue not being able to use space on pagination
bulltes
* Revert "fixed a11y tab index issue not being able to use space on pagination"
This reverts commit 16da572619.
* fixed a11y tab index issue not being able to use space on pagination bullets (#6677)
* updated for accessibility
* reverted Action.OpenURL changes
* added host config options
* fixed a11y tab index issue not being able to use space on pagination
bulltes
* updated it
* clean-up
* Fix pause autoplay on hover (#6671)
* Fix pause autoplay on hover
* Fix build break
* Fix package.json files (#6678)
* Add unit test for carousel page
* Remove swiper from root level import
* Add swiper as dev dependency
* Added carousel page id (#6690)
* added carousel page id upon action invocation
* review comments addressed
* [JS] Carousel schema changes (#6667)
* [JS] Carousel schema changes
* Pass `forbiddenTypes` instead of the empty set during fallback
* Remove `getPage[At|Count]()` as they conflict with mandatory `getItem[At|Count]()`
* [Styling] Update swiper style (#6664)
* Rename TBD to display
* Undo changes to site
* Rename unsupported elements list
* Fix parsing to handle nested items
* Upgrade sample
* Remove commented code
* Handle forbidden actions
* Update test to handle containers actions
* Improve css styles to have a better control
* Remove changes made to designer
* Fix cards not showing up
* Fix merge
* Fix css again
* Remove important flags
* Fix issue where keyboard navigation goes to other cards
* Fix sample
* Add semicolon
* Fix addeventlisteners and focus not firing (#6704)
* [JS] Pin newer jest dependency for `adaptivecards` (#6702)
Just a minor oversight - the version of `jest` I saw recommended to fix our problems consuming the `swiper` module ended
up being a pre-release version. `jest@^27` has since had a full release, so I just wanted to make sure we were requiring
it specifically. For what it's worth, we weren't actually *using* the prerelease version see
[here](2c3f853055/source/nodejs/adaptivecards/package-lock.json (L4485-L4486)),
but all the same it's better to declare our dependency against full-fledged release.
* Jwoo/feature/remove properties (#6706)
* updatred supported properties for Carousel & CarouselPages
* updated spacing in sample
* Updated package-lock.json after rebase
* Fix CSS story for now
* UI Tests for carousel (#6707)
* Update Tests for timer vs no timer
* Fix autoplay being instantiated without being required
* Fixes and some ui tests
* Fix another json file and add working tests
* Fix autoplay issue
* Add more tests
* Format json
* Fix PR comments
* Fix carousel again and fix test
* Refactor some code
* Add timeout (#6718)
* Carousel spec (#6698)
* Changed teams target version to 1.4
* fixed blog link to point to proper release
* Added horizontal carousel spec
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
* Fix minor Css changes for carousel (#6722)
* Pull css changes to ui test app
* Make cards in carousel use as much space as possible
* [JS][Carousel] Fixed sudden jump of carousel page when focused (#6720)
* Updated RTL support for Carousel (#6723)
* [JS][Carousel] Fixed sudden jump of carousel page when focused
* [JS][Carousel] Updated RTL
* added a minor changes
* [JS][Carousel] Made RTL workw with navigation css changes
* change per review comments
* Revert "change per review comments"
This reverts commit 3ad698bb10.
* clean change commit
* [JS][Carousel] Updated SubmitAction (#6728)
* [JS][Carousel] Updated SubmitAction
* review coment
* updated hostconfig json
* Fix PR comments (#6727)
Co-authored-by: nesalang <Joseph.Woo@microsoft.com>
* [JS] Change how we produce/consume CSS (#6732)
* [JS] Change how we produce/consume CSS
See #6710 -- this is a partial solution
* Fix indenting
* Back out case-insensitivity in regex
* Remove `sass-loader` dependency
* Fixes for `adaptivecards-ui-testapp`
* Fix quoting on `generate-css` script
Fix build break on Windows?
* Fix up `adaptivecards-designer-app`
* Fix up `adaptivecards-react`
* Fix `webpack.config.js` formatting
Co-authored-by: nesalang <Joseph.Woo@microsoft.com>
Co-authored-by: Paul Campbell (DEP) <paulcam@microsoft.com>
Co-authored-by: J.P. Roca <jproca@microsoft.com>