Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 5070a63

Browse files
authored
Merge pull request #17 from salesforce-ux/release-4.0.0
v4.0.0 Summer '18
2 parents 5e122c4 + 8152af6 commit 5070a63

File tree

4 files changed

+158
-13
lines changed

4 files changed

+158
-13
lines changed

README.md

Lines changed: 94 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
<h1 align="center">Lightning Design System UI Kit</h1>
2-
31
<p align="center">
4-
<a href="https://github.com/salesforce-ux/design-system-ui-kit/archive/master.zip"><img src="https://cloud.githubusercontent.com/assets/85783/15560157/af4a1abc-229d-11e6-9a3d-6c3f4b81220b.png" alt="Design System UI Kit" /></a>
5-
<br />
6-
<br />
7-
A <a href="https://www.sketchapp.com/">Sketch</a> file of common design patterns from the <a href="https://www.lightningdesignsystem.com">Lightning Design System</a>.
2+
<a href="https://github.com/salesforce-ux/design-system-ui-kit/archive/master.zip"><img src="https://user-images.githubusercontent.com/1750832/41082861-8013ecba-69e4-11e8-8149-7eaa94825b19.png" alt="Design System UI Kit" /></a>
3+
</p>
84
<br />
5+
<h1 align="center" style="border-bottom:none;">Lightning Design System UI Kit</h1>
6+
<p align="center">
7+
A Sketch document of <a href="https://www.lightningdesignsystem.com">Lightning Design System</a> components.
98
</p>
10-
<h3 align="center"><a href="https://github.com/salesforce-ux/design-system-ui-kit/archive/master.zip">» Download the latest version «</a></h3>
9+
<h3 align="center"><a href="https://github.com/salesforce-ux/design-system-ui-kit/archive/master.zip">» Download the latest version now «</a></h3>
10+
<br />
1111
<br />
12-
13-
[![UI Kit Preview](https://user-images.githubusercontent.com/12544709/34635155-66068cc2-f240-11e7-9043-e6b77b4e5ff4.png)](https://github.com/salesforce-ux/design-system-ui-kit/archive/master.zip)
14-
1512

1613
----
1714

@@ -27,7 +24,86 @@ Download the most recent version of [Sketch](https://www.sketchapp.com/).
2724
2. Find the fonts located in the `/assets/fonts` directory
2825
3. Install the fonts on your system
2926

30-
----
27+
## Getting Started
28+
29+
**Welcome to the Summer ’18 Sketch Library document**
30+
31+
The Salesforce UX team has made quite a few changes to this document since the last release. We made optimizations so you can more efficiently create Salesforce Lightning interfaces. In the instructions below, we’ll cover the basics and some tips for you to get started with this Sketch Library document. You can still use this document just like you have in previous releases, but the Salesforce UX team believes this file is best used as a Sketch Library. What does that mean and why should you use it that way? We’ll answer those questions below.
32+
<br />
33+
<br />
34+
35+
**Why use this file as a Sketch Library?**
36+
37+
Sketch has released a feature that allowed any Sketch file’s symbols to be accessed and used across all of your Sketch documents. They called this feature Sketch Libraries. You can now have all SLDS components available from Sketch’s symbols menu in any file you open. Another powerful feature is that Sketch Libraries will automatically update your designs when the Library is updated. Your designs will never be out of date if they’re linked to this Sketch Library document.
38+
<br />
39+
<br />
40+
41+
**How to use this document as a Sketch Library in two quick steps**
42+
43+
1. **Save this file to your local computer**. To use this as a Sketch Library, first you’ll need to place this document somewhere permanent. Try saving it to, `Users/[YourName]/Documents/SLDS/` .
44+
2. **“Add as Library” in the Sketch menu**. Next you’ll want to open the SLDS Component Library document and select `File > Add as Library` . Boom! Now you’re all set. All SLDS components are available in your Sketch Symbols menu to use in any Sketch document you work in. You can close SLDS Component Library document.
45+
46+
![You can see all of your Sketch Libraries in Sketch > Preferences > Libraries](https://user-images.githubusercontent.com/1750832/41117595-58fd0b30-6a42-11e8-96ab-dc0ad1240a6d.png)
47+
<br />
48+
<br />
49+
50+
**Artboards Everywhere**
51+
52+
Another big change we’ve made with this Sketch Library document is we moved all components to their own artboards. This makes finding the component symbol you want to use a breeze by mapping the lightningdesignsystem.com website’s menu, which you should be familiar with, to match the left hand artboard menu in Sketch.
53+
54+
![lightingdesignsystem.com Menu](https://user-images.githubusercontent.com/1750832/41117594-58d53dbc-6a42-11e8-82d9-7b188bbd2f74.png)
55+
![SLDS Component Library Artboards](https://user-images.githubusercontent.com/1750832/41117593-58b16270-6a42-11e8-9585-372732bfe673.png)
56+
<br />
57+
<br />
58+
59+
**Nested Symbols Galore**
60+
61+
Sketch Symbols allow you to use and reuse a self-contained design element across a Sketch document. Any changes made to a symbol will update across your whole document. It’s really handy! Nested symbols allow for even more customization, without breaking the symbol from its source, by adding symbols in symbols. Nested symbols are used throughout this Sketch file so that you can customize your designs as much as possible without detaching your Symbol.
62+
63+
There is a backlog of SLDS component symbols that are not yet nested, but we’re actively working on getting 100% of symbols in a place where you can customize them without detaching. Once a symbol is detached, then you won’t receive automatic updates when a new SLDS Component Library document is released.
64+
65+
Most nested symbols are denoted in this document’s structure under the folders called “z-embedded”. You should never need to add a symbol from those folders. Please ignore them. They contain symbols that are nested in the parent component symbol.
66+
67+
To see nested symbols in action, add a symbol from the SLDS Component Library to your Sketch document. In Sketch’s right side panel you’ll see all the symbol overrides or customizations you can make to that symbol without having to detach it and keeping the automatic update feature in tact.
68+
69+
![The right side overrides setion in Sketch allows for tab title and state to be customized](https://user-images.githubusercontent.com/1750832/41117591-587bdd58-6a42-11e8-8213-0b0c84f7eb21.png)
70+
![The tab symbol uses nested symbols for Hover, Default and Selected states](https://user-images.githubusercontent.com/1750832/41117592-58941256-6a42-11e8-9be7-d9a8bbe9b339.png)
71+
<br />
72+
<br />
73+
74+
**Color Token Symbols**
75+
76+
Salesforce Lightning Design System uses design tokens as named entities that store visual design attributes. This Sketch document uses color symbols to mimic [Lightning Design System design tokens](https://www.lightningdesignsystem.com/design-tokens/) with color values. This allows the structure of a symbol to use the equivalent of a design token.
77+
78+
In symbols, like icons, that contain solid color backgrounds, you’ll find the background is a mask which reveals the color symbol as if it was a shape fill. This allows us to easily make file-wide changes to colors when new visual styles are introduced in SLDS. Instead of changing fill colors in hundreds of shapes in this document, we can just update a color symbol or point the shape to another color symbol.
79+
<br />
80+
<br />
81+
82+
## How to use the icon symbols
83+
84+
**Across Salesforce, you'll frequently see [Lightning Design System icons](https://www.lightningdesignsystem.com/icons/). We’ve constructed them to be easily used individually and as nested symbols. The steps below cover how to place icon symbols individually.**
85+
86+
1. **Choose an icon type**. SLDS has four types of icons. Utility icons are used for everything except Salesforce object icons. Utility icons are what you’ll want to use 95% of the time. Action icons are primarily used in mobile applications. Custom icons are to be used for custom Salesforce objects. Standard icons are used for standard Salesforce objects.
87+
2. **Place your icon type symbol**. Once you’ve chosen the type of icon you’d like to use (Utility, right?) place that symbol where you’d like in your Sketch document.
88+
3. **Choose your icon glyph**. In Sketch’s right overrides panel, choose the icon glyph you’d like to use from the dropdown menu.
89+
4. **(Optional) Choose an icon glyph color**. In Sketch’s right overrides panel, choose the icon glyph color you’d like to use from the dropdown menu.
90+
5. **(Optional, for Action, Custom and Standard Icon Types) Choose an icon background color**. In Sketch’s right overrides panel, choose the icon background color you’d like to use from the dropdown menu.
91+
<br />
92+
<br />
93+
94+
## Recommended Sketch Plugins
95+
96+
**Paddy**
97+
98+
Paddy allows you to add automated padding and spacing for Sketch layers. Paddy is used throughout this Sketch document. It is not required, but is extremely helpful when adding text overrides in a symbol and having the symbol adjust to your customization with perfect padding and spacing without having to detach the symbol from this Sketch Library.
99+
https://github.com/DWilliames/paddy-sketch-plugin
100+
101+
**Runner**
102+
103+
Sketch Runner helps you to get around Sketch quicker by giving you an intuitive interface to run commands directly from your keyboard. Runner allows you to skip Sketch navigation, buttons or menus and quickly type the action you want to take like, “insert desktop tab” to add a tab component symbol to your artboard.
104+
[https://sketchrunner.com](https://sketchrunner.com/)
105+
<br />
106+
<br />
31107

32108
## Contribute!
33109

@@ -42,7 +118,14 @@ Here are a few of the kinds of contributions we are looking for:
42118
### Got something to add?
43119

44120
Great! Please take a look at our [contribution guidelines](https://github.com/salesforce-ux/design-system-ui-kit/blob/master/CONTRIBUTING.md) for instructions on how to proceed.
121+
<br />
122+
<br />
45123

46124
## License
47125

48126
All icons and images are licensed under [Creative Commons Attribution-NoDerivatives 4.0](https://github.com/salesforce-ux/licenses/blob/master/LICENSE-icons-images.txt)
127+
<br />
128+
<br />
129+
<p align="center">
130+
<a href="https://github.com/salesforce-ux/design-system-ui-kit/archive/master.zip"><img src="https://user-images.githubusercontent.com/1750832/41082860-7ffe3c1c-69e4-11e8-9b0f-813cf9be1395.png" alt="Design System UI Kit" /></a>
131+
</p>

RELEASENOTES.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,67 @@
44

55
<!-- ## [Unreleased] -->
66

7+
## [4.0.0] - 2018-06-05
8+
9+
An all new Design System UI Kit entirely revisited for Summer ’18, featuring:
10+
11+
###New Components
12+
13+
* Builder Header
14+
* Feed
15+
* Docked Form Footer
16+
* Polymorphic Lookup
17+
* Combobox / Lookup
18+
* Slider
19+
* Tab - Mobile Drill In
20+
* Carousel
21+
* Datepicker
22+
* Datetime Picker
23+
* Timepicker
24+
* Listbox
25+
* Expandable Sections
26+
* Empty State
27+
* Warning and Error Popovers
28+
* Accordion
29+
* Visual Pickers
30+
* Map
31+
* Dueling Picklist
32+
* Added Chat
33+
* Added Feature Popover
34+
* Welcome Mat
35+
* Vertical and Horizontal Progress Indicator
36+
* Setup Assistant
37+
* Tree
38+
* Disabled input variant of Checkbox Toggle
39+
* Path coaching variant
40+
41+
###Updated Components###
42+
43+
* Walkthrough Popover
44+
* Updated Global Header colors, shadows and borders
45+
* Updated colors and spacing on Docked Utility Bar
46+
* Nested Tab state symbols
47+
* Nested Scoped Tab state symbols
48+
* Nested Path state symbols
49+
* Updated colors on Data Table
50+
* Updated heights of mobile to use whole numbers
51+
* Updated Typography styles
52+
* Updated Avatar
53+
54+
###Enhancements###
55+
56+
* Optimized to be used as a Sketch Library
57+
* Added instructions artboard
58+
* Supercharged icon symbols
59+
* 40 Empty State Illustration Nested Symbols
60+
* Arranged component artboards in alphabetical order
61+
* Moved components their own artboards
62+
* Added Color Token symbols
63+
* Renamed symbols to match SLDS component names
64+
65+
66+
67+
768
## [3.0.1] - 2018-01-26
869

970
- Fixed a typo in sketch release notes
@@ -15,6 +76,7 @@ An all new Design System UI Kit entirely revisited for Winter ’18, featuring:
1576
### Mobile!
1677
- Simple, complex, and structure Salesforce mobile app components are now available
1778
- Key example screens for all major app states/functional areas
79+
1880
### Symbols
1981
- All components are now defined as proper symbols
2082
- Grouped with states defined / matches SLDS site naming
Binary file not shown.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@salesforce-ux/design-system-ui-kit",
3-
"version": "3.0.0",
3+
"version": "4.0.0",
44
"description": "Lightning Design System UI Kit",
5-
"main": "sketch-ui-kit.sketch",
5+
"main": "SLDS Component Library.sketch",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},

0 commit comments

Comments
 (0)