@hashicorp/design-system-components
TypeScript icon, indicating that this package has built-in type declarations

4.2.0 • Public • Published

design-system-components

A package containing the components for the Helios Design System.

npm version

Compatibility

  • Ember.js v3.28 or above
  • Ember CLI v3.28 or above
  • Node.js v16 or above

Installation

yarn add @hashicorp/design-system-components

You will need to do three things before importing the styles into your app:

  1. Install ember-cli-sass
ember install ember-cli-sass
  1. Change app/styles/app.css to app/styles/app.scss
  2. Add the following to the app definition (starts on/around line 6 in new Ember apps) in ember-cli-build.js
sassOptions: {
  precision: 4,
  includePaths: [
    './node_modules/@hashicorp/design-system-tokens/dist/products/css',
    './node_modules/@hashicorp/ember-flight-icons/dist/styles',
    './node_modules/@hashicorp/design-system-components/dist/styles',
  ],
},

Finally, add this line to the top of your app's style file (app.scss or similar):

@import '@hashicorp/design-system-components';

⚠️ Notice: our component library assumes that a *, *::before, *::after { box-sizing: border-box; } reset is applied globally in the CSS of the application. If in your use case this is not true, please speak with the design system team (we can try to find a workaround).

Usage

See the dedicated components website: https://helios.hashicorp.design/components

Contributing

See the Contributing guide for details.

License

This project is licensed under the Mozilla Public License 2.0.

Package Sidebar

Install

npm i @hashicorp/design-system-components

Weekly Downloads

1,885

Version

4.2.0

License

MPL-2.0

Unpacked Size

1.45 MB

Total Files

570

Last publish

Collaborators

  • abhishek-hashicorp
  • dstaley
  • cameronperera
  • alexju
  • consul-ui-services
  • wenincode-hashicorp
  • hashicb
  • britt.lindgren
  • paulhcp
  • nandereck
  • tstormk
  • hashibot-hds
  • lackeyjb1
  • youriwims
  • jpogran
  • _natmegs
  • thrashr888
  • melsumner
  • mwickett
  • didoo
  • zchsh
  • hcitsec
  • gregone
  • meirish
  • enmod
  • kaxcode
  • anubhavmishra-hashicorp
  • hashibot-web
  • cstitt-hashi
  • kstraut
  • mocohen
  • dhaulagiri