@coopdigital/component-notification--alert

1.2.12 • Public • Published

Component card

Card component used on colleagues.coop.co.uk and coop.co.uk/recipes

Installation

Install via npm or Yarn:

$ npm install @coopdigital/component-notification--alert --save
# OR
$ yarn add @coopdigital/component-notification--alert

Usage

You can include component-notification--alert in your project by referencing it from your existing CSS via @import statement, i.e.:

@import "node_modules/@coopdigital/component-notification--alert/dist/card.css";

If you use PostCSS in your build pipeline, you can reference the sources directly like so:

@import "node_modules/@coopdigital/component-notification--alert/src/card.pcss";

If you use a postcss-import plugin, it gets even easier:

@import "@coopdigital/component-notification--alert";

Examples

Here's a bunch of examples, showing how you can integrate this CSS module in your project, based on most popular stacks of project. You can either use a post-processed and pre-built CSS form the dist directory, ot use PostCSS sources from the src dir.

The latter have certain dependencies, which should be consumed by your frontend toolkit to postprocess the CSS correctly.

Vue.js

TBD

React.js

TBD

Development

TBD

License

Copyright (c) 2021 Co-operative Group Limited. Licensed MIT.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.120latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.120
1.2.110
1.2.100
1.2.90
1.2.80
1.2.70
1.2.643
1.2.50
1.2.40
1.2.30
1.2.20
1.2.10
1.2.03
1.1.130
1.1.120
1.1.80
1.1.70
1.1.60
1.1.50
1.1.40
1.1.30
1.1.20
1.1.10
1.1.00
1.0.360
1.0.350
1.0.340
1.0.330
1.0.320
1.0.310
1.0.300
1.0.290
1.0.280
1.0.270
1.0.260
1.0.250
1.0.240
1.0.230
1.0.220
1.0.210
1.0.200
1.0.190
1.0.180
1.0.171
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10

Package Sidebar

Install

npm i @coopdigital/component-notification--alert

Weekly Downloads

47

Version

1.2.12

License

MIT

Unpacked Size

4.76 kB

Total Files

7

Last publish

Collaborators

  • omidantilong
  • coopexperience
  • mitcheh
  • matt-tyas
  • hanross
  • coopjames