Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typings for Adaptive Cards #3946

Merged
merged 3 commits into from
Jun 17, 2021
Merged

Conversation

compulim
Copy link
Contributor

@compulim compulim commented Jun 15, 2021

Changelog Entry

Added

Description

Add typings for Adaptive Cards style options.

This will catch missing style options, such as adaptiveCardsParserMaxVersion.

Design

Expose another version of useStyleOptions when using full bundle.

Specific Changes

  • Adds and use a full bundle version of useStyleOptions
  • Adds (generic) types for Direct Line rich cards
  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

@compulim compulim marked this pull request as ready for review June 15, 2021 18:47
@compulim compulim merged commit 3f67ebc into microsoft:main Jun 17, 2021
@compulim compulim deleted the feat-type-ac branch June 17, 2021 19:42
compulim added a commit that referenced this pull request Jun 22, 2021
* Add typings for Adaptive Cards

* Update entry

* Add issue number to TODO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Types definition for Typescript
2 participants