SITE IA/ENHANCEMENTS
- New and improved Messaging Guidelines
Release 2.2.1 - January 9, 2017
NEW COMPONENTS AND VARIANTS
The following components are now available:
- Added a toast for small columns - Small Column Toast
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 Global Navigation Tab bar (Workspace Tabs) - Global Navigation Tab bar
- Added Checkbox Add Button - Checkbox Add Button
- Added Button Group List - Button Group List - the new recommended way to mark up button groups.
- Added Rich Text Editor - Rich Text Editor
- Added Global Header Notifications - Global Header Notifications
- Added Popover Header - Popover Header
- Added Popover Footer - Popover Footer
- Added Progress Indicator - Progress Indicator
- Added Walkthrough Popovers - Walkthrough Popovers
- Added Walkthrough Header - Walkthrough Header
- Added Success Button - Success Button
- Added Sub Tabs - Sub Tabs
- Added Dynamic Lists Dropdown - Dynamic Lists
ADDED
The following classes are now available:
- Added
slds-float--none
utility - Utilities › Floats › Float None - Added
slds-button--icon-container-more
modifier - Button Icons › Button Icon with Dropdown - Added
slds-button--icon-more-filled
for more buttons that require a background. - Added
slds-text-color--inverse
utility - Utilities › Text › Color - Added
slds-text-color--inverse-weak
utility - Utilities › Text › Color - Added
slds-is-absolute
utility for overriding a components default positioning - Utilities › Position › Absolute - Added addtional spacing support for normalizing padding on a grid region
- Added
slds-border--bottom
utility Utilities › Borders › Border Bottom - Added
slds-border--left
utility Utilities › Borders › Border Left - Added
slds-border--right
utility Utilities › Borders › Border Right - Added
slds-border--top
utility Utilities › Borders › Border Top - Added
slds-box--xx-small
utility Utilities › Themes › Box - Added support for dark backgrounds on
slds-dropdown
by adding modifierslds-dropdown--inverse
- Added support for narrow region on feeds.
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
- Docked Utility Panel - Docked Utility Panel
- Docked Composer Panel - Docked Composer Panel
- 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:
- Process › Wizard - Please use the new Progress Indicator instead Progress Indicator
REMOVED
The following features are being removed in this release:
$css-prefix
is no longer available to change the prefix ofslds-
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 token:
- Added
force-base/text-transform.json
- Added token:
TEXT_TRANSFORM
- Added token:
- 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 ofmix-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:
- App Launcher - App Launcher Component
- Global Navigation - Standard context bar - Global Navigation Component
- Global Header - Global Header Component
- Docked Utility Bar - Docked Utility Bar Component
- Filtering panel - Filtering Panel Component
- Files - File Components
- File selector - File Selector
- Feed v2 - Feeds Component
- Indeterminate checkbox - Indeterminate checkbox component
- Button Icon Inverse - Bordered - Button Icon Inverse with Border
- Button Icon Inverse - Hint Hover - Button Icon with Hint Hover
- Button Icon Error - Button Icon Error
- Image Cards - Figure Card Component
- Image Ratios - Figure Ratio Component
- Vertical Navigation color variation - Vertical Navigation
ADDED
The following classes are now available:
- Text color helpers - Utilities › Text › Color
- Text title utility -
.slds-text-title
- Utilities › Text › Text Title - Text link utility - Made text inside of
.slds-text-link--reset
appear as a link - Utilities › Interactions › Text Link - Truncation containers Utilities › Truncation
- Absolute sizes utility classes:
.slds-size--xx-small
,.slds-size--x-small
,.slds-size--medium
,.slds-size--large
,.slds-size--x-large
,.slds-size--xx-large
and their responsive equivalents - in Utilities › Sizing - Hyphenation utility for non-truncated headings in narrow containers - Utilities › Hyphenation
- Position utilities - Utilities › Position
- Table column borders - Added vertical column borders on a table by applying
.slds-table--col-bordered
- Name/Value pair lists - 3 variations - horizontal, inline and stacked - Utilities › Lists › Name Value Pair
- Generated grid column spans 1, 2, 3, 4, 5, 6, 7, 8, and 12 for all breakpoints
- Added archives for previous versions of the site for customers that can't upgrade yet. These site archives are currently available at the bottom of the Downloads page
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
- Added
- 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 atabindex="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
andaria-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>
- Added landmark
- 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
- Moved
- 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 ofaria-checked
instead ofaria-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"
- Removed of
- 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:
- Feeds v1 - Design has changed to v2 - Feeds v2 Component
- Text heading label utility - Use Text title utilities instead - Utilities › Text › Text Title
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>
- Card semantically changed to an
- 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 removedaria-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 whenslds-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:
- Checkbox Toggle - Checkbox toggle component
- Checkbox Alternate - Checkbox alternate component
- Card - Related list with tiles - Related list card with tiles component
- Data Table - Basic and Advanced - Data table component
- Detail Panel with Inline Edit Form - Detail panel component
- Docked Composer - Voice Integration - Voice docked composer component
- Modal with no header and/or no footer - Modal component
- Lookups spec updated - Single and Polymorphic - Lookup component
- Page headers spec updated - Page Header component
- Vertical Navigation for in-page navigation - Vertical navigation component
- Radio Group Alternate - Radio group alternate component
- Tree Grid - Tree grid component
ADDED
The following classes are now available:
- Alignment utility - Absolute Center - Alignment - Absolute center utility
- Interaction utilities - Link reset - Interaction Utilities
- Text Utility - Heading label normal - Heading label normal
- Theme Utility - Light version theme texture - Theme texture
- Position input icons on both sides of the input container - Input
- Position utilities - Relative and Static - Position Utilities
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 ofslds-p-vertical--large
andslds-p-horizontal--x-large
, instead ofslds-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
andaria-describedby
. The redundantslds-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 ofslds-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
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:
- Docked Composer - Docked Composer component
- Picklist Multi Select menu - Picklist Multi Select component
- Fixed text with inputs Input component state
- Inline Level Help - Inline Level Help component
- Sales Path - Sales Path component
- Setup Wizard - Wizard component
- Added an elegant way to add spacing between specific grid items — auto functionality in flexbox. Alignment Item Bump Variant
- Popover color themes added - Popover Theme Variant
- Tree Tree Base Component - Tree was completely rebuilt and is now a new component
Mobile:
- Dialog Menus for small form factor Prompts for Touch
- Action overflow for touch - Action Overflow component
- Added Edit dialog form for touch devices - Edit Dialog for Touch component
- Page Header - Page Header component
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
- 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 singledt
&dd
pairs and replaced withspan
s. - Field-level help popover background color token update - Popover colors
- Switched media queries to use
em
instead ofpx
- 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 and1280px
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
anddd
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.
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
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
anddd
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)
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 singledt
&dd
pairs. Replaced withspan
s. slds-modal-backdrop
andslds-modal-backdrop--open
is deprecated in favor ofslds-backdrop
andslds-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 ofpx
- Updated demo for icons > color and added
slds-text-error
for validation errors
NEW COMPONENTS
- Added initial state of tabs > sales path /components/tabs#sales-path
- Added max-width sizing utilities /components/utilities/sizing
- Added button spacing utilities for stacked and horizontal sets of buttons (both a single class and a wrapper class) /components/buttons#overview
- Added stretched button utilities for full-width buttons on small form factors /components/buttons#overview
- Dialog Menus for small form factor
- Action overflow for touch /components/menus#action-overflow-for-touch
- Added Edit dialog form for touch devices /components/forms#edit-dialog-for-touch
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
andslds-modal-backdrop--open
deprecated in version 0.12.0, useslds-backdrop
andslds-backdrop--open
instead- Descendant selectors on tabs were changed to BEM syntax
slds-tabs--default > slds-tabs__item
deprecated in version 0.12.0, useslds-tabs--default__item
insteadslds-tabs--default > slds-tabs__content
deprecated in version 0.12.0, useslds-tabs--default__content
insteadslds-tabs--default > a
deprecated in version 0.12.0, useslds-tabs--default__link
insteadslds-tabs--scoped > slds-tabs__item
deprecated in version 0.12.0, useslds-tabs--scoped__item
insteadslds-tabs--scoped > slds-tabs__content
deprecated in version 0.12.0, useslds-tabs--scoped__content
insteadslds-tabs--scoped > a
deprecated in version 0.12.0, useslds-tabs--scoped__link
instead
- Decendent selector on
.slds-input__icon
fill color deprecated in version 0.12.0, useslds-icon-text-default
(or any icon color class) on the icon in addition to the original class
- 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 thep
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
- Moved tooltips to popovers, deprecated tooltip section /components/popovers#tooltips
- Moved Dropdowns into Menus, deprecated dropdowns sectio /components/menus
- Moved Picklist Dropdown Menu into Menus /components/menus#picklist
- Moved Multi-Select Picklist into Forms /components/forms#multi-select
- Menus component variants are now more explicit
- Dropdown
- Dropdown with Icons
- Dropdown Positioning
- Picklist
- Action Overflow
- Search Overflow
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 todisplay: flex
withjustify-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
- Added notifications > prompt (modal-style alert) /components/notifications#prompt
- Added Preview Panel Popovers /components/popovers#panels
- More directional support for popover nubbins /components/popovers#nubbins
- Updated Icons to version 3.2.0
- Dropdown menus now have bottom positioning support, with accommodating nubbin support /components/menus#dropdown-positioning
- Added Google Analytics
- 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
- 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 ana
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
- Full-width button variant for small form factors
- Feed and Comment components have been added
- Publisher component has been added
SASS UPDATES
- Abstracted form states into own mixins
- Abstracted feed vertical rule into own mixin
- Fixed issues when installing with npm 3
- Updated Voice and Tone guidelines
- 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
- 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
- Doc changes
- Internal SVG icon helper can use
<use xlink:href="..."></use>
now - Miscellaneous typo fixes
- Fixed issue with npm module dependencies
- Fixes issue that caused deprecated design tokens to display
- 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 conjuction with other frameworks) (
-scoped
)
- CSS files scoped in
- 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
- Getting Started
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
- Can contain one or many pills, used on
-
Data-Tables
- Row Selection (
.slds-is-selected
) and row selection hovers have been fixed
- Row Selection (
-
Tabs
- Updated tabs to have
aria-controls
with the same ID in the tab content container
- Updated tabs to have
-
Tiles > Author and with-icon have empty alt added
-
Datepickers > multi-select and Forms > compound-form have
small
element changed tospan
-
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
toH2
and removedrole="heading"
- Removed all tabindex
- Removed
span#bn_prev-label
andspan#bn_next-label
- Removed
-
Dropdowns > All variants have
aria-haspopup="true"
moved to thebutton
(actionable element) -
Page headers > All variants have
role="banner"
added -
Picklists > Quickfind temporarily removed until DOM is updated
- Text > Faux Links has added cursor:pointer
Lots of bug fixes and TLC.