2.0 Released

Release 2.0.0

Overview

We are so thrilled to release Cupcake 2.0!

This release represents the culmination of over 15 designers and developers​, 3 years of learning, designing, and implementing best practices for our users.


Highlights


Changelog

This changelog ONLY covers changes and removals. For additions please view the rest of the docs.


Alerts

Style Changes:

Code Changes:


Alert Toast

Style Changes:

Code Changes:


Avatar

Style Changes:

Code Changes:


Badges

Style Changes:

Deprecated:

Code Changes:

Outline badges are available in cupcake-shim.css


Buttons

Style Changes:

Deprecated:

Code Changes:

Note: .c-btn-{color}-outline

Outline buttons are still available but teams should plan to move away from this!


Cards

Style Changes:

Deprecated:

Code Changes:

Card deck and card colors are available in cupcake-shim.css


Checkboxes and Radios

Style Changes:

Deprecated:

Code Changes:

New syntax must follow div > input > label order

<div class="c-checkbox">
 <input type="checkbox">
 <label>Label Unchecked</label>
</div>

Radio/Check sizes and colors are still available but teams should plan to move away from this!


File Upload

Style Changes:

Code Changes:


Style Changes:

Code Changes:


Forms

Style Changes:

Deprecated:

Code Changes:


Grid

Style Changes:

Code Changes:


Style Changes:

Code Changes:


Loaders

Style Changes:

Code Changes:


Media Objects

Style Changes:

Code Changes:


Style Changes:

Deprecated:

Code Changes:

<div class="c-modal-backdrop c-modal-visible">
  <div class="c-modal c-modal-sm">
    <div class="c-modal-content">
      <div class="c-modal-header">
        <h4 class="c-modal-title">Modal header</h4>
        <span id="close" class="c-modal-close"></span>
      </div>
      <div class="c-modal-body"> Modal Body
      </div>
      <div class="c-modal-footer"> Modal Footer
      </div>
    </div>
  </div>
</div>

Pagination

Style Changes:

Deprecated:

Code Changes:


Progress

Deprecated: Removed Completely


Switches

Style Changes:

Deprecated:

Code Changes:

New syntax must follow label > input > span > label order

<label class="c-switch">
  <input type="checkbox">
  <span class="c-switch-handle"></span>
  <label class="c-switch-label"></label>
</label>

Switch colors are still available but teams should plan to move away from this


Table

Style Changes:

Code Changes:


Tabs

Style Changes:

Deprecated:

Code Changes:


Tooltips/Popovers

Deprecated:

Only CSS tooltips remain in the core.

Legacy styles are available in cupcake-shim.css


Typography

Style Changes:

Deprecated:

Code Changes:


Etc.

Icon Sizes: .c-icon-{size}

Space Sizes: .c-p-{size} or .c-m-{size}

Side Nav: original was never really released

Notifications


Back to all release notes