зеркало из
1
0
Форкнуть 0
Граф коммитов

352 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 6683e64383
Bump rollup from 2.58.0 to 3.29.5 (#563)
Bumps [rollup](https://github.com/rollup/rollup) from 2.58.0 to 3.29.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.58.0...v3.29.5)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-24 15:40:25 -07:00
Hawk Ticehurst 43031c6ca0
Update README.md 2024-08-02 12:27:35 -07:00
dependabot[bot] 3729547e13
Bump braces from 3.0.2 to 3.0.3 (#558)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 11:59:49 -07:00
Cherry Wang a1f078e963
Fix shrinking checkbox when parent container shrinks (#544)
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.
2024-03-07 16:15:23 -08:00
dependabot[bot] e3efa6e7b4
Bump ip from 1.1.5 to 1.1.9 (#540)
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.5 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.5...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 15:55:52 -08:00
Hawk Ticehurst 23f1b4603c
Publish `v1.4.0` toolkit package (#533)
Description of changes

Publish the `v1.4.0` of the toolkit package to NPM. See [releases](https://github.com/microsoft/vscode-webview-ui-toolkit/releases) for more details.
2023-12-06 15:53:38 -08:00
Hawk Ticehurst 37bcc86f09
Update `dropdown` styles (#532)
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
2023-12-06 15:05:12 -08:00
Hawk Ticehurst 2ba1428cdd
Add `tslib` as production dependency (#531)
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.
2023-12-06 14:01:40 -08:00
Hawk Ticehurst 5864a13916
Update `typescript` to `v4.6.2` (#530)
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.
2023-12-06 13:33:48 -08:00
Hawk Ticehurst a3e9d626d8
Update `@microsoft/api-extractor` and add `tsdoc.json` file (#529)
Description of changes

Updates `@microsoft/api-extractor` package to latest stable version.

Also adds a `tsdoc.json` file to resolve api-extrator warnings by adding definitions for custom tags that FAST Foundation uses. The file is copied directly from FAST Foundation:

https://github.com/microsoft/fast/blob/master/packages/web-components/fast-foundation/tsdoc.json
2023-12-06 10:58:31 -08:00
Hawk Ticehurst 24ad61ba0a
Update `prettier` to latest stable version (#528)
Description of changes

Update prettier package to latest stable version.
2023-12-06 10:30:09 -08:00
Hawk Ticehurst 1ab7c3328f
Update `eslint` related dependencies and ci pipelines (#526)
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.
2023-12-05 11:07:24 -08:00
Hawk Ticehurst fe691ce172
Update `fast` dependencies to latest stable versions (#525)
Description of changes

Updates the following packages to the latest stable versions:

- @microsoft/fast-element
- @microsoft/fast-foundation
- @microsoft/fast-react-wrapper
2023-12-05 10:26:12 -08:00
Martinez f3b26aab63
Use the correct example image in badge docs (#522)
Description of changes

Changes the "Don't use more than one badge on a single element" example to use the correct image.
2023-11-30 11:24:49 -08:00
Hawk Ticehurst ce3b8103d7
Publish `v1.3.1` toolkit package (#520)
Description of changes

Publish the v1.3.1 of the toolkit package to NPM. See releases for more details.
2023-11-13 16:08:05 -08:00
Hawk Ticehurst 89b9ca34ed
Update npmignore file (#519)
Description of changes
Update .npmignore to include "test-webview-react."
2023-11-13 15:55:45 -08:00
Hawk Ticehurst c80bb4375b
Publish `v1.3.0` toolkit package (#518)
Description of changes
Publish the v1.3.0 of the toolkit package to NPM.
2023-11-13 15:43:44 -08:00
dependabot[bot] d8952912eb
Bump json5 from 1.0.1 to 1.0.2 (#443)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 10:16:47 -07:00
dependabot[bot] df32dfef5d
Bump http-cache-semantics from 4.1.0 to 4.1.1 (#454)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 10:08:14 -07:00
dependabot[bot] 6dab6817ec
Bump @babel/traverse from 7.15.4 to 7.23.2 (#515)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.15.4 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 10:05:48 -07:00
dependabot[bot] bf9bf69053
Bump word-wrap from 1.2.3 to 1.2.4 (#501)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 09:48:32 -07:00
Hawk Ticehurst f22b1b0fab
Update radio docs (#511)
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.
2023-10-13 11:08:43 -07:00
Hawk Ticehurst 4554f794f6
Add rounded corners to input components (#510)
Creates a new cornerRadiusRound design token and applies that to the button, text area, and text field components.
2023-10-11 15:20:50 -07:00
Hawk Ticehurst 21ec3ecf20
Add editable data grid section to docs (#499)
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.
2023-07-09 12:57:41 -07:00
MaxKless 84fb97fb16
Remove deleted npm scripts from `contributing.md` (#492)
Description of changes

Removes npm `test` and `build:docs` scripts from `contributing.md`, which no longer exist.
2023-06-22 15:10:09 -07:00
Hawk Ticehurst 73fb83d212
Add react testing environment (#478)
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.
2023-05-11 16:23:06 -07:00
Tyler Smalley cef7378cfe
Fix data grid docs sample code (#471)
The grid-column attribute for the vscode-data-grid example had an incorrect value.

Signed-off-by: Tyler Smalley <tyler@tailscale.com>
2023-04-13 12:06:25 -07:00
AlCalzone b4f21bcbcc
Update esbuild config in getting started guide (#450)
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.
2023-03-21 15:22:32 -07:00
Scott Dover 533de64701
Fix typos in divider and radio group docs (#462)
Co-authored-by: Scott Dover <Scott.Dover@sas.com>

Description of changes

This fixes two typos found in the documentation
2023-03-21 15:16:59 -07:00
Hawk Ticehurst a1a6b4db81
Improve dropdown label docs (#463)
Description of changes

Adds better documentation on how to create labels in dropdown components that adhere to the VS Code design language.
2023-03-21 15:14:36 -07:00
Hawk Ticehurst a188973927
Remove `storybook` and replace with `codesandbox` (#460)
Description of changes

Remove Storybook and replace it with CodeSandbox sample links.
2023-03-08 11:19:53 -08:00
Hawk Ticehurst 344a3b47f7
Remove `jest` dependency (#459)
Description of changes

Remove jest dependencies and test files. This is in preparation to start using playwright instead.
2023-03-06 15:24:47 -08:00
Hawk Ticehurst 83c0b555e0
Publish `v1.2.2` toolkit package (#458)
Description of changes

Publish the v1.2.2 of the toolkit package to NPM
2023-02-24 14:46:28 -08:00
Hawk Ticehurst a3254a537c
Update data grid docs (#457)
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.
2023-02-24 14:35:00 -08:00
Hawk Ticehurst b483a33074
Fix react build script (#456)
Description of changes

Fixes react build script that was generating incorrect type declaration file.
2023-02-24 14:22:04 -08:00
Hawk Ticehurst 10e8dfbe94
Enable CodeQL in Azure pipeline (#441)
Description of changes

Adds CodeQL to Azure pipeline for improved static analysis and security audits of toolkit source code.
2023-01-20 11:37:16 -08:00
Hawk Ticehurst c960b53ee3
Update getting started guide (#383)
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
2023-01-19 18:13:10 -08:00
Hawk Ticehurst ebcfee1d48
Remove deploy docs readme badge (#449)
Description of changes

Since the deploy docs CD pipeline was removed in #436 it broke the deploy docs readme badge, so removing it here.
2023-01-13 11:14:07 -08:00
Hawk Ticehurst bebc793e9e
Update resource links in docs (#447)
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
2023-01-09 21:43:16 -08:00
Hawk Ticehurst 151379a264
Add `.eslintrc.cjs` to npm ignore file (#444)
Description of changes

Add .eslintrc.cjs to .npmignore.
2023-01-09 16:37:45 -08:00
Hawk Ticehurst af878fdd6f
Publish `v1.2.1` toolkit package (#437)
Description of changes

Publish the v1.2.1 of the toolkit package to NPM
2022-12-22 15:55:15 -08:00
Hawk Ticehurst acadb09779
Add explicit file extensions to module imports (#436)
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.
2022-12-22 15:34:46 -08:00
Hawk Ticehurst bfb9755495
Fix code snippet in getting started guide (#434)
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.
2022-12-14 17:30:56 -08:00
Hawk Ticehurst b4facb3303
Add docs for multiple icons in text fields (#427)
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.
2022-12-08 14:27:06 -08:00
dependabot[bot] ea1d3bf151
Bump qs from 6.5.2 to 6.5.3 (#431)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 09:44:46 -08:00
Hawk Ticehurst 67ccbe697f
Slightly update radio group docs (#430)
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`.
2022-12-08 09:44:17 -08:00
Hawk Ticehurst b53584bc27
Add docs for how to label a dropdown component (#429)
Description of changes

Adds a documentation code snippet demonstrating how to add a label to a dropdown component.
2022-12-08 09:42:47 -08:00
Hawk Ticehurst aa83544fe8
Fix high contrast light buttons using incorrect hover background (#428)
Description of changes

Fix high contrast light theme issue where the wrong colors were being applied to buttons on hover.
2022-12-08 09:41:59 -08:00
dependabot[bot] 362988ebb2
Bump decode-uri-component from 0.2.0 to 0.2.2 (#426)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 15:38:27 -08:00
Hawk Ticehurst 1baeb35b22
Publish `v1.2.0` toolkit package (#422)
Description of changes

Publish the v1.2.0 of the toolkit package to NPM
2022-11-21 15:07:24 -08:00