@extrawest/extra-clarity
TypeScript icon, indicating that this package has built-in type declarations

0.17.4 • Public • Published

Maintaner GitHub license GitHub release

Extra Clarity

A library containing Angular components built on the top of the Clarity Design System, which we use in our internal projects in extrawest.com.

The library is under development. Any suggestions would be highly appreciated.

Required deps:

  • Angular 17.3.0 or later
  • Clarity: 17.0.0 or later

The latest version with Angular 16 support is 0.17.2 (based on Clarity 15), and for Angular 15 - 0.15.22.

Installation

The library is available as a npm-package. You can add it to your project with npm or yarn:

npm install @extrawest/extra-clarity

yarn add @extrawest/extra-clarity

To work with the library, you also need to add the Clarity packages:

npm i @cds/angular @cds/core @clr/angular @clr/ui

yarn add @cds/angular @cds/core @clr/angular @clr/ui

And then add the global Clarity styles to your angular.json config:

"styles": [
  "node_modules/@cds/core/global.min.css",
  "node_modules/@cds/core/styles/theme.dark.min.css",
  "node_modules/@clr/ui/clr-ui.min.css"
  ... any other styles
]

and add the cds-theme="light" attribute to the body element in your main HTML file:

<body cds-theme="light" />

Please refer to the Clarity docs for more details on 'Adding Clarity to an Existing Angular Application'.

Documentation

For the details about the available components and live examples, please refer to our Storybook-based documentation site.

We are working on adding more information to it.

Available Components

License

MIT License

Third-party libraries

Some of our components may include code from these third-party libraries:

/@extrawest/extra-clarity/

    Package Sidebar

    Install

    npm i @extrawest/extra-clarity

    Weekly Downloads

    126

    Version

    0.17.4

    License

    MIT

    Unpacked Size

    1.76 MB

    Total Files

    338

    Last publish

    Collaborators

    • nariman.mamutov
    • danylo-shamaiev-ew
    • andrii-kapustin-ew
    • dmytro-batazov-ew
    • serhii_vershynin
    • oleksandr.fedotov
    • anatolii-krotov-ew
    • dmytro_podolianskyi