dacsslide 0.3.1+1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 33

DaCSSlide Build Status

Port of JaCSS - tiny "framework" for building pure CSS3-animation based presentations.

Examples

Advanced usage:

Example

Example could be found in web folder.

In HTML file you need to speicfy "symbols":

<presentation slides="8" class="hidden">
      <symbol id="hello">
        Hello {{world}}
      </symbol>
      <symbol id="center">
        Center
      </symbol>
</presentation>

And in SCSS file you need to specify behaviour (Note: syntax below is using DACSSlide additions to SCSS):

#center {
  opacity:0;
}
.s2 {
  #hello: move(50,100);
   
  #center {
    background-color:red;
    opacity:1;
    ::up(20);
  }
}
.s3 {
  #hello:move(+100,+100);
}
...

Where .sN means behaviour for slide (keyframe) N.

Each symbol can have track property if it can change it's width or height (in case of asynchronously loaded symbols).

How to run

You can start webdev serve and open http://localhost:8080

Changelog

##0.3.1

Updated dependencies and sample web page to support dart 2.0+

##0.3.0-beta

Updated to 5.0-beta+11. Changed transformers to builders

BREAKING CHANGE Now instead of "scss" files "pcss" files are used for specifying slide transitions

##0.3.0-alpha

Upgraded to Angular 5.0 and using dartdevc. Initial dacsslide binary implementation.

##0.2.1

Added speaker comments support. Just add

<comment slide="1">Some comment</comment>

##0.2.0

Added possibility to change units. put anywhere

/* dacsslide.units = vmax */

All transform operators will use that units.

BREAKING CHANGE Now if modifier has several parameters but was called with less, it will use last specified parameter (previously it used X-axis). E.g. scale(2) will produce scaleX(2) scaleY(2) and not just scaleX(2) like before. Same for rotate. Please add axis modifier to have previous behavior.

BREAKING CHANGE scale modifier now accept 2 parameters (X and Y). If you need scaling on Z-axis, you can use scaleZ.

##0.1.3

Switched to Angular 4.

##0.1.2

Adding event listeners directly, not through EventManager. DDC friendly.

##0.1.1

Angular 2.

0.0.15

  • Added support of additional parameters in URL hash (Appended by &). Could be used by other plugins, like remote controller.

0.0.14

  • Tracking symbols by default. Symbols can be not auto-centralized by setting fixed=true on symbol.

0.0.12

  • Aded "track" property to track symbol's width/height.

0.0.11

  • Aded inline syntax. Added opacity function.

0.0.10

  • Aded delay functions. Removed relative modifier for move. Added documentation for functions.

0.0.9

  • Added shortened relative modifiers (up, down, left, right) and tests

0.0.8

  • Added DACSSlie extension to SCSS syntax

0.0.7

  • Added CSSLib transform so now it is possible to use nested CSS rules and other features provided by CSSLib

Use this package as a library

1. Depend on it

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


dependencies:
  dacsslide: ^0.3.1+1

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:dacsslide/builder.dart';
import 'package:dacsslide/pcss_builder.dart';
import 'package:dacsslide/presentation_component.dart';
import 'package:dacsslide/sample_directive.dart';
  
Version Uploaded Documentation Archive
0.3.1+1 Sep 17, 2018 Go to the documentation of dacsslide 0.3.1+1 Download dacsslide 0.3.1+1 archive
0.3.1 Sep 17, 2018 Go to the documentation of dacsslide 0.3.1 Download dacsslide 0.3.1 archive
0.2.1 Oct 16, 2017 Go to the documentation of dacsslide 0.2.1 Download dacsslide 0.2.1 archive
0.2.0 Oct 12, 2017 Go to the documentation of dacsslide 0.2.0 Download dacsslide 0.2.0 archive
0.1.3 Oct 3, 2017 Go to the documentation of dacsslide 0.1.3 Download dacsslide 0.1.3 archive
0.1.2 Jun 30, 2017 Go to the documentation of dacsslide 0.1.2 Download dacsslide 0.1.2 archive
0.1.1 Jun 30, 2017 Go to the documentation of dacsslide 0.1.1 Download dacsslide 0.1.1 archive
0.1.0 Nov 9, 2016 Go to the documentation of dacsslide 0.1.0 Download dacsslide 0.1.0 archive
0.0.15+2 Feb 2, 2016 Go to the documentation of dacsslide 0.0.15+2 Download dacsslide 0.0.15+2 archive
0.0.15+1 Feb 2, 2016 Go to the documentation of dacsslide 0.0.15+1 Download dacsslide 0.0.15+1 archive

All 28 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
90
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
30
Overall:
Weighted score of the above. [more]
33
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7

Platforms

Detected platforms:

Platform components identified in package: build, html, io, isolate, js.

Health issues and suggestions

Document public APIs (-9.12 points)

52 out of 57 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

Fix bin/dacsslide.dart. (-0.50 points)

Analysis of bin/dacsslide.dart reported 1 hint:

line 16 col 12: The value of the local variable 'os' isn't used.

Fix lib/presentation_component.dart. (-0.50 points)

Analysis of lib/presentation_component.dart reported 1 hint:

line 76 col 3: 'ElementRef' is deprecated and shouldn't be used.

Format lib/builder.dart.

Run dartfmt to format lib/builder.dart.

Format lib/pcss_builder.dart.

Run dartfmt to format lib/pcss_builder.dart.

Format lib/sample_directive.dart.

Run dartfmt to format lib/sample_directive.dart.

Maintenance issues and suggestions

Fix platform conflicts. (-20 points)

Platform components identified in package: build, html, io, isolate, js.

Support latest stable Dart SDK in pubspec.yaml. (-20 points)

The SDK constraint in pubspec.yaml doesn't allow the latest stable Dart SDK release.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use dacsslide.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <=2.2.0
angular ^5.0.0 5.0.0 5.1.0
args ^1.2.0 1.5.1
build ^0.12.6 0.12.8 1.0.1
build_config ^0.3.1+2 0.3.1+4
http >0.10.0 <1.0.0 0.12.0
path >1.4.0 <2.0.0 1.6.2
resource >=2.1.2 <3.0.0 2.1.5
test >1.0.0 <1.5.0 1.4.0 1.5.1+1
Transitive dependencies
analyzer 0.32.6 0.34.0
angular_ast 0.5.6 0.5.7
angular_compiler 0.4.0 0.4.1
async 2.0.8
boolean_selector 1.0.4
built_collection 4.1.0
built_value 6.1.6
charcode 1.1.2
code_builder 3.1.3
collection 1.14.11
convert 2.0.2
crypto 2.0.6
csslib 0.14.6
dart_style 1.1.3 1.2.1
fixnum 0.10.9
front_end 0.1.4+2 0.1.7
glob 1.1.7
html 0.13.3+3
http_multi_server 2.0.5
http_parser 3.1.3
intl 0.15.7
io 0.3.3
js 0.6.1+1
json_annotation 2.0.0
json_rpc_2 2.0.9
kernel 0.3.4+2 0.3.7
logging 0.11.3+2
matcher 0.12.3+1 0.12.4
meta 1.1.6
mime 0.9.6+2
multi_server_socket 1.0.2
node_preamble 1.4.4
package_config 1.0.5
package_resolver 1.0.6
plugin 0.2.0+3
pool 1.3.6
pub_semver 1.4.2
pubspec_parse 0.1.2+3
quiver 2.0.1
shelf 0.7.3+3
shelf_packages_handler 1.0.4
shelf_static 0.2.8
shelf_web_socket 0.2.2+4
source_gen 0.9.1+3
source_map_stack_trace 1.1.5
source_maps 0.10.8
source_span 1.4.1
stack_trace 1.9.3
stream_channel 1.6.8
string_scanner 1.0.4
term_glyph 1.0.1
test_api 0.1.1 0.2.1
typed_data 1.1.6
utf 0.9.0+5
vm_service_client 0.2.6
watcher 0.9.7+10
web_socket_channel 1.0.9
yaml 2.1.15
Dev dependencies
build_runner ^0.10.2
build_web_compilers >=0.3.6 <0.5.0
sass_builder ^2.0.0