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

71 Коммитов

Автор SHA1 Сообщение Дата
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
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 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 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 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
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
David Dossett 765969f15b
Fix image paths (#328) 2022-02-07 14:48:04 -08:00
David Dossett 752e33b7f2
Add basic component usage guidelines (#322)
* Add badge and button guidelines without images

* Add checkbox guidelines

* Add divider guidelines

* Add badge artwork

* Update badge sections

* Fix image

* Update badge image

* Add hero assets for all components

* More guideline updates

* More do/don'ts

* Add radio and tag guidance

* Add text field guidelines

* Polish docs

* Remove unused image

* Remove unused image

* Update assets structure

* Fix progress ring corner radius

* Fix images paths

* Update button guidelines

* Add link to button guidelines

* Grammar fixes

* Clarify text field guidelines

* Grammar

* PR feedback

* Fix button images resolution

* Update badge artwork. Add button artwork

* Finish button artwork

* Add checkbox artwork

* Fix button size in table

* More image res fixes

* Add data grid and divider artwork

* Add dropdown artwork

* Add link artwork

* Add panels guidelines

* Add progress ring artwork

* Add radio group artwork

* Add missing alt text to radio image markdown

* Add tag artwork

* Add text area artwork

* Add text field artwork

* Fix missing badge artwork and alt text

* Fix badge border radius

* Add icon button example

* PR feedback: update checkbox, data grid and dropdown

* More PR feedback

* Update basic example titles

* Fix panel size
2022-02-07 11:35:41 -08:00
Hawk Ticehurst 815219bea2
Export fast foundation component attribute enums (#310)
Description of changes

This is a temporary stop-gap solution to this [upstream issue](https://github.com/microsoft/fast/issues/5494) where a handful of toolkit component attributes (when wrapped as React components) will result in TS type errors because the attributes/props require an enum as the value.

Once the upstream issue is resolved these changes should be reverted.
2022-01-04 16:06:08 -08:00
Hawk Ticehurst 421fcee9c6
Add missing type info in component registration functions (#308)
Description of changes

Fixes an issue with component registration functions where type information was being lost in certain cases. 

This caused downstream problems when used with the `fast-react-wrapper` so that component attributes had incomplete type info and rendered the component unusable in TypeScript-based React projects.
2021-12-29 10:31:35 -08:00
Hawk Ticehurst ec62132db7
Publish `v0.8.4` Toolkit Package (#293)
Description of changes

Publish `v0.8.4` of the toolkit package to NPM.
2021-11-04 10:36:08 -07:00
Chris Holt 599873f743
Update Toolkit to FAST Foundation `v2` (#273)
This PR updates the Webview UI Toolkit to leverage FAST Foundation `v2`.
2021-10-22 14:12:08 -07:00
Chris Holt b3e13e9a2f
Regenerate Package-Lock and Fix Some Dependency Issues (#271)
Description of changes

- Lock typescript and api extractor file versions due to typescript conflicts
- Add tsconfig to enable eslint
- Remove introduction storybook doc
- Add eslint as dev dependency for lint step
- Update prettier config
2021-10-19 15:42:05 -07:00
David Dossett ced445b34e
Initial commit (#251) 2021-10-07 09:34:49 -07:00
Hawk Ticehurst ee571c1f64
Publish `v0.8.1` Toolkit Package (#250)
Description of changes

Publish `v0.8.1` of the toolkit package to NPM.
2021-10-06 16:36:46 -07:00
Hawk Ticehurst 877b858a02
Final Pass On Toolkit (#249)
Description of changes

Do a final pass on the toolkit in preparation for the public preview release.
2021-10-06 16:13:58 -07:00
Hawk Ticehurst 32e5f1a913
Fix Icon Button Accessibility Naming (#214)
Description of changes

Fix accessibility bug in which Icon Buttons did not have accessible name properties.
2021-10-05 14:26:17 -07:00
David Dossett bed2d600fe
Ensure `vscode-radio` uses aria-label (#233)
Description of changes

Adds aria-label element based on the `Radio` component's label to ensure it is read by screen readers.
2021-10-05 14:21:37 -07:00
Hawk Ticehurst 5a32aa1aa9
Fix Data Grid and Panels Accessibility Naming (#238)
Description of changes

Fix accessibility bug in which data grids and panels components did not have accessible name properties.
2021-10-05 14:19:29 -07:00
David Dossett c0d7407987
Update artwork (#247) 2021-10-05 14:18:48 -07:00
Hawk Ticehurst 69118d9f43
Fix Deprecated Storybook Import Path (#242)
Description of changes

Fix deprecated scoped blocks import in Storybook introduction MDX file.

[Deprecation Reference](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-scoped-blocks-imports)
2021-10-04 17:29:30 -07:00
Hawk Ticehurst 9413e2ce84
Update Toolkit Docs (#241)
Description of changes

Includes various updates to the toolkit documentation.

Adds a link to the Webview API docs in the toolkit README description
Removes code comments from getting started guide code blocks
Add file path comments to each code block
2021-10-04 17:06:37 -07:00
Hawk Ticehurst 5a7cbb134a
Fix Getting Started Guide Typo (#240)
Description of changes

Fixes an incorrect toolkit Uri path in getting started guide.
2021-10-04 13:22:34 -07:00
Hawk Ticehurst 2f17ff7598
Republish Npm Package Under `@vscode` Scope (#239)
Description of changes

Republishes toolkit npm package under the `@vscode` scope and updates documentation to reflect that change.
2021-10-04 10:49:33 -07:00
David Dossett 83943f505a
Add artwork to `README` (#225)
* Initial commit

* Update artwork

* Update artwork to latest

* Update md text

* Fix dropdown option width in artwork

* Update md image text
2021-09-28 11:55:29 -07:00
Hawk Ticehurst cc25ccb09c
Publish `v0.8.0` To Public NPM Registry 🎉 (#223)
Description of changes

Bump package to `v0.8.0` and update package.json/docs to reflect publishing to the public NPM registry.
2021-09-28 10:46:15 -07:00
Hawk Ticehurst e43eca9233
Update Getting Started Guide (#226)
Description of changes

Update the getting started guide to reflect the major [changes](https://github.com/microsoft/vscode-webview-ui-toolkit-samples/pull/20) made to the Hello World sample extension.

Also update `README.md` to present the toolkit npm install command more prominently to readers.
2021-09-28 00:42:09 -07:00
Hawk Ticehurst 611367d3aa
Conduct Code Review Pass On All Components (#221)
Description of changes

In prep for public release, conduct a pass on all component code and related documentation.
2021-09-24 16:42:08 -07:00
David Dossett 945fd78606
Remove VS Code Number Field (#220)
Description of changes

In prep for public release, removing the `vscode-number-field` since it has some outstanding accessibility/functionality issues.
2021-09-24 16:25:45 -07:00
Hawk Ticehurst 0c0a1fdcc5
Conduct Content Pass On Documentation & Code Comments (#218)
Description of changes

In preparation for public preview, conduct another content pass on documentation and code comments.
2021-09-24 12:30:50 -07:00
David Dossett 025a5d5f0c
Replace all references to `VS Code` with `Visual Studio Code` (#217)
Title says it all.
2021-09-23 15:58:50 -07:00
Hawk Ticehurst daee7ef8ab
Update NPM Package Install Instructions (#201)
Description of changes

Update the toolkit npm package installation instructions to reflect its new location in ADO.
2021-09-14 13:27:43 -07:00
Hawk Ticehurst bc4d7d6da5
Remove & Update Components (#196)
Description of changes

Remove and update the following components that need more time and exploration in prep for public release.

- Remove Breadcrumb / Breadcrumb Item
- Remove Combobox
- Remove Progress Bar
- Update Badge
2021-09-08 11:53:10 -07:00
Hawk Ticehurst c4e998b932
Update Docs to Reflect New Repo Name (#172)
Description of changes

Update all documentation to reflect the new repo name (`vscode-webview-ui-toolkit`).
2021-08-12 15:52:25 -07:00
Hawk Ticehurst 2ef9570e64
Update Project Title To Align With Branding Guidelines (#170)
Description of changes

Update all instances of the project title to align with branding guidelines.
2021-08-06 11:08:37 -07:00
Hawk Ticehurst ccc786d052
Content Pass On Non-Component Files (#169)
Description of changes

In preparation for public release, conducted a pass on non-component files for typos, language clarity, branding, and so on.
2021-08-04 15:28:41 -07:00
David Dossett 5eab9f2db0
Update docs with minor phrasing and grammar tweaks (#159)
* Initial commit

* Other docs fixes + align Storybook intro with README

* Update package installation instructoins

* Add link to package install instructions

* PR feedback
2021-07-01 18:50:30 -07:00
Hawk Ticehurst e077288e14
Remove Toolkit README Illustration (#153)
Description of changes

Removed toolkit README illustration because it does not align with VS Code branding guidelines.
2021-06-24 11:17:17 -07:00
Hawk Ticehurst 59ef2530e8
Split VS Code Badge Into VS Code Tag & VS Code Badge (#149)
Description of changes

Split the VS Code Badge component into:

- VS Code Tag
- VS Code Badge
2021-06-22 11:57:25 -07:00
Hawk Ticehurst 3119459c2e
Temporarily remove menu and menu item components (#148)
Description of changes

Since the implementation of the Anchored component has been pushed back to July/August, temporarily removing the Menu and Menu Item components in preparation for the private beta.
2021-06-21 14:18:33 -07:00
Hawk Ticehurst af9e6f466d
Update VS Code Badge Design Tokens (#134)
Description of changes
- Update primary background design token default value with the correct color
- Add primary and secondary design tokens
- Add appearance attribute to Badge
- Update Storybook docs to reflect changes
2021-06-11 10:53:54 -07:00
Hawk Ticehurst 76d5c9df74
Add Components To `component.md` Docs (#112)
Add Combobox and Number Field components to `component.md`.
2021-06-02 10:38:04 -07:00
Hawk Ticehurst 44d6d2b5a0
Update NPM Scripts (#105)
Update the following NPM scripts to match the conventions used by other scripts and/or increase the clarity of the scripts.

- `npm run build:storybook` --> `npm run build:docs`
- `npm run deploy:storybook` --> `npm run deploy:docs`
- `npm run fmt:check` --> `npm run fmt`
- `npm run fmt` --> `npm run fmt:fix`
- `npm run test:coverage` --> `npm run test`
2021-05-27 10:33:06 -07:00
Hawk Ticehurst ed04b31566
Update TSDoc Comments & Regenerate API Report (#101)
- Add TSDoc comments for all instances of the `connectedCallback` method used in component classes.
- Remove unused parameters from `defaultSlottedContentChanged` method
- Regenerate API report
2021-05-25 12:02:19 -07:00
Hawk Ticehurst a2ba2af916
Configure Storybook GitHub Pages Deployment (#92)
Set up the `npm run deploy:storybook` script to deploy the Storybook documentation site to GitHub Pages.

Additionally, update all the documentation links to point to the new deployment URL.
2021-05-24 18:01:50 -07:00
Hawk Ticehurst de7f68bd04
Update Prettier Config (#90)
Update prettier config and run prettier on all files.
2021-05-19 12:04:13 -07:00
Hawk Ticehurst 65dc0bd4fd
Update Getting Started Guide (#89)
Update the Getting Started Guide to reflect the changes from the new design tokens API.
2021-05-19 11:34:27 -07:00
Hawk Ticehurst bb91c251dd
Adopt New FAST Design Token API (#88)
Adopted the new FAST Foundation Design Tokens API.

- Created new `design-tokens.ts` file
- Removed `design-system.ts` and Design System Provider code
- Updated all components to consume new tokens
- Updated `applyTheme.ts` utility to use new API
2021-05-19 11:15:23 -07:00
Hawk Ticehurst 34a8803589
Update Documentation (#84)
Clean up documentation a bit by:

- Updating README and Storybook intro value prop bullet points
- Fix broken link in the Getting Started guide
- Update `components.md` to reflect tabs to panels component name change
2021-05-13 15:47:49 -07:00