MCPcopy Index your code
hub / github.com/CleverCloud/clever-components

github.com/CleverCloud/clever-components @25.6.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 25.6.3 ↗ · + Follow
4,767 symbols 9,830 edges 845 files 1,762 documented · 37%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

title: 'Readme'

Collection of Web Components by Clever Cloud

What is this?

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).

Why is it public?

  1. 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.
  2. 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.
  3. We think it's a great way for our clients to give feedbacks (and even contributions) on small parts of our Web UIs.

Can I see those components?

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 Docs story of a component (example).

Can I use them in my project?

Sure, they're available on npm. Contact us if you want more details.

License

This project is licensed under the Apache-2.0.

We're using modified versions of two projects related to Leaflet:

  • https://github.com/Leaflet/Leaflet.heat
  • https://github.com/mourner/simpleheat

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.

Extension points exported contracts — how you extend this code

Validator (Interface)
(no doc) [8 implementers]
src/lib/form/validation.types.d.ts
FormDemoWithSmartComponentState (Interface)
(no doc)
sandbox/forms/form-demo-with-smart-component.types.d.ts
Foo (Interface)
(no doc)
test-mocha/cem/fixtures/cc-test-component.types.d.ts
RawOperator (Interface)
(no doc)
src/operators.types.d.ts
App (Interface)
(no doc)
src/components/common.types.d.ts
FormControlElementLike (Interface)
(no doc) [1 implementers]
src/lib/form/form.types.d.ts
TheInterface (Interface)
(no doc)
test-mocha/cem/fixtures/cc-test-component.types.d.ts
Addon (Interface)
(no doc)
src/components/common.types.d.ts

Core symbols most depended-on inside this repo

i18n
called by 1737
src/lib/i18n/i18n.js
makeStory
called by 1297
src/stories/lib/make-story.js
updateComponent
called by 382
src/lib/smart/define-smart-component.js
sanitize
called by 306
src/lib/i18n/i18n-sanitize.js
storyWait
called by 263
src/stories/lib/make-story.js
filter
called by 166
src/components/cc-logs/logs-controller.js
getAssetUrl
called by 143
src/lib/assets-url.js
has
called by 133
src/lib/smart/smart-component.types.d.ts

Shape

Method 2,551
Class 850
Function 788
Interface 578

Languages

TypeScript100%

Modules by API surface

src/components/cc-logs-app-runtime/cc-logs-app-runtime.smart.js61 symbols
src/components/cc-logs/cc-logs.js52 symbols
src/components/cc-kv-explorer/cc-kv-explorer.js52 symbols
src/components/common.events.js42 symbols
src/components/cc-range-selector/cc-range-selector.js42 symbols
src/components/cc-cellar-object-list/cc-cellar-object-list.events.js36 symbols
src/components/common.types.d.ts33 symbols
src/lib/logs/logs-stream.js30 symbols
src/lib/form/cc-form-control-element.abstract.js30 symbols
src/components/cc-logs/logs-controller.js30 symbols
src/components/cc-grid/cc-grid.js30 symbols
sandbox/cc-logs/cc-logs-sandbox.js30 symbols

Datastores touched

my-databaseDatabase · 1 repos

For agents

$ claude mcp add clever-components \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page