Description of changes
The width and height inherited from the parent container will override the width: 16 and height: 16 in the <svg>. If the parent container makes the checkbox shrink below 16px, the size will be skewed. Adding mid-width and min-height will prevent this to happen.
Description of changes
Update dropdown styles to match current VS Code styles.
- Rounded corners
- Remove focus highlight from dropdown options
- Remove extra empty space at the bottom of dropdown menu
Description of changes
Fixes error discovered in some package managers (namely yarn) that was complaining that tslib could not be resolved.
Also bumps tslib version from 2.1.0 to 2.6.2.
Description of changes
Updates typescript package to v4.6.2. This is the latest stable version of typescript that can be installed without conflicting with versions of typescript used in other dependencies.
Namely, the latest stable release of @microsoft/eslint-config-fast-dna requires typescript versions to be ~3.9.0 || ~4.3.5 || ^4.6.2.
Description of changes
Updates the following eslint-related packages to latest stable versions:
- eslint
- eslint-config-prettier
- eslint-plugin-import
- @typescript-eslint/eslint-plugin
- @microsoft/eslint-config-fast-dna
Also removes a deprecated rule from .eslintrc.cjs. Also also, updates both GitHub and Azure CI pipelines to use Node v18 (from v14 😅) and removes a no longer used test job.
Description of changes
Updates the following packages to the latest stable versions:
- @microsoft/fast-element
- @microsoft/fast-foundation
- @microsoft/fast-react-wrapper
Description of changes
Update radio docs (and associated CodeSandbox demos) to discuss and provide a warning about the upstream bug described in #476 and offer/demonstrate a workaround fix.
Description of changes
Adds a new section to the data grid docs explaining the current state of the world for editable data grids and provides a link to the editable data grid sample extension.
Description of changes
Adds a testing environment and associated npm script (`npm run test:webview-react`) to make it easier to test React toolkit component changes.
Description of changes
When following the getting started guide, I got stuck because esbuild seems to prefer the UMD exports of some transpiled modules. Those can not be statically analyzed and cause runtime errors for missing dependencies - in my case `vscode-json-languageservice` and some of its dependencies.
By telling esbuild to prefer the module field over main, this issue gets avoided.
Description of changes
Updates data grid docs to better clarify that the rowsData method does not work when using the React toolkit components and provides an example of how to create data grids when using React.
Description of changes
Updates the getting started guide to include new content on how to:
- Avoid loading the toolkit package directly from node_modules
- Register the toolkit components in JS/TS
- Add proper content security policies for loading scripts, styles, and images
Description of changes
Updates the main readme.md and getting-started.md resource links.
- Adds a link to the VS Code webview UX guidelines
- Simplifies the naming of other VS Code webview doc links
- Removes the Storybook link in anticipation of removing Storybook
Description of changes
Fixes an ESM-related bug caused by a lack of explicit file extensions (i.e. `import file` versus `import file.js`) in module imports.
Description of changes
Updates a code snippet from the getting started guide that demonstrated an improper way of disposing of webview panel resources when the panel is closed.
Description of changes
Adds documentation and Storybook sample explaining how text field slots can be used to create something like the native search text field in VS Code.
Description of changes
Include a tiny update to better clarify that `vscode-radio-group` components will only give keyboard support to `vscode-radio` components and content with a role of `radio`.
Description of changes
Resolves an issue where the data grid header cells and regular cells would be misaligned due to different overflow wrap properties.