Socket
Socket
Sign inDemoInstall

@clevercloud/components

Package Overview
Dependencies
74
Maintainers
10
Versions
153
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @clevercloud/components

Collection of Web Components by Clever Cloud


Version published
Weekly downloads
8
decreased by-27.27%
Maintainers
10
Created
Weekly downloads
 

Changelog

Source

12.0.0 (2023-12-18)

⚠ BREAKING CHANGES

  • cc-header-orga: check the HeaderOrgaState type to adapt your code to the new state API.
  • cc-img: replace prop text by accessibleName

🚀 Features

  • cc-ansi-palette: init component (9b01309), closes #883
  • cc-badge: deprecate icon-accessible-name in favor of icon-a11y-name (8b25182), closes #893
  • cc-button: deprecate accessible-name in favor of a11y-name (8ceaab5), closes #893
  • cc-button: implement parts of ARIA API (014c592), closes #699
  • cc-header-orga: add a footer slot and small design tweaks (dfb4624), closes #869
  • cc-header-orga: rework state and types (727d2f9), closes #884
  • cc-icon: deprecate accessible-name in favor of a11y-name (12e2e73), closes #893
  • cc-img: deprecate accessible-name in favor of a11y-name (fa2e860), closes #893
  • cc-input-date: init component (40c978b), closes #842
  • cc-logs: init (f83a784), closes #697
  • cc-popover: deprecate accessible-name in favor of a11y-name (a41f5a1), closes #893
  • cc-popover: init component (0887067), closes #829
  • i18n: add the ability to specify minimum and maximum fraction digits when formating number (e101776)

🐛 Bug Fixes

  • cc-header-orga: hide initials from screen readers (8196779), closes #885
  • cc-header-orga: trim orga name in case it starts with spaces (cdd6b04), closes #886
  • cc-img: populate alt value (a5d2d2b), closes #726
  • cc-toggle: fix extra margin on top of cc-toggle when legend is inlined and when inside a grid (a59ba34), closes #896
  • i18n-sanitize: handle cases where origin equals empty string (0852482), closes #906

🛠 Code Refactoring

  • cc-img: replace prop text by accessibleName (c8586f9)

Readme

Source

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 Notes tab of a component's story (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:

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.

Keywords

FAQs

Last updated on 19 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc