* 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>
* captions init
* nodejs works, uwp builds
* uwp works
* update to media player element
* don't actually change the sample
* minor changes
* use namespace
* update this
* base class in shared, uwp next
* base class for uwp
* Base class for ts
* add language property to ts, use that as label
* lang property
* validate mimetype
* Remove audio height
* Rename to label
* v1.6
* consistent
* allow custom resource resolver
* lambda var
* inner struct property editor
* fix capturing
* uwp only support vtt too
* uwp supports srt again
* use ...
* arrange vertically
* back to element
* address some comments
* use get()
* use dictionary
* parser, override
Co-authored-by: Vsevolod <sevkorobot@gmail.com>
* Adaptive Card v1.6
- Add support for toplevel property `metadata` and `metadata.webUrl`
- Add support for `expires` property in `refresh`
* Move changes to src folder
* Updating description for refresh.expires
* Indent and TOC fix
* Adding version to expires
Co-authored-by: Sowrabh N R S <sowrabh@users.noreply.github.com>
Co-authored-by: Karthik Baskar <kabaska@microsoft.com>
Co-authored-by: karthikbaskar-ms <72971116+karthikbaskar-ms@users.noreply.github.com>
Co-authored-by: Vsevolod <sevkorobot@gmail.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Sowrabh N R S <sonrs@microsoft.com>
* Schema update for Table
* Forgot TableRow.cells
* Update schemas/src/elements/Table.json
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
* vertContAl and horzAl are now nullable
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
* [JS] Overflow actions (flyout menu) #4715 (Pre-Release) (#5446)
* [JS] Overflow actions #4715
* use global setting to control exceeding actions
* address PR comments
* fix PR build
* fix PR build
* fix PR build
* fix pr build
* address PR comments
* address PR comments
Co-authored-by: David Claux <dclaux@users.noreply.github.com>
Ignoring unrelated Android check failures
* [JS] Action.mode designer support + promote secondary action to primary on execute (#5449)
* Action.mode designer support
Promote secondary action to primary on execute
* Slight change in behavior for action promotion
* Slight refactor
* Js/tooltips headings (#5608)
* Schema 1.4 (#5317)
* Schema update for Action.Execute and refresh
* Generate 1.4 schema file
* Updated specs
* Update toc.yml
* Updated specs
* Add authentication
* Updated specs
* Fix typos
* Add missing Action.Execute.verb
* Update verbiage
* Add Action.Execute sample
* Table of contents updates and labels on the sample inputs
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
* [JS] Add support for Universal Actions (#5533)
* Work in progress
* strictNullChecks, noImplicitAny
noImplicitReturns, noImplicitThis, noUnusedLocals
noFallthroughCasesInSwitch
More refactoring
Work in progress
* var --> let
* Array<type> --> type[]
for (let i = 0 ...) --> for (let item of ...)
Additional cleanup
Work in progress
* null --> undefined where appropriate
* Code organizing plus some cleanup
* CardObject, CardElement, TextBlock now use schema
* Image, FactSet now use schema
* FactSet fully uses schema
* Library size reduction
* Looking at decorators...
* Fully move to decorators
* Some cleanup
* selectAction/inlineAction --> schema
* ChoiceSet/ToggleInput --> schema
* Media -> schema
* All inputs --> schema
* Fix IE11 compat (don't use obj.constructor.name)
* OpenUrl/ToggleVis./Submit -> schema
* Action.Http --> schema
* Everything now uses schema
* Merge changes from master
* Fix designer build break
* Add version info in type registries
Plus some cleanup
* Forgot to add v1.2 to ToggleVisibility
* API simplification
* Library size reduction (~2 KB minified)
* Reduce library size
* Small simplification
* Update README wih notable changes so far
* More simplifications
* More simplification + 1KB size reduction
* More simplification + bug fix
* Parse logic refactor (WIP)
* Refactor parse logic (WIP)
* Move designer off global registry
* Small cLeanup
* Refactor toJSON
* Parse/serialize to/from specific schema version
Full version picker support
Still WIP, but almost there
* Code complete - full version picker support
* Fix test case + minor tweak
* Designer bug fixes and minor enhancements
* Review feedback so far + designer improvements
* Designer bug fixes
* Add support for cancelling d&d with ESC
* Review feedback + fix value type for number input
* Address review feedback
* More review feedback
* Fix Image.Width/Height serialization regression
* Fix Action.Submit not incl. empty inputs anymore
Add onExecuteAction handler in Preview Mode
* Small designer tweak
* Small popup control refactor
* [Designer] Enhanced data binding support
* [Designer] Small tweak/fix
* [Designer] Improved sample data support
* Use correct sample data in Preview Mode
* Integrate changes from master
* Add support for "preview" param on designer URL
Hide data structure toolbox
* [Designer] Enhanced sample picker dialog
* Fix integration mistake
* [Designer] Combine open sample and new card buttons
Also fully remove "full screen" button
* Remove references to removed buttons
* Sample picker tweaks
* Fix nasty regression introduced by fix in master
* [Designer] Add CHANGELOG.md
* Publishing preview designer + AC JS packages
* [Designer] HostContainer controls target version
* [Designer] Adding getCard and setCard back
* bump package versions for beta release
* Update README.md
* Improve experience for modern browsers
* [Designer] Add modulus, round, ceil, floor func.
[Renderer] Serialization bug fixes
* Update README
* Small cleanup
* Work in progress
* Work in progress
* [Templating] Fix $when not working within loops
[Renderer] Dynamically convert values to string for string properties
* [Templating] Add toString, parseInt, parseFloat
Refactor function storage to avoid name conflicts
[Renderer] Revert automatic conversion to string
* CLeanup
* Work in progress
* Work in progress
* Work in progress
* Small fixes
* [Designer] Styling update
* [Designer] Styling update
* Work in progress
* Work in progress
* Work in progress
* Disable lockDataStructure
* Work in progress
* Work in progress
* Package-lock updates
* Work in progress
* Move to Adaptive Expression
* Cleanup
* Templating tweaks + initial doc generation
* [Templating] Bug fixes
* Add null check for this.renderedElement
* updated website pacakge versions. removed const from exported enums
* [Templating] Fix regr introduced with last commit
Update README.ms
* [Templating] Fix broken {{Date}} and {{TIME}}
* fix website templating script based on API changes
* Changes to accommodate Schema changes (#3967)
* Changes to accommodate Schema changes:
* appId property - removed
* autoRefresh property - renamed
* userIds and displayCardWhenRefresh properties inside refresh - removed
* Renamed ActivityInvocationContext.Refresh to ActivityInvocationContext.Automatic
* Renamed ActivityInvocationContext as ActivityInvocationTrigger
* Moving ActivityInvocationTrigger inside InvokeActivity as per design
* Update to use AEL
* Better auto refresh handling
* update template samples location and where website loads them from
* Updated the Scenarios
* Fix website - load Monaco before designer init
* Update designer README
* ported samples updates from .net branch
* [Site] Fix data sample not loading
* variable misnamed
* Add built-in refresh button
* Fix data structure gen from null
* update site script
* Fix duplicated refresh button
* Small doc fix
* Update to AEL 4.9.0-rc4
* Revert "Update to AEL 4.9.0-rc4"
This reverts commit e3a0d77146.
* Upgrade to AEL 4.9.0-rc5
* Updated samples and added Elements cards
* Revert "Merge branch 'ts/renderer-refactor' of github.com:Microsoft/AdaptiveCards into ts/renderer-refactor"
This reverts commit 858c7c02ff, reversing
changes made to 7cd9ef601c.
* Revert "Updated samples and added Elements cards"
This reverts commit 7cd9ef601c.
* Updated Samples
* Revert "Updated Samples"
This reverts commit 94d5e357c4.
* one git automatic merge led to build errors and had to revert several commits
* updated samples and added Elements payload after fixing bungled merge
* [Designer] Bump Teams to 1.2
* site new card dialog loads template versions now
* update stock template
* Update dependencies
* Npm audit fix
* Incorporate changes from main
* Merge AAF code into renderer package
* removing failing test for now to test AAF publishing
* update AC package version to 3.x for AAF testing
* Make AdaptiveApplet registries public
* Fix new syntax error
* New AdaptiveApplet.onExecuteAction event
* Add AdaptiveApplet.hostConfig
* Allow blocking manual refreshes
* Add support for per-action progress indicator
* Refactor to make UB model part of main SDK
Add support for providing custom SerializationContext to AdaptiveApplet
* Some refactoring to support auth model
* Package cleanup
* More refactoring for auth support
* Web Chat support schema 1.3 (#5514)
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
* Some renaming
* Fix weird discrepancy with main
* Auth support complete
* Add anchor right click support
Cleanup
* Tweaks
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Muthurathinam <6259786+muthurathinam@users.noreply.github.com>
Co-authored-by: nesalang <nesalang@gmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>
* Update Action.Execute.json
Update doc URL for Action.Execute
* [Shared] 1.4 - Action.Execute (#5539)
* UAM
* moar tests
* PR feedback
* Add new files to UWP to unbreak build
* Fix ShouldSerialize
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
* [.NET] Add support for parsing schema 1.4 features (#5531)
* [.NET] Add support for parsing schema 1.4 features
* PR feedback
* PR feedback
* [Android] Action.Execute support (#5551)
* Fix SWIG ordering
* Action.Execute support
* Revert ParseUtil::GetValueAsString; not a duplicate
* Bump version
* [iOS] Action.Execute Changes (#5549)
* UAM
* moar tests
* PR feedback
* Add new files to UWP to unbreak build
* [iOS] Action.Execute ios change
* [iOS] exposed auth card to the root card
* [iOS] fixed typo
* added unit tests
* [iOS] Added Action.Execute Renderer
* [iOS] CR Comments
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
* [UWP] Add parsing of schema 1.4 changes and Action.Excute support (#5554)
* [UWP] Add parsing of schema 1.4 changes and Action.Excute support
* Fix SAL
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
* Add validation + Action.Execute test card
* [iOS] updated text view to update its intrinsic content size dynamically (#5560)
* [JS] Universal Action designer support + some bug fixes (#5565)
* Universal Actions designer support
Plus some bug fixes
* Cleanup
* [JS] Action.description and TextBlock.style
* version update for Android
* description --> tooltip
* Bump custom.props version
* [JS] Updated package deps
* [JS] Updated package versions
* Metrics for layout structure comparison (#5576)
* Added bleu score metric collection for layout structure comparions
* latest changes based on review comments
* removed OrderedDict for sorting
* latest changes
* command usage changes
* [shared] Parser support for TextBlock headings changes (#5577)
* [Shared] Text Heading Support
* Added Samples
* changed spaces to tabs in .json
* [iOS] Text heading changes (#5584)
* [Shared] Text Heading Support
* Added Samples
* [iOS] Text heading changes
* [Android][Accessibility] TextBlock style: heading (#5587)
* [Android] Accessible Headings
* Bump to 1.5
* Missed SWIG enum
* [UWP][Shared] Implement Text Heading Object model for UWP and fix shared model serialization (#5601)
* Remove tooltip implementation
* Remove tooltip from schema
* Remove tooltip (description) from designer
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Muthurathinam <6259786+muthurathinam@users.noreply.github.com>
Co-authored-by: nesalang <nesalang@gmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Keerthana Manoharan <43063410+Keerthana786@users.noreply.github.com>
* [JS] TextBlock.style (#5607)
* Schema 1.4 (#5317)
* Schema update for Action.Execute and refresh
* Generate 1.4 schema file
* Updated specs
* Update toc.yml
* Updated specs
* Add authentication
* Updated specs
* Fix typos
* Add missing Action.Execute.verb
* Update verbiage
* Add Action.Execute sample
* Table of contents updates and labels on the sample inputs
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
* [JS] Add support for Universal Actions (#5533)
* Work in progress
* strictNullChecks, noImplicitAny
noImplicitReturns, noImplicitThis, noUnusedLocals
noFallthroughCasesInSwitch
More refactoring
Work in progress
* var --> let
* Array<type> --> type[]
for (let i = 0 ...) --> for (let item of ...)
Additional cleanup
Work in progress
* null --> undefined where appropriate
* Code organizing plus some cleanup
* CardObject, CardElement, TextBlock now use schema
* Image, FactSet now use schema
* FactSet fully uses schema
* Library size reduction
* Looking at decorators...
* Fully move to decorators
* Some cleanup
* selectAction/inlineAction --> schema
* ChoiceSet/ToggleInput --> schema
* Media -> schema
* All inputs --> schema
* Fix IE11 compat (don't use obj.constructor.name)
* OpenUrl/ToggleVis./Submit -> schema
* Action.Http --> schema
* Everything now uses schema
* Merge changes from master
* Fix designer build break
* Add version info in type registries
Plus some cleanup
* Forgot to add v1.2 to ToggleVisibility
* API simplification
* Library size reduction (~2 KB minified)
* Reduce library size
* Small simplification
* Update README wih notable changes so far
* More simplifications
* More simplification + 1KB size reduction
* More simplification + bug fix
* Parse logic refactor (WIP)
* Refactor parse logic (WIP)
* Move designer off global registry
* Small cLeanup
* Refactor toJSON
* Parse/serialize to/from specific schema version
Full version picker support
Still WIP, but almost there
* Code complete - full version picker support
* Fix test case + minor tweak
* Designer bug fixes and minor enhancements
* Review feedback so far + designer improvements
* Designer bug fixes
* Add support for cancelling d&d with ESC
* Review feedback + fix value type for number input
* Address review feedback
* More review feedback
* Fix Image.Width/Height serialization regression
* Fix Action.Submit not incl. empty inputs anymore
Add onExecuteAction handler in Preview Mode
* Small designer tweak
* Small popup control refactor
* [Designer] Enhanced data binding support
* [Designer] Small tweak/fix
* [Designer] Improved sample data support
* Use correct sample data in Preview Mode
* Integrate changes from master
* Add support for "preview" param on designer URL
Hide data structure toolbox
* [Designer] Enhanced sample picker dialog
* Fix integration mistake
* [Designer] Combine open sample and new card buttons
Also fully remove "full screen" button
* Remove references to removed buttons
* Sample picker tweaks
* Fix nasty regression introduced by fix in master
* [Designer] Add CHANGELOG.md
* Publishing preview designer + AC JS packages
* [Designer] HostContainer controls target version
* [Designer] Adding getCard and setCard back
* bump package versions for beta release
* Update README.md
* Improve experience for modern browsers
* [Designer] Add modulus, round, ceil, floor func.
[Renderer] Serialization bug fixes
* Update README
* Small cleanup
* Work in progress
* Work in progress
* [Templating] Fix $when not working within loops
[Renderer] Dynamically convert values to string for string properties
* [Templating] Add toString, parseInt, parseFloat
Refactor function storage to avoid name conflicts
[Renderer] Revert automatic conversion to string
* CLeanup
* Work in progress
* Work in progress
* Work in progress
* Small fixes
* [Designer] Styling update
* [Designer] Styling update
* Work in progress
* Work in progress
* Work in progress
* Disable lockDataStructure
* Work in progress
* Work in progress
* Package-lock updates
* Work in progress
* Move to Adaptive Expression
* Cleanup
* Templating tweaks + initial doc generation
* [Templating] Bug fixes
* Add null check for this.renderedElement
* updated website pacakge versions. removed const from exported enums
* [Templating] Fix regr introduced with last commit
Update README.ms
* [Templating] Fix broken {{Date}} and {{TIME}}
* fix website templating script based on API changes
* Changes to accommodate Schema changes (#3967)
* Changes to accommodate Schema changes:
* appId property - removed
* autoRefresh property - renamed
* userIds and displayCardWhenRefresh properties inside refresh - removed
* Renamed ActivityInvocationContext.Refresh to ActivityInvocationContext.Automatic
* Renamed ActivityInvocationContext as ActivityInvocationTrigger
* Moving ActivityInvocationTrigger inside InvokeActivity as per design
* Update to use AEL
* Better auto refresh handling
* update template samples location and where website loads them from
* Updated the Scenarios
* Fix website - load Monaco before designer init
* Update designer README
* ported samples updates from .net branch
* [Site] Fix data sample not loading
* variable misnamed
* Add built-in refresh button
* Fix data structure gen from null
* update site script
* Fix duplicated refresh button
* Small doc fix
* Update to AEL 4.9.0-rc4
* Revert "Update to AEL 4.9.0-rc4"
This reverts commit e3a0d77146.
* Upgrade to AEL 4.9.0-rc5
* Updated samples and added Elements cards
* Revert "Merge branch 'ts/renderer-refactor' of github.com:Microsoft/AdaptiveCards into ts/renderer-refactor"
This reverts commit 858c7c02ff, reversing
changes made to 7cd9ef601c.
* Revert "Updated samples and added Elements cards"
This reverts commit 7cd9ef601c.
* Updated Samples
* Revert "Updated Samples"
This reverts commit 94d5e357c4.
* one git automatic merge led to build errors and had to revert several commits
* updated samples and added Elements payload after fixing bungled merge
* [Designer] Bump Teams to 1.2
* site new card dialog loads template versions now
* update stock template
* Update dependencies
* Npm audit fix
* Incorporate changes from main
* Merge AAF code into renderer package
* removing failing test for now to test AAF publishing
* update AC package version to 3.x for AAF testing
* Make AdaptiveApplet registries public
* Fix new syntax error
* New AdaptiveApplet.onExecuteAction event
* Add AdaptiveApplet.hostConfig
* Allow blocking manual refreshes
* Add support for per-action progress indicator
* Refactor to make UB model part of main SDK
Add support for providing custom SerializationContext to AdaptiveApplet
* Some refactoring to support auth model
* Package cleanup
* More refactoring for auth support
* Web Chat support schema 1.3 (#5514)
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
* Some renaming
* Fix weird discrepancy with main
* Auth support complete
* Add anchor right click support
Cleanup
* Tweaks
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Muthurathinam <6259786+muthurathinam@users.noreply.github.com>
Co-authored-by: nesalang <nesalang@gmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>
* Update Action.Execute.json
Update doc URL for Action.Execute
* [Shared] 1.4 - Action.Execute (#5539)
* UAM
* moar tests
* PR feedback
* Add new files to UWP to unbreak build
* Fix ShouldSerialize
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
* [.NET] Add support for parsing schema 1.4 features (#5531)
* [.NET] Add support for parsing schema 1.4 features
* PR feedback
* PR feedback
* [Android] Action.Execute support (#5551)
* Fix SWIG ordering
* Action.Execute support
* Revert ParseUtil::GetValueAsString; not a duplicate
* Bump version
* [iOS] Action.Execute Changes (#5549)
* UAM
* moar tests
* PR feedback
* Add new files to UWP to unbreak build
* [iOS] Action.Execute ios change
* [iOS] exposed auth card to the root card
* [iOS] fixed typo
* added unit tests
* [iOS] Added Action.Execute Renderer
* [iOS] CR Comments
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
* [UWP] Add parsing of schema 1.4 changes and Action.Excute support (#5554)
* [UWP] Add parsing of schema 1.4 changes and Action.Excute support
* Fix SAL
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
* Add validation + Action.Execute test card
* [iOS] updated text view to update its intrinsic content size dynamically (#5560)
* [JS] Universal Action designer support + some bug fixes (#5565)
* Universal Actions designer support
Plus some bug fixes
* Cleanup
* [JS] Action.description and TextBlock.style
* version update for Android
* description --> tooltip
* Bump custom.props version
* [JS] Updated package deps
* [JS] Updated package versions
* Metrics for layout structure comparison (#5576)
* Added bleu score metric collection for layout structure comparions
* latest changes based on review comments
* removed OrderedDict for sorting
* latest changes
* command usage changes
* [shared] Parser support for TextBlock headings changes (#5577)
* [Shared] Text Heading Support
* Added Samples
* changed spaces to tabs in .json
* [iOS] Text heading changes (#5584)
* [Shared] Text Heading Support
* Added Samples
* [iOS] Text heading changes
* [Android][Accessibility] TextBlock style: heading (#5587)
* [Android] Accessible Headings
* Bump to 1.5
* Missed SWIG enum
* [UWP][Shared] Implement Text Heading Object model for UWP and fix shared model serialization (#5601)
* Remove tooltip implementation
* Remove tooltip from schema
* Remove tooltip (description) from designer
* Restore Action.accessibleTitle
* Add TextBlock.headingLevel to HostConfig
* HostConfig.textBlock -> HostConfig.headings
* Designer fix after rebasing to js-1.5-preview
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Muthurathinam <6259786+muthurathinam@users.noreply.github.com>
Co-authored-by: nesalang <nesalang@gmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Keerthana Manoharan <43063410+Keerthana786@users.noreply.github.com>
* Add Action.tooltip
* Promote tooltip to aria-label when appropriate
Co-authored-by: Robin Liao <yilia@microsoft.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Muthurathinam <6259786+muthurathinam@users.noreply.github.com>
Co-authored-by: nesalang <nesalang@gmail.com>
Co-authored-by: William Wong <compulim@users.noreply.github.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Keerthana Manoharan <43063410+Keerthana786@users.noreply.github.com>
* [shared] Parser support for TextBlock headings changes (#5577)
* [Shared] Text Heading Support
* Added Samples
* changed spaces to tabs in .json
* [iOS] Text heading changes (#5584)
* [Shared] Text Heading Support
* Added Samples
* [iOS] Text heading changes
* [Android][Accessibility] TextBlock style: heading (#5587)
* [Android] Accessible Headings
* Bump to 1.5
* Missed SWIG enum
* [UWP][Shared] Implement Text Heading Object model for UWP and fix shared model serialization (#5601)
* [UWP][Shared] Added host config and UWP renderer support for heading style (#5612)
* [Schema] Add Text Block style property to schema (#5615)
* [Schema] Add Text Block style property to schema
* Update schema version from "1.5" to "vNext"
* Updated specs
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
* Update schema and documentation files to match the latest spec
* Update to remove documentation of optional suffixes as they are not supported.
* Update with latest design decisions
* Regenerate the schema file
* Add classes for validation
* Add interfaces for input validation
* [UWP] Input Validation Prototype
* Second version of validation
* Update some stuff
* Add minor fixes and ur
* Add multitype label support
* Fix break
* Add support for card elements as labels
* Add automation properties
* Add fixes for accessibiloty
* Add host config support
* Fix accessibility for error messages
* Add host config options for validation behavior
* Modify host config to show enw options
* Add files to project
* Remove UWP specific code
* Remove Android specific code changes
* Update test files
* [TS] Input validation (#4197)
* Work in progress
* Code complete
* Now actually code complete
* Fix not all required inputs gathered from ShowCard
* Accessibility support
* Add aria-required, hide suffix from accessibility
* aria-required for Toggle and ChoiceSet
* Add sample
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
* [Shared model] Update namings in host config (#4213)
* Remove validation behaviour from host config
* Update namings in hostconfig
* Fix build errors
* Fix some test json for bugbash
* Fix cards with errors
* Update long labels to be loooooooooooooooooooooong
* [DevSpec] Updates to input validation spec (#4190)
* Input Validation Spec Documents
* Fix casing on broken image links'
* Updates to document based on discussions and feedback
* Minor formatting change
Updated the "Start the documentation site" heading to be at the same level as the rest of the headings
* Removing instructions around explicit hexo install
* [Security] Bump handlebars in /source/nodejs/adaptivecards (#3692)
* Bump handlebars from 4.1.2 to 4.5.3 in /source/community/reactnative (#3694)
* [UWP] Fix null dereference in Media code path (#3669)
[UWP] Fix null dereference in Media code path
* [UWP] Fix RendererRegistration error handling and fix inheritance issue with WholeItemsPanel (#3710)
* updated the doc (#3706)
* updated the doc
* Updated specs
* updated the description
* Updated specs
* updated the doc to correct wrong info
* Updated specs
* [Accessibility] Fixing some color contrast issues in the website (#3698)
* Updating adaptivecards.io homepage's roadmap links to point to the updated productboard portal
* Fixes#3577 ; Fixes#3576:
* Fixing outlook.css since that is the style sheet that is being picked up by default when you hit the explorer page
* automatic package.json changes
* Fixing color syntax
* Site readme updates (#3699)
1. Including PreRequisite section around repo bootstrap linking to root readme
2. Cleaning up build commands to use lerna to be consistent with root readme and removing redundant steps
* added test to parse and render all sample cards (#3679)
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* [UWP] Remove image comparison from unit tests (#3724)
* [UWP] Remove image comparison from unit tests
* Code review feedback
* Added MaxActions Limit Check (#3696)
* Added MaxActions limit check and replaced multiple of GetActions() call
That returns a structure by value
* added UnitTesting and Warning
* added UnitTesting and Warning
fixed comments
Co-authored-by: almedina-ms <35784165+almedina-ms@users.noreply.github.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Jwoo/ios telephony update (#3680)
* updating telephony detection for markdown link
* undo uneccesary changes
* updated RichTextBlockRenderer to detect Telephony link
* updated sample card
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* [Android] Fix scrolling behaviour in multiline Input.Text (#3714)
* Fix scrolling behaviour in multiline text input
* Add test files
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Fix vertical content alignment for elements in root (#3716)
* [SharedModel] Skip date/time tests outside of Pacific TZ (#3611)
* [SharedModel] Skip date/time tests outside of Pacific TZ
Fixes#3609
* Rename TEST_MODULE_INITIALIZE method
* Remove TEST_MODULE_INITIALIZE altogether
* Update macro name
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Create cortana-beta-light.json (#3729)
New HostConfig for Cortana Windows UWP beta, light mode. To be added to the drop down as: Cortana (Beta) - Light
* Create cortana-beta-dark.json (#3730)
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
* [Android] Fix to have HH:mm in Input.Time elements (#3713)
* Fix to have short time format
* Change helper function
* Add unit tets
* Add sample test json
* Remove unnecessary test file
* Fixed#3741 (#3743)
* Updated Cover FillMode Behavior (#3725)
* Updated Cover FillMode Behavior
* Revew Comments Addresssed
* adding testing card
* Updated file
* Updated Handling of Preprocessed Text (#3727)
* Updated preprocessed text handling
* updated formatting
* Added Accesibility Tags
* updated accessibility
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* updated project file to expose media rendere (#3726)
* iOS new layout scheme (#3687)
* Updated iOS layout
* removed wrapper on TextBlock and RichTextBlock renderers
* updated layout views to use intrinsic contentsize
* updated property value for layout vies
* Added key value observation for hidden property to allow toggle
visibility and the new layout change to work together
* Updated views with toggle visibility to update its contentsize based on
their visibility changes
Updated padding priority for bleeding
* restores to working project file
* updated project file for xcode
* updated for CR comments
* Fixed for CR comments
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* updated the gradle property to handle error token (#3742)
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* More feedback updates
* Add backwards compatibility section
* Update to labels spec to reflect the latest discussions
* Add an update to the label spec to cover the current state of discussions
* Update some open discussion and comments
* Update link
* Flesh out host config options
* Fix some comments
* Fix more comments
* Split original spec into two options
* Fix comment from discussion
* Get the general spec on track with the other two
* Add almost final version
* Move costing outside of appendix
* Add index to point to topics easier
* Add table of contents for validation
* Add WCA Guidelines
* Add requirements
* Update specs
* Remove markdown from v1
* Make small updates to input validation spec
* Add fixes for comments from last meeting
* Update host config structure
* Take options out of scope for associated inputs
* Add changes from 05/26 meeting
* Update requirements
* Update last details of spec
* [Android] Show all ActionSet's in column (#4181)
* Adjust ActionSet container height to fit contents
* Add test card
* Fix UWP build break after branch change and merge
* Revert no longer relevent changes in samples and schema
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: jarusse <59999260+jarusse@users.noreply.github.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
* [UWP] Input Evolution (#4088)
* Re add everything related to UWP
* Remove validation behaviour from host config
* Remove references to validation behaviour
* Update input retrieval
* Add changes to respect label and error messages on custom inputs
* Remove comment and repeated code
* Update namings in hostconfig
* Update host config and fixes broken error message setting
* Fix first batch of comments in PR
* Remove render context from input value constructor
* Fix more comments from PR
* Fix more comments
* Fix text wrapping in error message and bug in time input validation
* Fix input retrieval bug
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* [Android] Input labels and errors support (#4039)
* First working android version for inputs and errors
* Clean up android tests
* Fix tests for other input types
* Update swig files
* Fix build error
* Remove validation behaviour from host config
* Remove validation behaviour references
* Working version n1 for visible views only
* Add more changes to respect basic properties as spacing
* Add fix to compress casting tasks
* Fix some behaviours and check that all inputs work
* Update host config
* Updsate object model file
* Readd legacy card import for testing purposes
* Fix android not rendering elements
* Fix issues found in bug bash'
* Fix test fieks
* Fix tests
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Fix casting issue
* Add missing file from previous commit
* [WPF] Input Evolution (#4172)
* Add NET shared model support and WPF rendering support for labels and error messages
* Fix validation bugs
* Fix some acessibility issues
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* [UWP] Fix inline actions not getting inputs (#4266)
* Fix inline actions not validating inputs
* Updated specs
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
* [UWP] Respect host config formatting for labels (#4289)
* Fix host config on labels
* Fix comments
* Fix crashes when no input exist in a card (#4316)
* [UWP] Sample custom input (#4282)
* Add sample input and changes the use of internal id for string id
* Fix commments from PR
* [WPF] Rename the input label host config property to match cpp shared model (#4308)
* Rename the input label host config properties
* Remove build files from git
* Remove invalid test cards and add new valid test cards
* Remove associated inputs from submit actions
* Fix failing tests
* Fix test errors
* Rename custom input to be the same as other renderers (#4328)
* Fix input visibility (#4306)
* Fix crash when clicking inline actin (#4290)
* Fix samples (#4347)
* Remove build files from git
* Add properties to hostconfig and fix duplicated id
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* [TS] Input accessibility + designer open sample dialog fixes (#4239)
* [JS] Input accessibility and designer fixes
* Fix Input.Number min/max not honored when set to 0
* Update package-lock.json
* Further package-lock.json updates
Co-authored-by: Paul Campbell (DEP) <paulcam@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Ts/input label as label (#4354)
* [JS] Input label as <label>
* Fix typo
* Update package-lock.json
* Another package-lock update
* Small preview mode fix
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
* [Android] fix focus on elements (#4321)
* Add custom input element to verify correct label rendering
* Fix Focus Visibility on choiceset elements
* Add missing file change
* Fix build error
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* work in progress
* completed input view
* completed input label & work in progress for inputvalidation
* [UWP] Fix crash when invoking show cards (#4370)
* Remove control validation (#4379)
* [Android] Fix suffix rendering in labels (#4372)
* Remove build files from git
* Fix label suffix
* [Android] Fix visual input cue to clean the state on instantiation (#4373)
* Remove build files from git
* Fix preloaded visual cue
* [Android] Fix empty date input (#4374)
* Remove build files from git
* Fix date input to allow being empty on start
* complted implementing input validation
* [JS] Regenerate package-lock files
* code complete
* Revert "Merge branch 'jwoo/ios-input-evolution' into feature/inputEvolution"
This reverts commit dda9109802, reversing
changes made to 609f25e465.
* Emit warning for required inputs without label (#4435)
* [UWP] Fix Input.Number validation logic to ensure value is a number (#4432)
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* [WPF] Fix automation properties (#4371)
* Remove build files from git
* Fix AutomationProperties for Accessibility
* Fix comments from pr
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Add warnings for empty labels in required inputs (#4409)
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Add warning for empty label in required input (#4454)
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Add input retrieval to inlinr submit actions (#4453)
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* [Android] Fix stretch textblock claiming all visible space (#4452)
* Fix elements taking the whole space
* Add sample files
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Sample updates (#4455)
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Change choiceset returns from null to empty (#4458)
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* ios input evolution (#4437)
* refactored and fixed bug bash bugs
* fixed merge error
* added warning messages when there is no error message is present when the input has the validations
* refactored code and fixed unit tests
* updated failed test card since bad card is fixed
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Fix label to make hint always have attention color (#4456)
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
* Fixing .NET CI tests for feature/inputEvolution (#4462)
* Ignoring default value for LabelConfig.inputspacing during serialization
* Updating API doc
* Fixing regression in WPF renderer processing v1.0 inputs
* Reverting changes to default launchSettings for the ImageRenderer sample
Co-authored-by: Rebecca Muraira <rebecch@microsoft.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: David Claux <dclaux@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
Co-authored-by: jarusse <59999260+jarusse@users.noreply.github.com>
Co-authored-by: Matt Hidinger <matt.hidinger@gmail.com>
Co-authored-by: Risheek Rajolu <risheekrr@gmail.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
* Update TextBlock docs to clarify that markdown is supported
* Clarify that TextRun does not support markdown
* Updated specs
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Co-authored-by: Paul Campbell <paulcam@microsoft.com>
Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
* Input Labels Spec Documents
* Updated with some feedback from design discussion meeting
* More review feedback upates
* Update schema and spec to have label on all inputs
* Update test app results for new sample
* experiment with a separate hexo blog
* fix bad merge
* blog polished, added rss, styling, improved editing.
had to rename `typed-schema` to `ac-typed-schema` since the pervious name conflicts with an already published npm package
* remove unusued files, style tweaks, fixing highlighting
* homepage coming together nicely
* site mostly working in subdir, hashing cleanup, lots of home content
* fixed blog relative links
* designer fix and generate schema explorer
* add build-model back to git
* testing
* fix env var
* tweaking github author generator
* fix images, links, favicon
* fix filename
* small tweaks
* added copy to clipboard button
* add Copy Code button, better feedback button, blog code snippets
* lots of polish
* changing blog to use subtitle instead of excerpt
* added site footer and polished blog styling
* blog and samples page fully working in desktop and mobile
* schema explorer styled
* added community call blog content
* update package lock
* made some of the site config driven, updated blog posts, cleanup
* fixed blog videos, added footer link
* fix designer open sample
* update quote
* update quotes
* cant async load highlightjs
* schema fix, blog fix, trying to fix fabric random build failures
* Updated specs
* fixed ac-typed-schema to return case-sensitive file names for examples
* forgot a file
* updated some docs and starting to bundle remote assets
* Updated blogging docs, tweaking home page copy based on feedback
Fixes#3432
* updated releases tags
* copy and styling
* update ufh header
* designer cdn: added CSS and updated unpkg references to be less fragile
* Bundling all third-party assets locally
* addressing accessibility color contrast requirements
* make homepage videos pause when not in viewport
* fixing small compliance issues
* remove old .net website hasn't been used in ages
* make homepage video autoplay
* visual tweaks to homepage
* typo in aria attribute
* accessibility fixes
* september blog post
* improving script load performance and improving accessibility
- selectively loaded scripts based on the page to delay uneeded downloads
- move scripts to the footer where possible to improve page load speed
- minor accessibility improvements to the roles of elements
* hardened script if other files couldn't load
* small fixes
* improving twitter share cards
* twitter meta fixes
The property wasn't supposed to be on there and it was an accidental addition to the schema which none of the renderers support
* Removed the `backgroundImage` property from the schema
* Updated the `Input.Toggle.value` description since it had a new typo and was also worded very confusingly
* Generated the new `1.2.1` schema
* Add pixel widths to column
* Describe the pixel format of minHeight
* Update 1.2.0 schema descriptions
There's no actual schema validation changes, just description changes, so no need to bump the version number