Skip to content

Latest commit

 

History

History
2099 lines (1540 loc) · 114 KB

RELEASENOTES.LEGACY.md

File metadata and controls

2099 lines (1540 loc) · 114 KB

Release [2.6.2] - June 29, 2018

Fixes

Cards

  • Updated broken links within the Cards docs (7b48637)

Gulp Script Update

  • Fix path to gulp.js to resolve build error in Windows (2a78a47)

Input

  • Updated the Error with Icon example to use the new Error icon (35d90ba)

Margin

  • Added examples of using "none" on margin utilities (a3e9eb9)
  • Updated broken links within the Margin docs (26a5eed)

Release [2.6.1] - May 18, 2018

Fixes

Form Element

  • Removed margin if compound field is found inside of a stacked form (0d3e752)

Grid

  • Adjusted docs to avoid confusion on columns and vertical alignment (1b17639)

Tabs

  • Fixed incorrect link to Vertical Tabs component in Tabs documentation (#548)

Release [2.6.0] - May 4, 2018

May the 4th be with you!

Big Impact

Component Blueprints

  • Renamed our 'Components' to 'Component Blueprints' to create distinction between our SLDS Components and (Lightning Components). We define our 'Component Blueprints' as 'Framework agnostic, accessible HTML and CSS used to create components in conjunction with our implementation guidelines'. For more details, check out the glossary we added to our FAQ page.

Form Layout

  • Merged Form Layout into Form Element (f3c5b48)

Icon

  • Addressed 2 issues with the usage of Warning and Error icons. (cd98ab6)
    1. Research showed that the ban icon best represented an error for our users, so we switched the error and ban icons. The new error icon is the circle with a diagonal slash through it
    2. We also realized that we used the same icon for both error and warning states in many components, so we updated components that were using the warning icon in red as an error state to use the new error icon.

Lookup

  • Deprecated slds-lookup and replaced with slds-combobox and slds-combobox-group (2dbe619)

Walkthrough -> Trial Bar

  • Renamed our Walkthrough component to Trial Bar (fe8cfc1)

New components:

Builder Header

  • Created new Builder Header component (3b6f741)

Illustration

  • Created new component for Empty States and other Illustrations (a1824e0)

Setup Assistant

  • Created new Setup Assistant component (26be78c)

Summary Detail

  • Created new Summary Detail component (245492e)

Welcome Mat

  • Created new Welcome Mat component (5d2d818)

Documentation Updates

Button

  • Updated examples to show disabled states of all variants (013b16d)

Combobox

  • Updated examples and documentation for Base, Autocomplete, Entity Autocomplete, and Grouped comboboxes (6c79edd)
  • Added an example to show listbox styling options (3d4af71)
  • Updated mouse and keyboard interaction documentation (04bde0c)

Dueling Picklist

  • Added an example detailing how to add a group label to a dueling picklist (b5e0083)

Form Element

  • Added an example to show Record Detail (73989b0)

Global Header

  • Updated documentation to show animated examples (399da9c)

Grid

  • Added examples and documentation for slds-col-bump_* classes (a095cba)

Icon

  • Added an example that uses slds-current-color (2ef3489)

Rich Text Editor

  • Updated examples to properly wrap the Rich Text Editor in slds-form-element (b6df0b0)

Features

Button

  • Added slds-button_outline-brand modifier (0dec41e)

Chat

  • Added support for delivery failure and unsupported type messages (14aa268)

Combobox

  • Introduced grouped comboboxes with text and icon variants (6c79edd)

Dueling Picklist

  • Updated docs to add non-reorderable and view mode variants of dueling picklist to be used for multiple selection (c336057)
  • Added slds-is-grabbed class
  • Added slds-dueling-picklist__column_responsive to add responsiveness (4000150)

Global Header

  • Added support for branded skip links (789aa99)

Input

Panel

  • Added docked panel variant (e88713e)

Popover

  • Added warning and error variants (60a628d)

Progress Bar

  • Added an example of descriptive progress bar with label and progress percentage above bar (dbd0db1)

Progress Indicator

  • Added new vertical variant (118b520)
  • Added slds-progress__marker_icon-success to indicate completed stage

Progress Ring

  • Added slds-progress-ring_large modifier to make a 32x32px ring (26be78c)
  • Added slds-progress-ring_active-step modifier to change color of progress ring

Spinner

  • Added new inline spinner variant (c05738f)

Tabs

  • Added new mobile stacked variant (9d7b861)

Text

  • Added new monospace font-family (7a41fd6)

Fixes

Avatar

  • Added text shadow to slds-avatar__initials for better contrast (3f43dfa)
  • Added slds-avatar__initials_inverse for dark text initials on a light background

Button Group

  • Added slds-dropdown_actions to button group overflow dropdown (8ab08fe)

Button Icon

  • Added selected stying to border inverse variant (2624d4f)

Card

  • Added slds-card__footer-action to have footer link take up full width of card (89c6a28)

Chat

  • Changed slds-chat-message__text-sneak-peak to slds-chat-message__text-sneak-peek (cdaabbf)

Checkbox

  • Updated examples to have unique value attributes (cdf72cd)

Compound Form

  • Fixed layout overflow bug (#530)

Data Table

  • Adjusted styling for edited and error cells when row is selected (9ed087a)
  • Updated checkboxes and radio groups in Data Tables to be grouped with a common label by using aria-labelledby and hidden group label in the column header (f8f8801)

Datepicker

  • Prevented error border from applying to nested select component (0fa0165)

Dueling Picklist

  • Updated all examples to include a group label and form-element wrapper (8d1a1b4)

Form Element

  • Added slds-form-element__legend_has-tooltip modifier to allow for tooltip icon next to legend (f3c5b48)

Global Header

Input

  • Removed red box shadow from required inputs in firefox (069a3c8)
  • Used aria-labelledby instead of aria-describedby for associating the prepended and appended fixed text to the input (25d51d7)
  • Reordered slds-input:required styles to prevent overrides (ba3ac5b)
  • Removed pointer event when icon is located on top of an input (84b650b)
  • Added slds-input-has-icon_group-right to fix spacing issues for multiple icons on the right (9bddfde)

Modal

  • Changed width of medium modal to 70% (b2d9e1b)

Path

  • Added focus styling for completed stages (f197b4a)
  • Reordered slds-is-active and slds-is-complete to prevent overrides
  • Added min-width to action button (1b8e6b8)

Radio Group and Radio Button Group

  • Updated examples to have unique value attributes (cdf72cd)

Rich Text Editor

  • Added white background to error message with slds-form-element__help modifier (8033c22)
  • Removed margin-bottom from slds-rich-text-editor__spacing-wrapper and added it to slds-rich-text-editor__select (bf907ed)

Trees

  • Added missing assistive text span for tree branch with metatext (a407e58)

Utilities

Vertical Tabs

  • Removed outline when link has focus (72fcd6f)

Visual Picker

Tokens

Text

  • Changed value of $color-text-success(97d13bb)
  • Changed value of $color-text-link(9bc8b0d)

Release [2.5.4] - April 19, 2018

Fix

  • Reordered Quill styles to apply indentation styles to the Rich Text Editor output class (0bbf51c)

Release [2.5.3] - March 13, 2018

Fix

  • Remove Quill styles from the Rich Text Editor output class to fix properly nested lists (296afb3)

Release [2.5.2] - February 8, 2018

Fix

  • Add warm/cool header contrast tokens (d6515ee)
  • Set background image on Brand Band to not repeat (d843c97)
  • Update bundle script to fix windows npm error (#523)

Release [2.5.1] - January 19, 2018

Fix

  • Backport tokens for Path (1932e76)

Release [2.5.0] - January 9, 2018

Features

General Notes

  • Updated Color guidelines to include Gray palette and Brand Colors
  • Introduced a new documentation style for Badges, Brand Band, Carousel, Chat, Menus, and the Grid utility.

The following components have been updated:

Activity Timeline

  • Updated behavior and styling of activity timeline by adding expandable sections (10cf834)

Brand Band

  • Added Brand Band component

Breadcrumbs

  • Added overflow menu button option for breadcrumbs (a69621c)

Button Icons

  • Added new branding variant

Cards

  • Added variant with Einstein branded header

Carousel

  • Added Carousel component

Chat

  • Added Chat component

Checkbox

  • Added a stacked variant

Data Tables

  • Added icons to data table headers and cells (59c44b2)
  • Added header menu buttons to table headers (33bd050)
  • Added Product Listing example to advanced data tables
  • Added Radio Group example to advanced data tables

Global Header

  • Updated styling to allow for rectangular logos (ea43705)

Grids

  • Added top level gutter classes: slds-gutters and slds-gutters_* for sizes (b6d7fd5)

Icons

  • Added utility class slds-current-color to set an icon to use current color (c9974d1)

Map

  • Added Map component

Menus

  • Added a variant for Menus with Submenus

Notifications

  • Updated multiple styling attributes for reminder notifications, including background color, border color, and spacing (9cbb18a)

Popovers

  • Added variant with Einstein branded header
  • Added variant for Feature callout

Rich Text Editor

  • Moved Quill styles to rich text editor (402845b)

Spinners

  • Added class slds-spinner_delayed to apply a 300ms delay to the animation (fbaa8d4)

Trees

  • Added new ability to include metatext on tree items (754c9fe)

Utilities

  • Added utility class slds-size-xxx-small for sizing (69d0eb2)
  • Added utility class slds-text-color-success for text (e744eb2)

Vertical Navigation

  • Added a variant of vertical nav that uses radio groups as underlying markup

Fixes

The following fixes are now available:

Accordion

  • Adjusted styling to only target first accordion child (9f8f601)
  • Changed accordion focus styling from overall highlight to underline of header text (0658e13)
  • Updated to hide content overflow when closed (7fb7cb0)

App Launcher

  • Added grab styling to match current use in product
  • Changed to Dev Ready from prototype

Button Groups

  • Updated z-index for button group focus (259a6db)

Buttons

  • Stopped events from happening on disabled buttons (e661ee8)

Color Picker

  • Added spacing utility class to dropdown button icon between color and arrow (69839b2)

Combobox

  • Added class slds-combobox__input-value that must be applied, in order to propagate styling, when a selection is made in a single selection inline listbox (1d4e30f)
  • Added spacing utility class to dropdown button icon between icon and arrow (69839b2)

Data Tables

  • Added slds-table_column-*-wrap to add column wrap support (b841961)

Date Picker

  • Fixed background color used when today's date is selected (75f0f6a)

Dueling Picklist

  • Fixed accessibility of disabled list boxes (4ea5889)
  • Renamed Required to Locked, switched to lock icon instead of red asterisk (3556b26)
  • Updated background and border colors of disabled picklist (4ea5889)

Expandable Section

  • Updated to hide content overflow when closed (7fb7cb0)

Global Navigation

  • Changed global nav styling when subtabs are present with slds-has-sub-tabs (d99332b)
  • Prevented icons from shrinking when long text is present (881da86)

Input

  • Updated size of search icon to be 14x14px from 16x16px (add0ba0)
  • Fixed vertical alignment issues when using slds-input__icon (cb3fe60)

Lookups

Menus

  • Fixed disabled menu items to turn disabled icons gray
  • Updated slds-dropdown_xx-small to use correct token (0569d6d)

Modal

  • Fixed modal background color (2f0ad5a)
  • Removed hyphenation from modal body (9f70ae7)

Pills

  • Update icons and improve consistency among pill usage

Popovers

  • Updated background color of Walkthrough popovers (08b2aac)
  • Added clouds to the header (08b2aac)
  • Removed hyphenation from body text (9f70ae7)

Rich Text Editor

  • Fixed issue where selection dropdowns overlapped content on smaller screens (f1a7e8d)
  • Updated to prevent hyperlinks from breaking mid word (4827702)

Tabs

  • Adjusted position of unsaved indicator on a tab when used with notifications (5916f2f)

Trees

  • Added missing ARIA role role=gridcell to tree grid TD elements (f94d3dd)
  • Removed extra indentation spacing for base variant (e64cfc1)

Utilities

  • Added missing BEM syntax to slds-text-link_faux (#505)

Vertical Navigation

  • Changed active and hover background colors (ae7997c)

Tokens

Sizing

  • Added $size-xxx-small sizing token for UI components (69d0eb2)

Release [2.4.6] - November 22, 2017

Fixes

Colors

  • Modified tokens using gray-2 to use gray-3

Release [2.4.5] - November 14, 2017

Fixes

Buttons

  • Remove pointer-events from icons found within buttons

Release [2.4.4] - October 17, 2017

Fixes

Cards

  • Fixed padding-left and padding-right on nested slds-card__header and slds-card__footer with slds-card_boundary

Sizing

  • Fixed known IE11 bug when you have nested flex containers with flex-basis on children

Release [2.4.3] - September 19, 2017

Fixes

Buttons

  • Removed dark border on focus, fixing bug when buttons are found inside of a button group

Checkbox/Radio Button Group

  • Fixed issue when a selection is made then that selection is put into a disabled state

Modal

  • Update background color token to transparent value

Path

  • Use transform to properly align checkmark inside of path element

Release 2.4.1 - September 14, 2017

Big Impact

We've made several enhancements in the Winter ’18 release which might affect your components and pages.

As a designer what do I need to know about the design changes in the Winter ‘18 release?

  • We’ve enhanced font hierarchy to draw attention to what's most important in the moment and improve legibility.
  • We’ve condensed the spacing of content (from 16px to 12px) to allow more information on the page. You’ll especially notice this in the tightening of data tables.
  • We've added layering and a colorful graphics to the layout to create contrast between foreground and background cards. The cards have white backgrounds and drop shadows, while the page background introduces color.
  • The components we’ve updated are cards, avatar, data tables, and page headers.
  • For more detailed information, please visit this Salesforce UX blog post: Evolving the Lightning User Experience

As a developer what do I need to know about the design changes in the Winter ‘18 release?

  • With the changes to the page background color, you may notice some of your custom components are transparent, rendering the text on the dark background. You can fix that easily by adding the class .slds-card to the outer wrapper of your component.
  • If you need default tabs to appear to be in a card, you can place the .slds-tabs_card class on the .slds-tabs_default DOM node. This will give the tabset padding and drop-shadows like a card.
  • When the .slds-card class is used inside .slds-tabs_default, .slds-modal, or another .slds-card, they no longer have the drop-shadow card look. Instead they are simply white. In some situations, you may need to differentiate your card from content around it. You can add the .slds-card_boundary class to the .slds-card for a rounded border.
  • On some pages, you’ll notice the header is attached to a list view. If you have a custom page where you’d like to attach the header to a component below, add the .slds-has-bottom-magnet class to the slds-page-header. Then add .slds-has-top-magnet to the component below. This will visually attach the components to each other.
  • If you have been using SLDS in Visualforce via the <apex:slds /> tag, your Visualforce pages will also inherit the new styling in Winter ’18
  • For more detailed information, please visit this developer blog post: Get your Lightning components ready for Winter ’18

Fixes

Cards

  • Added slds-card_boundary class to provide card-like look when component is inside a tabset

Magnet

  • Force magnet layout by making their properties immutable when using slds-has-top-magnet and slds-has-bottom-magnet

Release 2.4.0 - September 12, 2017

Features

The following are now available:

Badges

  • Added dark blue badge
  • Added white badge with icon and normalized text

Dynamic Menu

  • Removed dynamic lists from combobox component and created new dynamic menu component

Progress Bar

  • Added green variant

Progress Ring

  • Added new Progress Ring component

Scoped Notification

  • Added scoped inline notifications component

Slider

  • Added two spans inside label to give the ability to visually hide one or both

Fixes

The following issues have now been resolved:

Alerts

  • Fixed grammatical errors in alerts documentation (aa8099a)

Button Group

  • Button menu uses filled button icon modifier by default (f9c2168)

Buttons

  • Added pointer-events:none to svg in button (cc9cd5f)

Cards

  • Removed card look when inside of a modal (f58c355)
  • Removed card look when inside of a tabset

Color Picker

  • Added more descriptive assistive text and fixed tabindex on swatches (fc989c1)
  • Added input error state ui and examples (b982bf7)
  • Added focus state to color picker slider thumb (c29d368)

Combobox

  • Added role=none to div that wraps input (e695ae7)
  • Removed title and assistive text from search icon

Date Picker

  • Added styles when adjacent month is selected within a week range (bab8e26)

Dueling Picklist

  • Added documentation on focus management
  • Fixed syntax and grammatical errors in dueling picklist accessibility docs
  • Removed double focus on ul (c231132)

File-selectors

  • Fixed file selector input labelling

Global Navigation

  • Added animation on active and when hovering on a global navigation list item (074771a)

Grids

  • Fix IE sizing issue by adding max-width (00a0e35)

Modals

  • Removed extra .slds-modal__header class from headless modal example

Normalize

  • Removed [hidden] { display: none; } to fix Visual Force charts disappearance when SLDS is added

Notifications

  • Updated assistive text for dismiss notification button and added event type to header and live region (d96535d)
  • Updated styling to add bordercolor and darker drop shadow (f977ee6)

Path

  • Simplified and fix active tab focus styling across all stage states (3f9fbd4)

Responsive Tables

  • Examples for using responsive tables can now be found on the site again (d427148)

Tokens

Colors

  • Reduced and updated gray palettes to 12 total (ff582b0)

Design Changes

Cards

  • Background color changed to white
  • Added drop shadow for improved depth and heirarchy
  • Cards found inside of a tabset have their drop shadow removed

Data Tables

  • Decreased row height for improved content density

Split View

  • Changed color of background

Static/Read Only Inputs

  • Updated font size, weight, and color (ce7b275)

Default Tabs

  • Tabs take on the look and feel of a card

Release 2.3.1 - May 25, 2017

Big Impact

BEM naming change

Initially we used the double dash style for BEM notation (--). Due to the fact that double dashes are problematic in an XML environment (which doesn't allow double dashes within comments), we have upgraded our syntax to use the single underscore style (_). This change is backward compatible for 18 months. But all components going forward are built with the single underscore BEM style.

Fixes

The following issues have now been resolved:

  • Removed dotted underline for abbr that Chrome introduced in version 58
  • Fix issue on Spinner component where Firefox and IE11 wouldn't respect its z-index token
  • Fix line-height issue on slds-form-element__static when the output was multi-line
  • Fix BEM naming convention on visibility classes - #452

Release 2.3.0 - May 15, 2017

Features

The following are now available:

Accordion

Button

  • Added class slds-is-selected-clicked to handle click event on stateful button - Stateful Button

Combobox

Docked Utility Bar

  • Added two line support for docked utility bar items

Dueling Picklist

Dynamic Icons

  • Added Ellie animated icon
  • Added Equalizer animated icon
  • Added Score animated icon
  • Added Waffle animated icon
  • Added Strength animated icon
  • Added Trend animated icon

Expandable Section

Input

  • Added an example for Search input with loading spinner - Input with spinner
  • Added slds-has-input-focus utility class to provide focus styles on an element

Lookups

  • Uses new combobox HTML

Menus

  • Added slds-dropdown—fluid to adjust the width of a dropdown so it can be fluid to its container
  • Added updated styles for base HTML elements in the Rich Text Editor
  • Added the same updated styles in the output of the Rich Text Editor using the .slds-rich-text-editor__output class
  • Added slds-pill_link to modify pill for when we want the hyperlink to take up 100% of the available pill
  • Added slds-pill__action to the actionable link element inside of slds-pill—link

Path

  • Re-named from Process

Picklist

  • Uses new combobox HTML

Pills

Popover

  • Added slds-popover_walkthrough-alt to modify the background of a walkthrough popover - Walkthrough Popover

Progress Bar

Rich text editor

Spinner

  • Xx-small Spinner variant — Spinner

Split View List

Visual Picker

Vertical Navigation

  • Added Vertical Navigation component — Vertical Navigation
  • Deprecated Navigation component for this improved version

Visibility

  • Improved visibility classes for responsive design — #429 - Thanks @3den!

Fixes

The following issues have now been resolved:

  • Fix for ::-ms-clear to remove native clear button in IE
  • Whenever slds-truncate is used, it is required to be used in conjunction with a [title] attribute
  • The Alert component icon is now contained within slds-icon_container
  • The Button icon component is required to have slds-button—icon applied to the <button /> element. Before, slds-button—icon-inverse, slds-button—icon-container, slds-button—icon-border, slds-button—icon-border-filled, slds-button—icon-border-inverse, slds-button—icon-more, and slds-button—icon-error were used in conjunction with the slds-button classname but we now require slds-button—icon to be a part of this grouping of classnames
  • The Stateful button component is required to have slds-button—stateful applied to the <button /> element
  • The Toast component icon is now contained within slds-icon_container
  • The Page header component "entity" icon is now contained within slds-icon_container
  • The Feeds component "Post" examples have been updated to be contained within the slds-feed list
  • The Compound Form Layout example was updated so each fieldset is correctly using the slds-form-element class and the whole form is now contained in slds-form—compound
  • Unless the HTML output is represented as a list — ul, ol, or dl — all examples were updated to use slds-bottom—[position] instead of slds-has-divider—[position]
  • Whenever slds-dropdown is used, it is required to be contained inside an element that has the classname slds-dropdown-trigger
  • Whenever slds-form—stacked, slds-form—horizontal, and slds-form—compound is used, it is required to be used in conjunction with slds-form
  • Whenever slds-icon-text-default, slds-icon-text-warning, or slds-icon-text-error is used, it is required to be used in conjunction with slds-icon
  • Fixed a bug where the task2 icon corresponding class name was incorrectly named "task-2"
  • Scoped :focus style for data-tables to slds-table
  • Fixed an issue where assistive text in an parent with text-transform: uppercase would get read as full-caps (e.g. "Sorted ascending" in data table headers getting read as
  • Rounded corners have been removed from utility icons so that they no longer clip incorrectly
  • Breadcrumbs now wrap properly
  • Focus state for pills has been moved to the containing element, rather than just the text inside of the pill
  • Updated z-index of Docked Utility Bar to 4 to play nicely with others
  • Prevent docked composer content from collapsing in Safari
  • Updated cursor style for disabled state on radio button groups

Deprecated

The following features are being marked as deprecated in this release and will be removed in three releases:

  • Navigation was removed from site navigation and replaced with improved Vertical Navigation — Vertical Navigation

Design

The following updates have been made to component designs:

  • Touch components have been removed from the site

Dropdown Menus:

  • Sub-headings inside of dropdown menus should now be truncated

Docked Composer:

  • Added focus state around entire composer panel
  • Title inside of composer panel header should truncate instead of wrap to two lines

Feeds:

  • Removed the like count in the bottom right of the Feed post
  • Changed spacing between feed posts from 1.5rem to .75rem
  • Add top border to feed footer on mobile

Files:

  • Added example for no title
  • Added example for loading state
  • Updated location of the files action menu

Popovers

  • Always have a close button icon

Tokens

The following changes have been made to tokens:

  • TASK_2 was renamed into TASK2
  • Standard icon set: Added ENTITLEMENT
  • Standard icon set: Added LIVE_CHAT

s1-base/sizing

  • Removed MAX_HEIGHT_ACTION_OVERFLOW_MENU
  • Removed MAX_WIDTH_ACTION_BAR
  • Removed MAX_WIDTH_ACTION_BAR_ITEM
  • Added UTILITY_BAR_COLOR_BACKGROUND_NOTIFICATION_FOCUS
  • Added VERTICAL_NAVIGATION_COLOR_BACKGROUND_SHADE_ROW_HOVER
  • Added VERTICAL_NAVIGATION_COLOR_BACKGROUND_SHADE_ROW_ACTIVE

Accessibility

The following changes have been made to make our product more accessible:

Activity Timeline

  • Added title attribute to item icons
  • Changed the checkbox markup to match the new, "Explicit Label" markup pattern

App Launcher

  • Changed slds-modal to be a <section /> element
  • Changed slds-modal__header to be a <header /> element
  • Changed the App Tiles icons to match the new Avatar Fallback Entity Initials pattern, adding an <abbr /> tag
  • Removed Assistive Text from Drag Handle image as it's irrelevant to screen reader users
  • Implemented the new Expandable Section pattern to the expanding sections
    • Placed a button element inside the section heading elements
    • Added aria-expanded="true|false" to reflect state
    • Added aria-controls="id_of_expanding_section" to associate the button to the content it controls and gave the content wrapper the same id
  • Added three new states for Accessible Drag and Drop
    • Added in the three missing states, necessary to demonstrate the Assistive Technology implementation for the full Drag and Drop lifecycle. "Grabbed", "Moved in list" and "Dropped"
    • Added a live region to be used to update the user of Assistive Technology, to the current state of the operation
    • Add an additional hidden piece of instructional text, that instructs the user how to perform the operation: "Press space bar to move this app within the list." This is present in the default state.
    • Each focusable tile element, should be aria-describedby="id-of-span-containing-instructional-text"
    • In the grabbed state
      • Remove the instructional text as the user has performed the action, but keep the container
      • Change the content of the live region, to be "{App Name}: current position {x} of 6. Use the up and down arrows to move this app"
    • In the "Moved in List" state, implement the same changes applied to Grabbed but:
      • Update the live region text to be: "{App Name}: new position {x} of 4."
    • In the dropped state
      • Update the live region text to be: "{App Name}: final position {x} of 4."
      • Replace the hidden instructional text to be what it was in the base state

Avatars

  • Added missing title attributes

Button

  • Fixed the color contrast issues on the Success Button

Card

  • Changed slds-card__footer to a <footer /> element
  • Changed Tiles to be a list of slds-tile's

Checkbox Button Group

  • Removed for attributes on wrapping span elements

Date Picker

  • Added role="dialog" to the slds-datepicker
  • Added aria-label to the dialog to describe its purpose
  • Made the first day cell focusable as it is a ARIA grid widget
  • Added aria-multiselectable="true" to the grid to indicate you can selected multiple dates
  • Removed headers attribute from each gridcell
  • Added assistive text for when we mark today's date in the grid. We do this to provide additional meaning since the grey background color is not enough of an indicator to non-sighted users
  • Changed the "Today" option to be a selectable cell, just like any other day in the grid, by removing its <a /> tag

Docked Composer

  • Changed the container element to be a <section role="dialog" />
  • Added aria-describedby="id_of_body_element" to the element that holds the dialog role. Gave the Composer body the same ID
  • Changed the header to be to a <header /> element
  • Removed redundant word "icon" in assistive text for icons in the Overflow Menu items
  • Removed a duplicate role="dialog" attribute from the Popout variant as it created nested dialogs
  • Added a means to tell a Docked Composer is "Minimized" by adding Assistive Text to the header
  • Changed the Composer body and footer to be truly hidden when minimized

Docked Composer - Task

  • Added assistive text to the icons used in the Lookup examples
  • Upgraded the Lookups to ARIA 1.1 Specification
    • See Lookup Notes for details
  • Upgraded listbox markup to include option group headings being accessible, to match Picklist
    • See Lookup Notes for details
  • Fixed Listbox option's markup to not wrap div elements in span elements

Docked Composer - Voice

  • Added aria-live="assertive" to the header for alerting a user of a change in status of a call
  • Changed the Mute button to be an ARIA Toggle Button with aria-pressed="true|false"
  • Made "Recent Activity" on Incoming call example an <h3 />
  • Updated icon assistive text for icons in the Incoming Call example
  • Added assistive text to the icons used in the Lookup examples on Log a Call
  • Upgraded the Lookups to ARIA 1.1 Specification
    • See Lookup Notes for details
  • Upgraded listbox markup to include option group headings being accessible, to match Picklist
    • See Lookup Notes for details
  • Fixed Listbox option's markup to not wrap div elements in span elements

Docked Form Footer

  • Fixed button text on "with errors" state from "Settings" to "Review the Following Errors"

Docked Utility Bar

  • Removed invalid role of footer from the <footer /> element
  • Implemented the ARIA Toggle Button pattern using aria-pressed="true|false" on buttons. Provides indication of an active or open utility panel

Docked Utility Panel

  • Changed the container element to be a <section role="dialog" />
  • Changed the header to be to a <header /> element
  • Made sure the content of a minimized Panel is not focusable by removing it from the DOM completely

Expandable Section

  • Added aria-controls to the <button /> element that performs the action
  • Added aria-expanded="true|false" to the <button /> element that performs the action
  • Added aria-hidden="true|false" to the slds-section__content wrapper
  • Added an ID to slds-section__content which the <button /> uses as its aria-controls value

Feeds

  • Changed "Like" buttons to be <button /> elements
  • Changed "Like" buttons to be ARIA Toggle Buttons with aria-pressed="true|false"
  • Changed "More Comments" button to be a <button /> element
  • Changed "Share" buttons to be <button /> elements

Form Layout

  • Updated Checkbox and Radio Buttons to match newer "Explicit Label" pattern

Global Header

  • Added aria-label to the Notifications dialog
  • Added aria-describedby to the Notifications dialog
  • Upgrade the ARIA Combobox markup to ARIA 1.1 Specification
    • See Lookup Notes for details
  • Upgraded listbox markup to include option group headings being accessible, to match Picklist
    • See Lookup Notes for details
  • Fixed Listbox option's markup to not wrap div elements in span elements
  • Fixed Favorites Button to communicate pressed state by Implementing the ARIA Toggle Button pattern using aria-pressed

Global Navigation

  • Changed the App Launcher link to be a <button /> as it launches a Modal
  • Fixed a malformed title attribute of the App Name
  • Fixed the title attribute of the Object Switcher link to match visual text
  • Fixed the title attribute of the Object Switcher Menu Button

Global Navigation - Navigation Bar

  • Fixed Menu item title attributes
  • Removed aria-haspopup=true from dropdown li.
  • Removed tabindex="0" from slds-context-bar__icon-action.
  • Removed tabindex="-1" from slds-context-bar__icon-action's button.
  • Added aria-haspopup="true" to slds-context-bar__icon-action's button.
  • Added assistive text to active item for Current page.

Global Navigation - Tab Bar

  • Fixed title attribute on the Split View Toggle Button
  • Removed aria-haspopup from Split View Toggle Button
  • Implemented a simple Expanding Section ARIA pattern on the Split View Toggle button
    • Added `aria-expanded="true|false" to reflect state
    • Added aria-controls="id_of_expanding_section" to associate the button to the content it controls
  • Added aria-controls to each role="tab"
  • Created a tabpanel for each tab
    • Added a unique ID to each which matches corresponding aria-controls attribute
    • Added aria-labelledby to each which matches corresponding tab ID
  • Updated the "New Tab" button text to match its function
  • Updated the "New Tab" button title attribute
  • Removed aria-haspopup attribute from "New Tab" button
  • Added aria-label to the New Tab dialog
  • Removed focusable hidden remove buttons in Pinned Tabs

Input - Field Level Help

  • Moved aria-describedby from the input to the Tooltip Trigger <button />
  • Removed aria-live from the Tooltip

List Builder

  • Changed the role="dialog" element to be a <section />
  • Changed slds-modal__header to be a <header /> element
  • Changed slds-modal__footer to be a <footer /> element
  • Replaced selected Pills to be the new Listbox of Pills component
  • Updated Lookup mark-up to match new structure. See Lookup notes

Lookup

  • Upgrade the ARIA Combobox markup to ARIA 1.1 Specification
    • Moved role="combobox" attribute from the input element to slds-lookup root element
    • Moved aria-expanded="true|false" attribute from the input element to slds-lookup root element
    • Added aria-haspopup="listbox" attribute to slds-lookup root element
    • Added autocomplete="off" to the input element
    • Added aria-controls="" to the input element which points to the ID of the listbox
    • Added role="textbox" to the input element
    • Removed aria-owns attribute from the input element as the listbox is not a child of the combobox role
    • Changed type attribute on the input element to be text
  • Upgraded listbox markup to include option group headings being accessible, to match Picklist
    • Moved role="listbox" attribute from the ul element to the slds-lookup__menu root element
    • When a listbox has option groups (a slds-lookup__item_label)
      • ul element has role="group" with an aria-label of the same text as the slds-lookup__item_label text
      • slds-lookup__item_label, becomes a presentational list item by placing it inside an li[role="presentation"] and being a child of the ul, as the aria-label on the group replaces its function
    • When a listbox has no option groups (no slds-lookup__item_label)
      • ul element has role="presentation" and no aria-label
  • Fixed Listbox option's markup to not wrap div elements in span elements

Menus

  • Added aria-checked to Menu items with role="menuitemcheckbox" in all cases. Shouldn't just be added when true, setting false is important to communicate

Modals

  • Added aria-describedby to the slds-modal element. This points to ID of slds-modal__content
  • Added aria-label to Header Empty example, in the absence of a header with a heading tag

Panels - Details

  • Updated the checkbox mark-up to be the new "explicit label" version
  • Added aria-haspopup="true" to "More Actions" button in the Panel header
  • Changed "Follow up on '15 contact" to be an <h2 /> element
  • Changed the list of fields to be a list <ul />
  • Switched the DOM order of the field and edit pencil, so the edit action comes after the field

Panels - Filtering

  • Changed the footer actions to be <button /> elements instead of links
  • Changed "Matching all these filters" to a heading for better hierarchy
  • Changed the filters to be <button /> elements instead of links.
  • Locked filters are now disabled, which is possible with the change in element used, to be a <button />
  • Each filter button now includes additional assistive text to better describe the action: "Edit filter: "
  • Improved repetitive button text for the remove filter buttons. Now follows the format of "Remove Filter: ${name_of_filter}" instead of just "Remove"
  • Panel error message converted from aria-live to be role="alert", which is implicitly "live"
  • Inline error messages are now associated to the invalid filter button with aria-describedby being placed on the offending button

Path

  • Fixed focus so that only one stage is focusable at a time
  • Fixed focus styling on stages
  • Removed aria-live from stages
  • Added non-visual indicator of "Current Stage" by adding "Current Stage:" assistive text
  • Updated semantics when no coaching available
    • Swapped tabset to listbox
    • Swapped tab to option
    • Added aria-orientation="horizontal"
  • Update aria-controls on each tab to match a unique ID
  • Updates to expandable coaching tab panels
    • Update button text on coaching expand/collapse toggle button so it's clear
    • Add aria-expanded="false" by default to the slds-tabs_path__link which have role="tab"
    • When the tabpanel is expanded, aria-expanded="true" is set on the currently selected tab
  • Change the "edit" link to be a <button /> in the coaching panels

Picklist

  • Upgrade the ARIA Combobox markup to ARIA 1.1 Specification
    • Moved role="combobox" attribute from the input element to slds-picklist root element
    • Moved aria-expanded="true|false" attribute from the input element to slds-picklist root element
    • Added aria-haspopup="listbox" attribute to slds-picklist root element
    • Added autocomplete="off" to the input element
    • Added aria-controls="" to the input element which points to the ID of the listbox
    • Added role="textbox" to the input element
    • Removed aria-owns attribute from the input element as the listbox is not a child of the combobox role
    • Changed type attribute on the input element to be text
  • Changed the expand trigger button title attribute to match button text
  • Moved the ID from slds-dropdown__list to slds-dropdown with role="listbox"
  • Implemented Listbox of Pills component on Multi Select states

Pills

  • Add title attributes to all icons or avatars in a Pill

Popovers

  • Popovers without headers get aria-label applied to the dialog
  • "Tesla Motors" Panel heading changed to h2
  • Add a close button to all Popovers that don't have any
  • Updated implementation guidelines

Progress Indicator

  • Only apply aria-describedby to markers when a tooltip is shown
  • In the Modal example, DOM order is fixed to follow visual order
  • Updates to slds-progress-bar
    • Added role="progressbar"
    • Added aria-valuemin="0"
    • Added aria-valuemax="100" to essentially make the progress bar a percentage
    • Added aria-valuenow to track current progress

Prompt

  • Added an ID to slds-modal__content for aria-describedby to work on the alertdialog

Publisher

  • Made the "To: My Followers" definition list be part of the comment box label as a string, to create a better label
  • Made the Publisher Actions not focusable when hidden

Select

  • Added missing required attribute to Required and Error states

Tabs

  • Fixed Sub Tabs tabpanels ID typos

Vertical Navigation

  • Now uses a <nav /> element as its parent
  • Added aria-label to the nav element so it's easily identifiable from other navigation regions on the same page
  • Added aria-current="page" to the "active" link

Utilities - List

  • Name Value Pairs changed to definition lists

Release 2.2.2 - March 8th, 2017

ADDED

The following classes are now available:

  • Added slds-table_resizable-cols as a modifier to slds-table. Should be used if your table supports resizable columns.

FIXES

The following issues have now been resolved:

  • slds-table_fixed-layout can now be used with the basic table - #396

February 24, 2017

SITE IA/ENHANCEMENTS

NEW IOS RELEASE (3.0.0)

  • Substantial script rewrite to handle future token changes
  • You can now use design tokens in Swift
  • Updated tokens to Spring ’17
  • See detailed release notes for design-system-ios

February 3, 2017

SITE IA/ENHANCEMENTS

Release 2.2.1 - January 9, 2017

NEW COMPONENTS AND VARIANTS

The following components are now available:

Release 2.2.0 - January 6, 2017

SITE IA/ENHANCEMENTS

The following site enhancements are now available:

NEW COMPONENTS AND VARIANTS

The following components are now available:

ADDED

The following classes are now available:

CHANGES

The following changes have been made in this release:

  • Global actions icon on global header updated to have a background color
  • Changed global header icon's color and size
  • Changed background color of docked panels
  • Cards are now responsive - Cards
  • Improvements made to slds-type-focus utility - Utilities › Interactions
  • Avatars now support initials.
  • Stateful icon buttons are now compatible with slds-button_icon-container
  • Spacing adjustments made to lookup items
  • Spacing adjustments made to feeds

FIXED

The following issues have now been resolved:

  • Accessibility improvement - Picklists changed to a read-only combobox with a listbox.
  • Add collapsable margin to slds-card__body to account for white space when the footer is empty
  • Data Table › Inline edit now has full support
  • Icon inside of an input field now uses the correct token
  • Modal content properly wraps and hyphenates longform text
  • Fixed flex issue on docked composer that made popout example stretch the height of the viewport

DEPRECATED

The following features are being marked as deprecated in this release and will be removed in three releases:

REMOVED

The following features are being removed in this release:

  • $css-prefix is no longer available to change the prefix of slds- class names to something of your choice. As an alternative, please use this PostCSS plugin to customize class name prefixes: postcss-slds-prefix.
  • Removed custom styled scrollbar mixin from slds--scrollable- helpers
  • Deleted legacy font-files for older, unsupported browsers (*.eot, *.svg)

TOKENS

Tokens are now part of the Lightning Design System.

Token files previously available from the @salesforce-ux/design-tokens npm package are now available in design-tokens/dist in the @salesforce-ux/design-system package (the same applies for the zip download).

The following tokens have been add/removed/deprecated in this release:

  • Added force-base/fill.json
    • Added token: FILL_HEADER_BUTTON
    • Added token: FILL_HEADER_BUTTON_HOVER
  • Added force-base/text-transform.json
    • Added token: TEXT_TRANSFORM
  • Added token: FONT_FAMILY_TEXT
  • Added token: FONT_FAMILY_HEADING
  • Added token: Z_INDEX_STICKY
  • Added token: FONT_FAMILY_TEXT
  • Added token: FONT_FAMILY_HEADING
  • Added token: PROGRESS_COLOR_BACKGROUND
  • Added token: PROGRESS_COLOR_BACKGROUND_SHADE
  • Added token: PROGRESS_COLOR_BORDER
  • Added token: PROGRESS_COLOR_BORDER_SHADE
  • Added token: PROGRESS_COLOR_BORDER_HOVER
  • Added token: PROGRESS_COLOR_BORDER_ACTIVE
  • Added token: PROGRESS_BAR_HEIGHT
  • Added token: PROGRESS_BAR_COLOR_BACKGROUND
  • Added token: PROGRESS_BAR_COLOR_BACKGROUND_FILL
  • Added token: COLOR_STROKE_BRAND
  • Added token: COLOR_STROKE_BRAND_HOVER
  • Added token: COLOR_STROKE_BRAND_ACTIVE
  • Added token: COLOR_STROKE_DISABLED
  • Added token: COLOR_STROKE_HEADER_BUTTON
  • Added token: FILL_BRAND
  • Added token: FILL_BRAND_HOVER
  • Added token: FILL_BRAND_ACTIVE
  • Added token: BORDER_STROKE_WIDTH_THIN
  • Added token: BORDER_STROKE_WIDTH_THICK
  • Added token: COLOR_BACKGROUND_BUTTON_SUCCESS
  • Added token: COLOR_BACKGROUND_BUTTON_SUCCESS_HOVER
  • Added token: COLOR_BACKGROUND_BUTTON_SUCCESS_ACTIVE
  • Added token: COLOR_TEXT_SUCCESS_INVERSE
  • Added token: CUSTOM_101
  • Added token: CUSTOM_102
  • Added token: CUSTOM_103
  • Added token: CUSTOM_104
  • Added token: CUSTOM_105
  • Added token: CUSTOM_106
  • Added token: CUSTOM_107
  • Added token: CUSTOM_108
  • Added token: CUSTOM_109
  • Added token: CUSTOM_110
  • Added token: CUSTOM_111
  • Added token: CUSTOM_112
  • Added token: CUSTOM_113
  • Added token: CUSTOM_NOTIFICATION
  • Added token: DATADOTCOM
  • Added token: RTC_PRESENCE
  • Added token: PRODUCT_CONSUMED
  • Added token: PRODUCT_TRANSFER
  • Added token: PRODUCT_ITEM
  • Added token: PRODUCT_ITEM_TRANSACTION
  • Added token: LOCATION
  • Added token: ADDRESS
  • Added token: CAROUSEL
  • Added token: ASSIGNED_RESOURCE
  • Added token: OPERATING_HOURS
  • Added token: PRODUCT_REQUIRED
  • Added token: RESOURCE_ABSENCE
  • Added token: RESOURCE_CAPACITY
  • Added token: RESOURCE_PREFERENCE
  • Added token: RESOURCE_SKILL
  • Added token: SERVICE_TERRITORY_MEMBER
  • Added token: SERVICE_APPOINTMENT
  • Added token: SERVICE_REPORT
  • Added token: SERVICE_RESOURCE
  • Added token: SERVICE_TERRITORY
  • Added token: SKILL
  • Added token: SKILL_REQUIREMENT
  • Added token: TIMESLOT
  • Added token: WORK_TYPE
  • Added alias: SANS_SERIF
  • Added alias: MALIBU
  • Added alias: SANS_SERIF
  • Added alias: EBONY_CLAY
  • Added alias: OXFORD_BLUE
  • Added alias: RIVER_BED
  • Deprecated FONT_FAMILY

Release 2.1.4 - November 7, 2016

FIXED

The following issues have now been resolved:

  • Title attributes were added to all button icons and truncated text for accessibility
  • Added line-height fix for .slds-button—icon-border-inverse
  • Amended .slds-button_icon documentation
  • Removed unnecessary .slds-not-selected class from stateful .slds-button_icon markup and adjusted documentation

Release 2.1.3 - September 21, 2016

FIXED

The following issues have now been resolved:

  • Included the logo SVG asset used in the Global header
  • Use @support for progressive enhancement of mix-blend-mode for active/hover states in Global Navigation
  • Removed the demo style .slds-text-align_center from .slds-card__body

DEPRECATED

Customizing the CSS class names by customizing $css-prefix is deprecated and will be removed in version 2.2. As an alternative, please use this PostCSS plugin to customize class name prefixes: postcss-slds-prefix.

Release 2.1.2 - September 6, 2016

SITE IA/ENHANCEMENTS

The following site enhancements are now available:

  • Moved Archives section up on Downloads page, and added a link to the section on the homepage, for better visibility.
  • New Checkbox Toggle guidelines under Data Entry section.
  • New "Touch" section under "Components", where you’ll find patterns especially optimized for touch
  • Link to Styling with Design Tokens on the platform added on Design Tokens, Lightning Components, and Downloads pages.
  • Button Icon component has been moved out of Buttons and into its own category Button Icon
  • Picklist component has been moved out of Menus and into its own category Picklist

NEW COMPONENTS AND VARIANTS

The following components are now available:

ADDED

The following classes are now available:

CHANGES

The following changes have been made in this release:

  • Docked Form Footer popover tooltip naming changed to popover.
  • CSS Scoping Tool is now only necessary when building components to be included in Visualforce
  • Using SLDS in Lightning has been updated to include information about Lightning Out, Lightning Components for Visualforce, and Lightning Applications.
  • Nubbins on Popovers have been moved .5rem/8px closer to the respective edge of the popover to match the spec
  • Pills have been updated with a more accessible DOM. They are no longer made from an anchor, but instead contain the anchor. Documentation is updated. (Old pills will not break)
  • Checkbox Toggle has an updated design with the ability to add custom words below the toggle
  • Checkbox and Radios have been updated with a new, more accessible than ever DOM structure. (Your old DOM will not break.)
  • Brightened yellow background on mark element.
  • Text selected with your mouse is light blue.
  • Renamed "slide-out" panel to "details" - Detail Panel Component
  • Renamed "Base" data table to "Basic" data table - Data Table Component
  • Abstracted complex data table features into a variant named "Advanced" data table - Data Table Component
  • Improvements made to .slds-text-link_reset - Utilities › Interactions › Text Link Reset
  • Removed light font-weight from the text utility .slds-text-heading_small - Utilities › Text › Text Heading Small
  • Removed position: relative from .slds-grid
  • Feeds are now responsive
  • Added close button to error popover so a screen reader can access popover
  • Added animated waffle icon to Global Navigation Global Navigation
  • Feeds:
    • Changed post's comment metric labels to lowercase
    • Added hint-hover to post's comment action overflow icon
    • Changed post's comment "link" text to use .slds-color-link_weak
    • Removed dotted line separator from post's attachment payload
    • Moved URL of post's attachment to the bottom of the content ordering
    • Removed truncation from preamble
    • Reduced white space between feed items
  • Updated Activity Timeline Email example to show the to and from with truncation

FIXED

The following issues have now been resolved:

  • Recorded home vertical accessibility fixes
    • Added aria-haspopup="true" to action overflow buttons
    • Added assistive text for icon
    • Removed unnecessary aria roles from action overflow buttons
    • Improved assistive text verbiage
    • Made multiple value field entirely clickable to invoke dropdown
  • Global header accessibility fixes
    • Modified tab order of global header actions
    • Added title attribute to global header actions
    • Changed avatar wrapper from anchor to a button
    • Allowed .slds-assistive-text to become visible on focus if .slds-assistive-text_focus is used
    • Added aria roles to global search input
    • Changed global search listbox options to be non-actionable
    • Moved "click enter to search" and "go to" options back into <ul> so they can be discovered by screen readers
    • Added .slds-has-focus to apply focus state on listbox options when keyboard interactions are used
    • Moved clear button to the right of the input to visually match tab order
  • Lookup/Global Header Search accessibility fixes
    • Improved semantics of dropdown menus
    • Applied role=separator to dropdown menu list items that do not have an actionable element
    • Applied role=presentation to dropdown menu list items
    • Changed <p> wrapping dropdown menu items text to <span>
    • Dropdown menu items have a default tabindex="-1", tab focused items changed to a tabindex="0"
  • Utility bar accessibility fixes
    • Added landmark role="footer" to utility bar
    • Added aria-label="Utility Bar" description to utility bar
    • Added hidden heading to utility bar
    • Added aria role=dialog and aria-labelledby to utility bar panel
    • Changed panel header text to be wrapped in a heading with a id to reference the aria-labelledby
    • Placed utility bar buttons inside <ul>
  • Files accessibility fixes
    • Fixed invalid markup by moving button group outside of anchor
    • Image overlay is now enabled by adding an extra html element before the image and adding the class .slds-image_overlay
  • Card accessibility fixes
    • Moved <header> element to only contain the card header text, rather than the text and overflow menu
    • Changed <p> tags with truncation in related list markup to <span> tags
  • Made primary labels of compound fields capital
  • Dropdowns appear on icon focus within Global Navigation
  • Labeled the dialog with the heading of the modal using aria-labelledby="id_of_heading" in the app launcher component
  • Tables accessibility fixes: all tables now use the same truncation method when text is too long in a cell and show the full text when truncated text is hovered
  • Accessibility fixes for list builder
  • Fixed an issue where examples contained the same ID multiple times
  • Feeds accessibility fixes
    • Comments are now list items in an unordered list structure
    • The browser shows a focus ring when avatars are focused
  • Accessibility fixes to Menus and Picklist, including Menus used in composite SLDS components
    • Removed of aria-expanded on containers
    • role="presentation" added on list items to remove them from the accessibility tree
    • Corrected use of menuitemcheckbox for selectable menu items, with the use of aria-checked instead of aria-selected
    • Corrected sub heading menus which was split across multiple un-ordered lists
    • Included line separators and sub-heading separators into the accessibility tree with role="separator"
  • Added aria-describedby on textarea element to show error message ID
  • Added aria-live attribute to the stateful icon button
  • Added aria-describedby on select element to show error message ID
  • Added aria-haspopup on Activity Timeline menu buttons, and updated each list item to use an <h3> tag
  • Added hyphenation code to popovers so that long words will break and wrap

DEPRECATED

The following features are being marked as deprecated in this release and will be removed in three releases:

REMOVED

The following features or demos are being removed in this release:

  • Removed inverse and state themes from examples to provide clarity of usage.

Release 2.0.3 - August 1, 2016

FIXED

The following issues have now been resolved:

  • Card a11y fixes
    • Card semantically changed to an article
    • Card header semantically changed to a header
    • Added aria-haspopup="true" to action overflow button since it invokes a dropdown menu
    • Wrapped card header text in an <h2>
  • Fixed label for / textarea id mismatch in form textarea example
  • Fixed modal close button styling so the focus halo no longer overlaps with the modal body
  • Labeled the dialog with the heading of the modal using aria-labelledby="id_of_heading" and removed aria-hidden="false" from modal
  • Added an example usage of slds-table_striped in the basic data table example
  • Reverted modal components for the touch devices to prototype status while a fix for using them in Salesforce1 is found
  • Added a title attribute to the truncation example
  • Changed status of single-line truncation to dev-ready
  • Fixed an issue where <legend> were bold in visual force - Fixes #216
  • Added aria-describedby attribute on Tooltip component trigger

CHANGES

  • The Sass file architecture was reorganized for better maintainability - see commit de2dc7f for a full breakdown of changes

Release 2.0.2 - June 16, 2016

SITE IA/ENHANCEMENTS

  • Revamped "Getting Started" section.
  • Renamed "Design" section to "Guidelines"
  • Moved "Accessibility" and "Voice & Tone" sections to Guidelines

CHANGES

The following changes have been made in this release:

  • Pills now reference a token that allow for consistent heights in all context

FIXED

The following issues have now been resolved:

  • Text inputs are referencing the correct 32px tall token - fixes salesforce-ux#150
  • Resolve issue where <th> stayed white on striped row when slds-table_striped is applied - fixes salesforce-ux#232
  • Toggle checkboxes are now aligned vertically with their label (slds-form-element__label m-bottom--slds-form-element__label slds-m-bottom_none) — Checkbox Toggle variant

REMOVED

The following features are being removed in this release:

  • Removed incorrect spec for lookups with active selection(s)

Release 2.0.1 - June 6, 2016

SITE IA/ENHANCEMENTS

The following site enhancements are now available:

  • Grid system moved to utilities and renamed to "Grid"
  • Media object moved to utilities
  • New states added for button-groups showing overflow dropdown
  • Cards variant navigation has been improved
  • Data table variant navigation has been improved
  • Lookup variant navigation has been improved
  • List variant navigation has been improved

NEW COMPONENTS AND VARIANTS

The following components are now available:

ADDED

The following classes are now available:

CHANGES

The following changes have been made in this release:

  • Overall, things will appear visually tighter
  • Added additional space between buttons in the modal footer
  • Font sizes have been reduced
  • Page Headers are visually smaller
  • Page Header details are now on white and align to the left
  • Modals are visually tighter
  • All buttons are visually smaller
  • Form Elements are visually smaller
  • Activity timeline sizing & spacing is reduced
  • Visual density changes in cards
  • Visual density changes in popovers
  • "View all" links in cards and popover panels are now aligned to the right
  • slds-modal_content should use the additive class of slds-p-vertical_large and slds-p-horizontal_x-large, instead of slds-p-around_medium.
  • Removed first and last cell padding from Data Tables to allow nesting. New class .slds-table_cell-buffer can be added to the table or .slds-cell-buffer_left and .slds-cell-buffer_right for individual cell application.
  • Field level help icon moved to the right of the input label
  • Removed over-reaching a:focus styles due to a recent FFOX visual change
  • Data table sortable headings now have actionable area so they can be focusable
  • Improved interactions for resize element on data tables
  • Docked Composer has improved markup, focusing on semantic structure and identifying the component correctly to Assistive Technology as a labelled dialog.
  • Datepicker has improved markup, focusing on semantic structure and identifying proper aria roles for dates.
  • Resolved semantic bug by making Pill container a <span>. <a> moved inside and adjacent to the close button.
  • Notification Prompt has improved accessibility in better identifying the component to screen readers using aria-role="alertdialog", aria-labelledby and aria-describedby. The redundant slds-modal__close button has also been removed.

FIXED

The following issues have now been resolved:

  • Truncation class is added to headings in the Edit Form for Touch
  • Removed max-height and animation on .slds-section__content to prevent collision with JavaScript implementations
  • Fixed IE11 page header truncation bug

DEPRECATED

The following features are being marked as deprecated in this release and will be removed in three releases:

  • Lookups have been updated. Version 1.0.0 has been deprecated. Will continue to work but please update to new markup - Lookup component
  • Page headers have been updated. Version 1.0.0 has been deprecated. Will continue to work but please update to new markup - Page Header component
  • .slds-toggle-visibility is no longer needed in button-groups. The final button will no longer disappear if it is a button-icon, but instead will gray down like a normal disabled button.
  • .slds-button-space-left is no longer supported. Please use spacing utilities instead.
  • .slds-button_icon-bare is no longer needed. Please use .slds-button_icon instead.
  • .slds-card_empty is no longer needed. Please use .slds-text-align_center utility class instead.
  • .slds-button inside of .slds-is-sortable is no longer needed. The entire cell is hyperlinked now, no need for the button.
  • .slds-form-element__helper is no longer supported.
  • .slds-input__icon no longer supports a color by default. Please use .slds-icon-text-default on the SVG icon instead.
  • .slds-icon__container is no longer supported. Please use .slds-icon_container instead.
  • .slds-icon-custom-XX is no longer supported. Please use .slds-icon-custom-customXX instead.
  • .slds-dropdown_nubbin-top is no longer supported. Please use .slds-nubbin_top instead.
  • .slds-has-icon_left, .slds-has-icon_right, and .slds-has-icon_left-right within dropdowns are no longer needed. Icons can be placed within the flow of a .slds-dropdown__item.
  • .slds-modal-backdrop is no longer supported. Please use .slds-backdrop instead.
  • .slds-notify-container is no longer supported. Please use .slds-notify_container instead.
  • .slds-pill-container and .slds-pill__container are no longer supported. Please use .slds-pill_container instead.
  • .slds-pill__container_bare is no longer supported. Please use .slds-pill_container_bare instead.
  • .slds-tabs__item is no longer supported. Please use specific element selectors instead, such as .slds-tabs_default__item or .slds-tabs_scoped__item.
  • .slds-tooltip and .slds-tooltip__body are no longer supported. Please use .slds-popover and .slds-popover__body instead.
  • .slds-tree-container is no longer supported, please use .slds-tree_container instead.
  • .slds-col-rule_left, .slds-col-rule_right, .slds-col-rule_top, and .slds-col-rule_bottom are no longer supported. Please use .slds-col_rule-left, .slds-col_rule-right, .slds-col_rule-top, and .slds-col_rule-bottom instead.
  • .slds-nowrap_small, .slds-nowrap_medium, and .slds-nowrap_large are no longer supported. Please use .slds-small-nowrap, .slds-medium-nowrap, and .slds-large-nowrap instead.
  • .slds-align-content-center is no longer supported. Please use .slds-align_absolute-center instead.
  • .slds-has-dividers is no longer supported. Please use .slds-has-dividers_{position} instead.
  • .slds-has-divider is no longer supported. Please use .slds-has-divider_{position} instead.
  • .slds-has-cards is no longer supported. Please use .slds-has-divider_around instead.
  • .slds-has-cards_space is no longer supported. Please use .slds-has-divider_around-space instead.
  • .slds-section-title is no longer supported. Please use .slds-section__title instead.
  • .slds-collapsed is no longer supported. Please use .slds-is-collapsed instead.
  • .slds-expanded is no longer supported. Please use .slds-is-expanded instead.
  • The rule that hides the close button in Notification Prompt .slds-modal_prompt .slds-modal__close is no longer needed as the HTML should be removed. Please remove the button from the dialog header.

REMOVED

The following features are being removed in this release:

  • Removed the $static-icon-path configuration variable, since it wasn’t used anywhere in the codebase
  • Removed slds-button_small, since it’s the same as the new default button size
  • Removed slds-input_small, since it’s the same as the new default input size
  • Removed slds-tile__title, since it didn't apply any styles

🗒 Notes About Scoped CSS files, the Unmanaged Package, Visualforce and Lightning Components

The Lightning Design System CSS is now automatically included for Lightning Components running in the Lightning Experience and Salesforce S1 mobile application (via app.css). It is no longer necessary to add a static resource for Lightning Components running within these environments.

Starting in 2.0.x, the Lightning Design System is no longer available as an unmanaged package. Also, the scoped CSS files (salesforce-lightning-design-system-vf.css and salesforce-lightning-design-system-ltng.css) are no longer distributed as part of the Design System zip file (available in the Downloads page). As an alternative, you may now generate your own scoped Design System zip file using the new CSS Scoping Tool and upload it as a static resource as documented on the tool’s page. However, we strongly recommend that you do not install SLDS as a static resource when building for Lightning.

Resources:

Release 1.0.5 - May 26, 2016

  • Adding a background color to icons from the custom set is now done using the slds-icon-custom-customXX class (e.g. slds-icon-custom-custom25), instead of slds-icon-custom-XX (deprecated). This change addresses #203
  • Improved accessibility of the breadcrumbs component
  • The Design System now allows developers to load Salesforce webfonts using their preferred method instead of the default @font-face rules. To disable the default font loading method, set $slds-load-webfonts: false; before importing the Design System Sass file.
  • The project is now compatible with Node.js 6
  • Search! You can now get faster to components and the deepest parts of the documentation using the search field at the top of the navigation

Release 1.0.4 - May 18, 2016

  • Added title attributes to icon containers, noticeably improving accessibility for users of pointing devices such as mice and trackpads
  • Improved the structure of the icon component section, making it easier for you to discover how to decorate your Lightning apps with our beautiful icons
  • Fixed the standard call icon, which gets its fancy yellow background back, instead of a purple one that had been assigned to it for obscure reasons (we’ve put our best designers on the case!)
  • Fixed an issue where npm install would fail on Windows - which is only fair to our developer friends who are on PCs

Release 1.0.3 - April 26, 2016

  • Fixed Sass build issue for npm module

Release 1.0.2 - April 8, 2016

  • Added a link to an archive of v1.0.0, so you can access the documentation and downloads for that previous version
  • Generated the unmanaged package for the 1.0.2 patch release
  • Fixed the application's version number in the Sass configuration

Release 1.0.1 - April 8, 2016

Happy birthday! The Lightning Design System turns 1...

CHANGES

The following changes have been made in this release:

  • Improved accessibility in the record home variant of the page header component (remove multiple <dl> elements, and use a single <ul> instead) - Page Headers

FIXED

The following issues have now been resolved:

  • Use relative paths to point to assets, fixes a bug where running SLDS in certain environments would fail to load assets - Fixes design-system/issues/83
  • Form element breakpoints now fire at small breakpoint rather than large breakpoint - Fixes design-system/162
  • Fixed a bug in the Tree component that occurred in the scoped version of SLDS and prevented nested branches from being properly indented - Fixes design-system/issues/91 and design-system/issues/164
  • Fixed the file naming structure so that standard Sass implementations can watch the entire project and compile the framework correct files on the fly.
  • Fixed a bug where compilation would fail when using Ruby Sass - Fixes design-system/issues/173

Release 1.0.0 - March 2, 2016

SITE IA/ENHANCEMENTS

The following site enhancements are now available:

  • Components and their variants can now be built with states and will show up in the component variant & states navigation on the right, when available
  • Improved Component Overview tables for more narrow readability
  • Improved status labels. Now associated with colors and contain more information
  • Markup and Style guidelines with BEM information - Markup and Style Guidelines
  • Resources Information - Resource Links
  • Updated documentation and accessibility information for tabs - Tabs
  • Improved Grid System documentation - Grid System
  • Copy updates on components to represent Voice & Tone Guidelines

NEW COMPONENTS AND VARIANTS

The following components are now available:

Mobile:

ADDED

The following classes are now available:

  • Added max-width sizing utilities - Max Width sizing
  • Added zero spacing utility classes - Spacing utilities
  • Additional Grid System classes:
    • Added .slds-grid_align-end for horizontal alignment on main grid axis
    • Added .slds-grid_vertical-align-end and .slds-grid_vertical-align-center for vertical alignment on grid cross axis
    • Added .slds-grid_stretch for multi-row vertical stretch support
    • Added .slds-grid_reverse and .slds-grid_vertical-reverse to reverse the direction of the grid
  • Added .slds-text-error for use on icons for validation errors
  • Added color to user selection to force good contrast on dark backgrounds

CHANGES

The following changes have been made in this release:

  • Removed Spinner gifs and refactored as CSS - Spinner component
  • Source order of both Reversed and Double Media Objects changed. They are no longer reordered using flexbox' order property. Media Objects component
  • Activity Timeline reflects Media Object changes. Also removed dl with single dt & dd pairs and replaced with spans.
  • Field-level help popover background color token update - Popover colors
  • Switched media queries to use em instead of px
  • Removed icon color from .slds-input__icon so an icon color class is now additionally required
  • Reordered tokens so large form factor has priority
  • Moved Page Header theme from Utilities to its top-level component category Page Header component
  • Removed .slds-m-top_x-small in the page header and replaced with a new class .slds-page-header__info
  • Vertical spacing adjusted on small viewport for .slds-form_stacked, .slds-form_horizontal and .slds-form_inline
  • Widths of the Grid container change to 480px for small, 768px for medium, 1024px for large and 1280px for x-large.
  • The last element inside .slds-text-longform now retains the bottom margin.

FIXED

The following issues have now been resolved:

  • Fixed #106 Fix for scoping issue with tabs and active state - bug. Increased active tab state specificity
  • Fixed #61 Fixed #51 Updated lists > description horizontal to use flexbox. No class change required. dt and dd can now accept sizing utilities. Change margin to padding
  • Fixed accessibility bug with required form elements
  • Some tokens that were unable to be overridden by not having a !default flag have been resolved
  • Compound fields markup has been updated that was causing display issues Compound Fields
  • Fixed inverse button-group icon bug

DEPRECATED

The following features are being marked as deprecated in this release and will be removed in three releases:

  • Deprecated .slds-card_empty. Use .slds-text-align_center instead. - Card component
  • Deprecated .slds-section-title. Use .slds-section__title instead - Section Title for full details
  • Deprecated .slds-button_icon-bare. Use .slds-button_icon instead - Button Icon
  • Deprecated tabs descendant selectors Tabs component:
    • .slds-tabs_default > slds-tabs__item use .slds-tabs_default__item instead.
    • .slds-tabs_default > slds-tabs__content use .slds-tabs_default__content instead.
    • .slds-tabs_default > a use .slds-tabs_default__link instead.
    • .slds-tabs_scoped > slds-tabs__item use .slds-tabs_scoped__item instead.
    • .slds-tabs_scoped > slds-tabs__content use .slds-tabs_scoped__content instead.
    • .slds-tabs_scoped > a use .slds-tabs_scoped__link instead.
  • Deprecated .slds--tooltip. Use .slds-popover_tooltip instead.
  • Deprecated responsive .slds-nowrap_{size} classes due to inconsistent naming. Use .slds-{size}_nowrap instead.
  • Deprecated .slds-modal-backdrop and .slds-modal-backdrop_open in favor of .slds-backdrop and .slds-backdrop_open to reuse in other components.
  • Deprecated .slds-col-rule_{position} classes due to inconsistent naming. Use .slds-col_rule-{position} instead.

Release 0.12.2 - February 8, 2016

SITE IA

  • Add Getting Started > Markup and Style guidelines with BEM information

CHANGES

  • Copy updates on components to represent Voice & Tone Guidelines
  • Some tokens that were unable to be overridden by not having a !default flag has been resolved
  • Reordered tokens so large form factor has priority
  • Fix for scoping issue with tabs and active state - bug #106
  • Increased active tab state specificity

Release 0.12.1 - December 16, 2015

SITE IA

  • Improve status labels. Now associated with colors and contain more information
  • Improve Component Overview tables for more narrow readability

CHANGES

  • Apply proper accessibility requirements (aria-labelledby) to tabs (fixes salesforce-ux#107). Updated documentation to reflect previous refactoring.
  • Fix for inverse button-group icon bug
  • Make .slds-text-body_small inherit theme color (fixes salesforce-ux#123)
  • Mark all list utilities "dev-ready" - /components/utilities/lists
  • Field-level help popover background color token update
  • Fix truncation on Sales Path (fixes salesforce-ux#135)
  • Fix chevron alignment on Sales Path - /components/tabs#sales-path
  • Updated demo on buttons > neutral icon to demonstrate "mutton" - /components/buttons#neutral-icon
  • Updated lists > description horizontal to use flexbox. No class change required. dt and dd can now accept sizing utilities. Change margin to padding.

NEW COMPONENTS

  • Custom Select container added, normalizes the <select> appearance in various browsers (fixes salesforce-ux#122)

Release 0.12.0 - November 18, 2015

SITE IA

  • Added Resources > Links
  • Changed tabs to use new refactored tab classes (deprecated)

BREAKING CHANGES

  • Removed default horizontal spacing from buttons in favor of new spacing utilities (deprecated, see New Components below).
  • Tabs have been refactored, changing descendent selectors to BEM syntax (deprecated)
  • Changed source order of Media Objects > Reversed and Media Objects > Double (No longer reordering using flexbox order property)
  • Adjusted Activity Timline > Base to reflect Media Object changes. Removed dl with single dt & dd pairs. Replaced with spans.
  • slds-modal-backdrop and slds-modal-backdrop_open is deprecated in favor of slds-backdrop and slds-backdrop_open since it is used in other components.
  • Removed icon color from .slds-input__icon so that an icon color class is required in addition

CHANGES

  • Switched sizing utility media queries to use em instead of px
  • Updated demo for icons > color and added slds-text-error for validation errors

NEW COMPONENTS

DEPRECATED

  • Buttons no longer have default horizontal spacing and require a class or wrapper to provide space
  • Name change: Responsive button changed to Horizontal button
  • slds-modal-backdrop and slds-modal-backdrop_open deprecated in version 0.12.0, use slds-backdrop and slds-backdrop_open instead
  • Descendant selectors on tabs were changed to BEM syntax
    • slds-tabs_default > slds-tabs__item deprecated in version 0.12.0, use slds-tabs_default__item instead
    • slds-tabs_default > slds-tabs__content deprecated in version 0.12.0, use slds-tabs_default__content instead
    • slds-tabs_default > a deprecated in version 0.12.0, use slds-tabs_default__link instead
    • slds-tabs_scoped > slds-tabs__item deprecated in version 0.12.0, use slds-tabs_scoped__item instead
    • slds-tabs_scoped > slds-tabs__content deprecated in version 0.12.0, use slds-tabs_scoped__content instead
    • slds-tabs_scoped > a deprecated in version 0.12.0, use slds-tabs_scoped__link instead
  • Descendant selector on .slds-input__icon fill color deprecated in version 0.12.0, use slds-icon-text-default (or any icon color class) on the icon in addition to the original class

Release 0.11.0 - October 29, 2015

  • Changed notifications > modal to notifications > modal-toast
  • Modals > Taglines no longer has a slds-modal__header p selector. Instead, slds-m-top_x-small is placed on the p itself.
  • Stateful button has a [disabled] state
  • If button-groups need their final down icon to hide when [disabled], the .slds-toggle-visibility should be added to the icon. (This affects all page headers, and cards > base.)
  • Nubbins shadows now have proper light source
  • Removed interactive dropdowns from page header examples
  • Added Google Analytics

SITE IA

BREAKING CHANGES

  • Changed .slds-tooltip to .slds-popover_tooltip, .slds-tooltip will become deprecated (*).
  • Deprecated .slds-has-divider (*), now requires a top or bottom direction appened, e.g. .slds-has-divider_top, .slds-has-divider_bottom
  • Deprecated "Menu with Icons" dropdown variant
    • No longer depends on class names that deal with icon positioning
    • .slds-dropdown__item are set to display: flex with justify-content: space-between by default now. This allows for icon + text to be left aligned and a single icon to be positioned on the same axis to the right hand side. The icon + text that is positioned to the left requires an HTML element, like a <p> with the class .slds-truncate applied.
    • .slds-has-icon, .slds-has-icon_left, .slds-has-icon_right and children classes .slds-icon_left, .slds-icon_right have been deprecated but will persist in code base (*)
    • If user invokes selection on a dropdown item and wants feedback such a a checkmark, that SVG now requires a class of .slds-icon_selected
  • (*) Code is still in codebase but will be deprecated, TBD but preliminary removal of release 0.20.0

NEW COMPONENTS

Release 0.10.2 - October 29, 2015

Release 0.10.1 - October 21, 2015

  • Hot fix for picklist width on datepicker
  • .slds-is-required and .slds-has-error on form elements are now properly scoped within the -vf, -ltng and -scoped compiled css files
  • Font size on datepicker properly displays within scoped compiled css files

Release 0.10.0 - October 20, 2015

  • Changed .slds-button__icon fill colors to use currentColor value to match text color changes
  • Updated .slds-button_icon-* demo and fixed class name typo
  • Added new button variant: .slds-button_destructive
  • Removed max-width (960px) from Modals > Large
  • Added new notification state in modals Notifications > Modal
  • Added .slds-no-flex to SVG in Notifications > Toast (needed for modal application)
  • Changed picklist label and selection list to fixed width. Applied a 5 option max-height with overflow on list.
  • Upgraded @salesforce-ux/design-tokens to 1.3.1
  • @salesforce-ux/design-system package now includes /assets/icons and /assets/images

BREAKING CHANGES

  • Changed .slds-button_icon-border-small to .slds-button_icon-x-small. This aligns with our other icon names which separate sizing from style
  • Brought inverse close icons into alignment with the other icon buttons. Class on .slds-button has an added .slds-button_icon-inverse. The class .slds-button__icon_inverse was removed from the SVG within.

BUG FIXES

  • .slds-button_icon-* can be placed on an a and aligns to the center
  • :hover, :focus state added for .slds-button_icon-bare
  • fixed line-height in .slds-button_icon-border-small and .slds-button_icon-bare
  • Added overflow: auto; to the options container for a Multi Select picklist

NEW COMPONENTS

SASS UPDATES

  • Abstracted form states into own mixins
  • Abstracted feed vertical rule into own mixin

Site Update - October 20, 2015

  • Fixed issues when installing with npm 3
  • Updated Voice and Tone guidelines

Site Update - October 5th, 2015

  • Clicking anchor links will position the anchor on the page a bit lower than the top of the window now
  • Added typography documentation to design section
  • Added examples for a checkbox fieldset and radio fieldset within the horizontal form modifier

Release 0.9.2 - October 5th, 2015

  • Updated package.json to point to README for licensing information
  • Upgrade icons to v3.1.0
  • Updated small input styles
  • Applied styles to fix the height of a select element when used [size] attribute is applied
  • Forced stacking of checkbox and radio elements when inside a horizontal form modifier
  • Updated picklist, font weight on item select, fixed time select dropdown

Site Update - September 25th, 2015

  • Doc changes
  • Internal SVG icon helper can use <use xlink:href="..."></use> now
  • Miscellaneous typo fixes

Release 0.9.1 — September 24th, 2015

  • Fixed issue with npm module dependencies
  • Fixes issue that caused deprecated design tokens to display

Release 0.9.0 — September 9th, 2015

  • Open Sourced: github.com/salesforce-ux/design-system
    • CSS files scoped in .slds have been added/updated for the following:
    • Visualforce (-vf)
    • Lightning Platform (-ltng)
    • General Use (Most likely in conjunction with other frameworks) (-scoped)

Site

  • Content
    • Getting Started
      • Heroku Added
    • Design
      • Overview Added
      • Colour Added
      • Data Entry Added
      • Displaying Data Added
      • Messaging Added
    • Voice & Tone Added
    • Native -> iOS - Use our iOS integration to style your native iOS applications

Components

Many accessibility updates

  • Changed components to dev-ready: Button Groups, Cards, Tiles, Icons

  • Lookups:

    • Accessibility Requirements added
    • Multi-Select Design and Markup updated
    • Multi-Scope Design and Markup updated
    • .slds-lookup__control has been deprecated, now uses .slds-form-element__control
  • Pill Container Added .slds-pill-container

    • Can contain one or many pills, used on .slds-lookup
  • Data-Tables

    • Row Selection (.slds-is-selected) and row selection hovers have been fixed
  • Tabs

    • Updated tabs to have aria-controls with the same ID in the tab content container
  • Tiles > Author and with-icon have empty alt added

  • Datepickers > multi-select and Forms > compound-form have small element changed to span

  • Card > All variants have DOM changed (header, section, footer changed to div)

  • Data-tables > All variants have accessibility upgrades for th role="row"

  • Forms > validation state now has additional errors surfaced for radio and checkbox

  • Datepickers > All variants

    • Removed role="button" aria-labelledby="bn_prev-label"
    • Changed div#month to H2 and removed role="heading"
    • Removed all tabindex
    • Removed span#bn_prev-label and span#bn_next-label
  • Dropdowns > All variants have aria-haspopup="true" moved to the button (actionable element)

  • Page headers > All variants have role="banner" added

  • Picklists > Quickfind temporarily removed until DOM is updated

Utilities

  • Text > Faux Links has added cursor:pointer

Lots of bug fixes and TLC.