CJSCommonPlatform / govuk_single_page_pdk

Single Page Platform Development Kit
http://cjscommonplatform.github.io/govuk_single_page_pdk/
13 stars 20 forks source link

gov-notification: different data types #51

Open scoch opened 8 years ago

scoch commented 8 years ago

I am not sure where this is being controlled from, but we need a new data type "suspended". Colour/formatting wise, I think this may be the same as the current "pending" status. I've used pending for now, otherwise the element doesn't display.

            <gov-notification data-type="pending">
                Account status: <span id="account-status">Suspended</span>
            </gov-notification>
blackmonday commented 8 years ago

The design patterns of the colour and icon options for this component can be found under Banners > Notification in the CJS CPP Design Patterns Sketch file:

https://triadmoj.atlassian.net/wiki/display/CUE/CJS+CPP+content+and+design+patterns