16.0.0
Major/Breaking Changes
CDN Source no longer available
We are no longer automatically uploading our source to a CDN. We used to upload it and have it avaiable for teams. The last source available is https://ir.ebaystatic.com/cr/v/c1/skin/v15.5.1/skin-full.min.css. We are no longer uploading this.
However, the script to generate these CDN files is still available and can be used to generate custom bundles.
New Icons and Old Icons Deprecation
All icons have been completely renamed and changed. If you are using Skin directly in your application, you will need to swap the old (removed icons) with the new icons with new names. You will also need to update your classes to reflect this. In the future we are planning on removing all icon specific classes and adding generic size classes.
Please refer to these spreadsheets to find the new icons that map to your old ones:
Program badge module removed
Program badges have been merged within icons. All old program badges are now called legacy
. For example program-badge-authenticity-guarantee
is now called legacy-authenticity-guarantee-48-colored
. We have new program badges which are part of the icon set. Please see the Web Skin Icon Mapping
file above for the renames.
Page Grid breaking changes
- Page width styles were moved from page-grid (inner element) to
page-grid-container
. This makespage-grid
responsibly solely for the grid whilepage-grid-container
handles the width. - Multiple
css
properties were renamed for simplification:
--page-grid-gutter-width-small
and--page-grid-gutter-width-large
were simplified into a single property,--page-grid-outside-margins
removing the size distinctions and allowing the sizing to be determined through media queries instead.--page-grid-col-width-small
and--page-grid-col-width-large
were simplified into a single property of--page-grid-column-widths
removing the size distinctions and allowing the sizing to be determined through media queries instead.
New Features
Calendar & Date Textbox component
We have pulled the date textbox and calendar modules into skin
. The calendar module may be used as a static display or as an interactive and/or navigable component, and the date textbox provides built-in styles for using the calendar as a date input.
Date Textbox
Calendar
New Icon Artboards
New icons were introduced in a previous release. In this major release, we added a few more icons and adjusted others.
Of noteworthy significance is that most of the new icons automatically include white space designed to provide better alignments with text and each other while the old icons were trimmed to include only the graphic. This means that in some circumstances, after this change you may have spacing issues in your application and may need to either remove your explicit spacing styling or add positive/negative margins to accommodate the particular spacing for those icons.
Page Grid
We have added new layouts for page grid. There are many more css properties were created/exposed to allow for better flexibility allowing teams to override various items as their needs require it. The full list of css properties available are as follows:
CSS Property | Description |
---|---|
--page-grid-number-cols | The number of columns - default 8 or 16. |
--page-grid-column-gaps | The gaps between columns AKA horizontal gutters. |
--page-grid-row-gaps | The gaps between rows AKA vertical gutters. |
--page-grid-outside-margins | The outer left/right spacing around the grid container. |
--page-grid-column-widths | The column widths that are typically calculated using the column widths and column gaps. |
--page-grid-max-width | The maximum width the page is allowed to expand before stopping (exclusive of outside margins) |
Though at times, various use cases may call for it, developer should be very careful overriding these as it can have detrimental effects.
Page grid example
What's Changed
- feat(date-picker): add date picker to skin by @LuLaValva in #1907
- feat: changed docs to use new icons and removed old icons by @agliga in #2006
- fix(filter-menu-button, filter-button): improve container contrast by @saiponnada in #2014
- fix(buttons): primary button progress spinners to match DS @ArtBlue in #2015
- feat: added program badge icons by @agliga in #2013
- chore(icons): renamed icons and changed refs by @agliga in #2018
- feat(page-grid): upgraded component by @ArtBlue in #2011
- feat(calendar): clipped text for static calendars by @LuLaValva in #2019
- docs(calendar): some mild re-jigging of wording and examples by @ianmcburnie in #2024
- feat(date-textbox): add spacing between textboxes by @LuLaValva in #2026
- feat: remove CDN by @agliga in #2025
- v16.0.0 Release by @ArtBlue in #2022