lightning 2.1.3

Lightning Dart

Stories in Ready Build Status pub package

Lightning Dart is a library for developing web applications based on the css framework http://www.lightningDesignSystem.com. SLDS provides scss/css, icons and fonts, but no functionality.

Lightning Dart provides the most complete component functionality for slds. Written in Dart it compiles into Javascript ("Dart - the better Javascript"), so the delivery is a "one page apps". You can add business functionality by writing the code in Dart - or in Javascript directly - or any language which can call Javascript.

The Framework is not dependent on salesforce.com functionality and can be used independently.

The Salesforce Lightning Design css framework is similar to Bootstrap but uses more recent css technology and concentrates on building Web Applications, not Web Sites.

Lightning Dart is mainly used to generate the user interface manually or from meta data. In addition to that you can create a traditional html layout and then add the component functionality via Dart.

Check out the demo

Usage

A simple usage example:

import "package:lightning/lightning.dart";

main() async {
  await LightningDart.init(); // client env
  // example: http://lightningdart.com/exampleForm.html
  LightningDart.createPageSimple()
    ..add(...content...);
}

For more details, see documentation

Structure

Lightning Dart is split up into three parts

  • View - library lightning_dart with entry point LightningDart - can be used independently and provides individual component level functionality
  • Model - library lightning_model uses Protocol Buffers for efficient language independent serialization
  • Controller - library lightning_ctrl with entry point LightningCtrl (instantiates view, ...) provides component group functionality

Status, features and bugs

The Component Demo http://lightningdart.com provides the implementation status per component. The version number reflects the SLAD version.

Please file feature requests and bugs at the issue tracker or send an email to lightning@accorto.com.

Colaboration

We welcome help and contributions. The current status of the underlying design system (css) is in flux and can change quickly. So it is best to contact us first (lightning@accorto.com) to coordinate efforts. We require the usual contributor license agreement.

Analytics

Changelog

Version numbers are based on the Salesforce Lightning Design System (SLDS) css Framework version numbers. Intermediate Patches, Functionality improvements via +x prefix.

next

2.1.3 (2016-10-03)

  • SLDS 2.1.3
  • Google Analysis option

2.0.2 (2016-06-29)

  • SLDS v2.0.2 #48
  • Time Series #49
  • Table Layout enhancements #47
  • CSV import #46
  • Workspace Query Enhancements #45

1.0.0 (2016-03-08)

  • SLDS v1.0.0 #44
  • FK Hierarchy Lookup #21
  • Data Graph #40
  • Card Panel #38
  • IE type restrictions #36
  • svg compatibility edge/ie #35
  • color editor #34
  • timezone editor #17
  • AppsAction disabled support
  • icon title, description, link
  • lookup enhancements
  • apps header

0.12.1 (2015-12-21)

  • upgrade to SLDS 0.12.1 #33
  • (Sales) Path #29
  • Default Editor based on Platform #31
  • Messages-Settings-Environment Tab #30
  • lookup enhancements
  • stateful button improvements

0.12.0

  • nested modals #29
  • lookup completed/stabilized
  • Upgrade to SLDS 0.12.0 #25
  • (remote) logging enhancements #27
  • FK editor and dialog with parent values (e.g. contact of account) #20
  • File editor (upload) #19
  • layout fixes

0.10.1

  • lookups, fk search dialog
  • object/record home improvements
  • SLDS v0.10.1

0.9.2

  • improved components and controller
  • form controller logic, validation, error display
  • form in modal
  • SLDS v0.9.2

0.9.1

  • improved components
  • signup form example
  • workspace example
  • SLDS v0.9.1

0.8.1

  • Fixed links, descriptions
  • Improved demo
  • SLDS v0.8.1

0.8.0

  • Initial version based on SLDS v0.8.0

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  lightning: "^2.1.3"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:lightning/lightning.dart';

About

Lightning Dart UI Components based on Salesforce Lightning Design System

Author

Accorto Lightning

Homepage

lightningdart.com

Documentation

www.dartdocs.org/documentation/lightning/2.1.3/

Uploader

jorg.janke@accorto.com

License

GPL 3.0 (LICENSE)

Published

Oct 16, 2016