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

330 Коммитов

Автор SHA1 Сообщение Дата
Ruben Restrepo 1ff897dc13
Fix readme typos (#509)
Fixes some typos in the main project readme.
2023-10-10 14:08:36 -07:00
Hawk Ticehurst 58e03ec7f1
Merge recent changes from `main` (#481)
Description of changes

Merges recent changes from main including:

- Fix data grid docs sample code (#471)
- Add react testing environment changes (#478) and adapt the changes to a monorepo structure.
2023-05-15 12:10:14 -07:00
Hawk Ticehurst d4d93f8092
Update `vnext` docs and readmes (#472)
Description of changes

Add various updates to the project/package READMEs and contributing doc to reflect the changes being made as part of vnext work.
2023-04-17 14:07:07 -07:00
Hawk Ticehurst 0a386db129
Convert project into a monorepo (#470)
Description of changes

As part of vnext work, this PR converts the entire project into a monorepo using npm workspaces.

This change enables the core toolkit components and the React-wrapped toolkit components to be split into separate packages:

- @vscode/webview-ui-toolkit
- @vscode/webview-ui-toolkit-react
2023-04-14 13:41:56 -07:00
Hawk Ticehurst 76ba9b0910
Configure `vnext` branch (#469)
Description of changes

Create `vnext` branch and configure package.json version to be `v2.0.0-beta.1`
2023-04-11 10:32:37 -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
Fengtan 冯坦 2d9ed0f7d1
Fix data grid alignment between headers and cells (#412)
Description of changes

Resolves an issue where the data grid header cells and regular cells would be misaligned due to different overflow wrap properties.
2022-11-21 13:16:01 -08:00
Hawk Ticehurst c6e399c8c0
Add type module (#421)
Description of changes

Add `type: module` to package.json and update various build/test scripts.
2022-11-21 12:43:17 -08:00
dependabot[bot] c7c9dcba7b
Bump minimatch from 3.0.4 to 3.1.2 (#420)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  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-11-21 12:39:16 -08:00
dependabot[bot] 8b615e44a4
Bump loader-utils from 1.4.0 to 1.4.2 (#416)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  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-11-21 12:08:56 -08:00
Hawk Ticehurst 864372518f
Publish `v1.1.0` toolkit package (#405)
Description of changes

Publish the v1.1.0 of the toolkit package to NPM.
2022-09-14 21:44:51 -07:00
David Dossett 6fc339ce26
Update button border radius (#401)
* Update button border radius

* Remove unused import
2022-08-30 12:02:14 -07:00
Hawk Ticehurst 25fd474a9d
Publish `v1.0.1` toolkit package (#400)
Description of changes

Publish the v1.0.1 of the toolkit package to NPM.
2022-08-22 15:33:46 -07:00
Hawk Ticehurst 11742bfb3d
Fix `vscode-link` focus regression (#399)
Description of changes

Add a new CSS selector to fix vscode-link focus regression where the link focus border was not being rendered when tab-based focus was given.
2022-08-22 15:02:41 -07:00
David Dossett 93e74a89d5
Fix `vscode-link` word break issue (#389)
Fixes #388 by removing white-space: nowrap and adding word-break: break-word rule to allow links using long continuous strings to break into new lines.
2022-08-18 12:39:15 -07:00
Chaiwat Trisuwan 4b53d38fb1
fix: remove max-width to fix uncentered text (#385) 2022-08-01 09:46:45 -07:00
dependabot[bot] a50bd06f36
Bump terser from 4.8.0 to 4.8.1 (#382)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 14:52:20 -07:00
Hawk Ticehurst bb3f513116
Publish `v1.0.0` toolkit package 🎊 (#368)
Description of changes

Publish the v1.0.0 of the toolkit package to NPM.
Also updates the project readme to remove public preview-related content.
2022-04-07 11:37:27 -07:00
Hawk Ticehurst b0ed7eff20
Update readme and getting started guide (#367)
Description of changes

Includes updates to the project `README` and getting started guide based on an internal string review.
2022-04-05 13:54:50 -07:00
Hawk Ticehurst 3ba7054055
Update attribute options typings (#364)
Description of changes

Pulls in an upstream change from FAST Foundation that resolves an issue where some of the React toolkit components were forced to use enums when defining a handful of attribute values.

This fix now allows all React components to use literal string values when defining attributes.

Also updates the React component docs to reflect this change.
2022-03-28 13:20:06 -07:00
David Dossett e93d5111d4
Initial commit (#362) 2022-03-25 13:54:51 -07:00
David Dossett 0ba5d6bd38
Add link to figma toolkit in readme (#363)
Adds a link to the toolkit Figma community file.
2022-03-25 12:12:02 -07:00
dependabot[bot] e6149a1a46
Bump minimist from 1.2.5 to 1.2.6 (#359)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 14:28:01 -07:00
dependabot[bot] c55fa20f9a
Bump nanoid from 3.1.30 to 3.3.1 (#360)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.3.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 14:27:44 -07:00
Hawk Ticehurst a0a2845749
Publish `v0.9.3` toolkit package (#358)
Description of changes

Add `.vscode-test-web` to `.gitignore` file and publish `v0.9.3` of the toolkit package to NPM.
2022-03-23 12:01:27 -07:00
Feng Yu a8a5032581
chore: add .vscode-test-web to .npmignore (#357)
Description of changes

Add `.vscode-test-web` folder to `.npmignore`.
2022-03-23 11:44:13 -07:00
Hawk Ticehurst 364d978db5
Project clean up (#351)
Description of changes

This PR contains a variety of minor tweaks and changes to the entire toolkit project. The changes include:

- Updates to the GitHub templates
- Updates to Storybook config
- Updates to our contributing guidelines
- Updates to the project README
- Updates to the getting started guide
- Add a copyright notice to various source code files
2022-03-11 09:22:26 -08:00
Hawk Ticehurst 424299a946
Publish `v0.9.2` toolkit package (#349)
Description of changes

Publish `v0.9.2` of the toolkit package to NPM.
2022-03-03 14:16:17 -08:00