title |
---|
Readme |
This project contains a collection of Web Components made by Clever Cloud.
Some of those components are low-level like <cc-button>
, <cc-input-text>
or <cc-loader>
,
the other components are more high-level and specific to Clever Cloud's domain model.
We use them on different Web UIs we have (public and internal).
- We want to share our knowledge and experience with Web Components along with the tooling we used to build them. We hope it will help others for their own components.
- We use those components ourselves but we also want our clients and partners to use them in their own custom Web UIs based on our products.
- We think it's a great way for our clients to give feedbacks (and even contributions) on small parts of our Web UIs.
All our components are showcased with "stories" using Storybook. You can see all our components (and their stories) on this preview.
Storybook is a great tool to present your components in many different situations. This way, you can check how they behave with different inputs (properties, attributes...) and make sure they produce the right outputs (emit events...).
We also use web-component-analyzer to generate a documentation spec sheet for each component. You can find it in the Notes tab of a component's story (example).
Sure, they're available on npm. Contact us if you want more details.
This project is licensed under the Apache-2.0.
We're using modified versions of two projects related to Leaflet:
Both projects are licensed with BSD-2-Clause. They aren't updated anymore, and we wanted them to be exposed as modern ES modules. This is the main reason we decided to copy them in our own repo. The respective copyrights are at the top of each file:
- src/lib/leaflet-heat.js
- src/lib/simpleheat.js
Icons are powered by Remix Icon.