The library provides front-end developers & engineers a collection of reusable Vue components to build websites and user interfaces. Adopting the library enables developers to use consistent markup, styles, and behavior in prototype and production work.
Vue 3 components for Carbon 10 have reached parity with the Vue 2 components.
More work is needed especially around accessibility. If you want to improve Vue 3 components follow these guidelines.
Fork this repo and checkout the main branch
Look to see which components are currently being improved. You can do this by looking in the issues list.
If you want to improve a component, look in the open issue list to see if someone else might already be working on it. Look for issues with a "V3 - Vue3" label and the name of the component. For example "CvDatePicker - improving accessibility".
If no one else is already working on it, create an issue using the "๐ช Vue 3 - improve component" and label it as above.
Work on the component and create a PR when you are ready.
Components are expected to be implemented as single file components using the Vue composition api. See CvCheckbox as an example. The Vue 2 components use the options API.
You should reference the DOM in the React components storybook and be sure to include any accessibility
improvements that might be there.
You should update the story and test cases for the component if applicable. Sometimes the story might need updating
almost always the test cases for the component will need updates.
If you have question tag @davidnixon in your issue and let me know how I can help.
cd local-devdocker-compose up# open a new terminalyarn buildnpm add-user --registry http://0.0.0.0:4873/# any username, password, & email will work# try: carbon, vue, & carbon-vue@example.comyarn test:publish# maybe change some things and try againyarn buildyarn test:unpublishyarn test:publish
Just follow the steps listed below and you will be able to run the storybook.
After the checkout to the vNext branch, in order to install the dependencies run the command yarn install on the root;
Now, run the command cd storybook to enter the storybook folder, then again run the command yarn install to install the dependencies inside the storybook folder;
Finally, run the command yarn serve inside the storybook folder.
In other words, these are the commands you're going to use in order of execution:
This package uses IBM Telemetry to collect de-identified and anonymized metrics data. By installing
this package as a dependency you are agreeing to telemetry collection. To opt out, see
Opting out of IBM Telemetry data collection.
For more information on the data being collected, please see the
IBM Telemetry documentation.