design-system

WebJar for design-system

License

License

Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-salesforce-ux-design-system
Last Version

Last Version

2.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

design-system
WebJar for design-system
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/salesforce-ux/design-system

Download github-com-salesforce-ux-design-system

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-salesforce-ux-design-system/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-salesforce-ux-design-system</artifactId>
    <version>2.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-salesforce-ux-design-system/
implementation 'org.webjars.npm:github-com-salesforce-ux-design-system:2.2.1'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-salesforce-ux-design-system/
implementation ("org.webjars.npm:github-com-salesforce-ux-design-system:2.2.1")
'org.webjars.npm:github-com-salesforce-ux-design-system:jar:2.2.1'
<dependency org="org.webjars.npm" name="github-com-salesforce-ux-design-system" rev="2.2.1">
  <artifact name="github-com-salesforce-ux-design-system" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-salesforce-ux-design-system', version='2.2.1')
)
libraryDependencies += "org.webjars.npm" % "github-com-salesforce-ux-design-system" % "2.2.1"
[org.webjars.npm/github-com-salesforce-ux-design-system "2.2.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Salesforce Lightning Design System

Build Status Dependabot Status

Welcome to the source code repository for Salesforce Lightning Design System, brought to you by Salesforce UX.

SLDS is...

  • Tailored for building Salesforce apps: Using the Lightning Design System markup and CSS framework results in UIs that reflect the Salesforce Lightning look and feel.
  • Continuously updated: As long as you’re using the latest version of the Lightning Design System, your pages are always up to date with Salesforce UI changes.

Getting Started

This project utilizes Storybook for component development. If you would like to know more about Storybook or how it works, check out their website.

Project Installation & Setup:

  1. Clone the repository down locally.
  2. cd into the project and run npm install to install all project dependencies.

Running the Development Environment:

The Storybook development environment can be started by running npm start

Whenever you add, remove, or alter a component's css annotation metadata, you'll need to restart Storybook to see those changes.

Configuring Node and NVM

Node v12 is recommended for use with the Design System repository, and NVM is the recommended choice for managing multiple versions of Node on your computer.

A .nvmrc file is included in this project to aid in local development. To utilize it for setting your project's node version, run nvm use in the root of the directory. Additionally, you can set up a deeper shell integration for automatically invoking the nvmrc file when you change into the project directory by following these instructions.

Developing in Storybook

Once the development server is started with npm start, you can load it at http://localhost:9002.

Annotations

See the annotations guide.

Tasks

npm start

Starts the Storybook server for local development.

npm run gulp -- lint

Lint the code base for syntax and stylistic errors.

# Lint indentation, Sass, JavaScript files
npm run gulp -- lint

# Lint languages independently
npm run gulp -- lint:sass
npm run gulp -- lint:javascript
npm run gulp -- lint:javascript:test
npm run gulp -- lint:spaces
npm run gulp -- lint:html

# HTML5 validation
npm run gulp -- lint:vnu
# HTML5 validation on comma separated blueprint names
npm run gulp -- lint:vnu --components button,path,trees

# a11y validation
npm run gulp -- lint:a11y
# a11y validation on comma separated blueprint names
npm run gulp -- lint:a11y --components button,path,trees

# Lint examples using vnu, aXe, slds validation, and HTML5 validation
npm run gulp -- lint:examples

Pull Request Checks

To run all the checks a pull request will run in Travis use the following command.

# To run every check against all blueprints
npm run pr-checks

# To run every check but target certain blueprints for slow checks like aXe and vnu
npm run pr-checks -- --components button,path,trees

Compilation

npm run build-dist

Generate the Lightning Design System into the .dist directory.

npm run gulp -- styles

Compile Sass to CSS into .assets/styles.

npm run gulp -- clean

Delete temporary build and local files.

Stats

npm run gulp -- styles:stats: Useful stats about the project's deliverables.

Tests

npm test: run all tests

Troubleshooting

See the troubleshooting guide.

Contributing Back to SLDS

See the contributing guide.

Licenses

Got Feedback?

Please open a new GitHub Issue.

org.webjars.npm

Salesforce UX

Clarity. Efficiency. Consistency. Beauty. The product design team at Salesforce.

Versions

Version
2.2.1