skawa_components 1.2.0

skawa_components #

Pub Package

"Non-Material" Components #

These components are following the Material Design principles, but not part of the material components.

The goal is to share a couple of components which are used internally but not material.

Currently Available components:

  • <skawa-infobar>
  • <skawa-master-detail>
  • <skawa-ckeditor>
  • <skawa-markdown-editor>
  • <skawa-nav-item>
  • <skawa-sidebar-item>

Currently Available pipes:

  • hexColorize

Getting started #

See examples

Need a component? #

Let us know what you'd like to use, open an issue!

Looking for maintainers #

If you have a component you'd like to be part of this collection, let us know, we can chat!

Licensing #

Skawa Components reuses and builds on top of certain parts of angular_components package. (Namely, base SCSS files) angular_components license

Skawa Components is released under MIT license.

1.2.0 #

  • added support fro the dart 2.4 and angular 6.0.0-alpha

1.1.0 #

  • Pub constraints updated

1.0.0+4 #

  • Pub constraints updated

1.0.0+3 #

  • Fixed SkawaMarkdownEditorComponent

1.0.0+2 #

  • Fixed EditorRenderSource

1.0.0+1 #

  • Fixed missing pub constraints

1.0.0 #

  • Release to pub

1.0.0-beta #

  • Splitted the original package, removed the material components from this package
  • SkawaRandomColorizePipe renamed to SkawaHexColorizePipe
  • SkawaAppbarComponent, SkawaDrawerComponent, SkawaSidebarComponent became deprecated

1.0.0-alpha+7 #

  • SkawaRawMarkdownRendererComponent added

1.0.0-alpha+6 #

  • SkawaMarkdownEditorComponent disable ex improved

1.0.0-alpha+5 #

  • SkawaMarkdownEditorComponent can be disabled

1.0.0-alpha+4 #

  • Added a new output stream to SkawaMarkdownEditorComponent which emits on displayMode change
  • SkawaMarkdownRendererComponent added
  • SkawaDataTableComponent non-highlightable mode fixed

1.0.0-alpha+3 #

  • SkawaInfobarComponent button open the url in a new tab
  • SkawaDataTableComponent can be non highlightable

1.0.0-alpha+2 #

  • SkawaMarkdownEditorComponent now updates EditorRenderTarget with the proper classes

1.0.0-alpha+1 #

  • fix minor issue in toggleAttribute method
  • snackbar_test refactored
  • added flaky-on-travis tags to tests which is never fails on localhost but sometimes fails on travis
  • moved PromptComponent to lib folder due to Angular4 migration

1.0.0-alpha #

  • Upgrade to Angular4

0.0.16 #

  • Added new component

0.0.15 #

  • Added new component <skawa-markdown-editor> and corresponding Directives.
  • Ckeditor description corrected
  • analysis_options became stricter
  • travis script now running dartfmt, if the code is not formated properly then exit

0.0.14 #

  • Added tests to snackbar
  • Changed angular2 version from ^3.1.0 to 3.1.0

0.0.13 #

  • Added SkawaRandomColorizePipe

0.0.12 #

  • Added sort logic to SkawaDataTableComponent

0.0.11 #

  • Modified snackbar to use material popup.
  • Snackbar should now be in the bottom left corner of the screen always.
  • Changed angular_components version from "^0.5.1" to "^0.5.3+1"

0.0.10 #

  • DataTable highlight event won't be triggered when selector checkbox is clicked

0.0.9 #

  • Changed to DataTable
    • introduction of the concept of primaryAction. Columns with accessors can subscript to (trigger) action.
    • rows can be (highlight)-ed without making a change in selection

0.0.8+1 #

  • Fixed a strong-mode error about missing trigger on Snackbar
  • Changed DataTableAccessor return value from dynamic to String

0.0.8 #

  • Add SnackbarComponent

0.0.7 #

  • Add some new functionality to <skawa-data-table>:
    • change event is emitted when selection changes
    • setting multiSelection toggles whether only a single or multiple elements can be selected

0.0.6+1 #

  • fixed an issue where dart2js would warn about ?? in for loop

0.0.6 #

  • Added support for column renderer for <data-table>

0.0.5 #

  • Added new component <skawa-grid>

0.0.4 #

  • CKEditor accepts initial value as content input property

0.0.3+1 #

  • Fixed transformer usage

0.0.3 #

  • Added new component <skawa-ckeditor>

0.0.2 #

  • Added tests with travis integration
  • Minor changes to components and their styling

example/README.md

Getting started #

See examples

Use this package as a library

1. Depend on it

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


dependencies:
  skawa_components: ^1.2.0

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:skawa_components/skawa_components.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
71
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
85
Learn more about scoring.

We analyzed this package on Jul 18, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.4.0
  • pana: 0.12.19

Platforms

Detected platforms: web

Primary library: package:skawa_components/skawa_components.dart with components: html, js.

Health suggestions

Format lib/ckeditor/ckeditor.dart.

Run dartfmt to format lib/ckeditor/ckeditor.dart.

Format lib/directives/language_direction_directive.dart.

Run dartfmt to format lib/directives/language_direction_directive.dart.

Format lib/markdown_editor/editor_render_source.dart.

Run dartfmt to format lib/markdown_editor/editor_render_source.dart.

Fix additional 8 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/markdown_editor/editor_render_target.dart (Run dartfmt to format lib/markdown_editor/editor_render_target.dart.)
  • lib/markdown_editor/markdown_editor.dart (Run dartfmt to format lib/markdown_editor/markdown_editor.dart.)
  • lib/markdown_renderer/markdown_renderer.dart (Run dartfmt to format lib/markdown_renderer/markdown_renderer.dart.)
  • lib/markdown_renderer/raw_markdown_renderer.dart (Run dartfmt to format lib/markdown_renderer/raw_markdown_renderer.dart.)
  • lib/master_detail/master_detail.dart (Run dartfmt to format lib/master_detail/master_detail.dart.)
  • lib/nav_item/nav_item.dart (Run dartfmt to format lib/nav_item/nav_item.dart.)
  • lib/prompt/prompt.dart (Run dartfmt to format lib/prompt/prompt.dart.)
  • lib/skawa_components.dart (Run dartfmt to format lib/skawa_components.dart.)

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.4.0 <3.0.0
angular ^6.0.0-alpha 6.0.0-alpha
angular_components ^0.14.0-alpha 0.14.0-alpha
intl ^0.15.7 0.15.8
js ^0.6.1+1 0.6.1+1
markdown ^2.0.3 2.0.3
sass_builder ^2.1.2 2.1.3
Transitive dependencies
analyzer 0.36.4 0.37.0
angular_ast 0.5.10
angular_compiler 0.4.4
angular_forms 2.1.3
args 1.5.2
async 2.3.0
build 1.1.5
built_collection 4.2.2
built_value 6.7.0
charcode 1.1.2
checked_yaml 1.0.1
cli_repl 0.2.0+1
code_builder 3.2.0
collection 1.14.11
convert 2.1.1
crypto 2.0.6
csslib 0.16.1
dart_internal 0.1.5
dart_style 1.2.9
fixnum 0.10.9
front_end 0.1.19 0.1.20
glob 1.1.7
html 0.14.0+2
http 0.12.0+2
http_parser 3.1.3
json_annotation 2.4.0
kernel 0.3.19 0.3.20
logging 0.11.3+2
matcher 0.12.5
meta 1.1.7
observable 0.22.2
package_config 1.0.5
package_resolver 1.0.10
path 1.6.2
pedantic 1.8.0+1
protobuf 0.13.15
pub_semver 1.4.2
pubspec_parse 0.1.4
quiver 2.0.3
sass 1.22.7
source_gen 0.9.4+2
source_maps 0.10.8
source_span 1.5.5
stack_trace 1.9.3
stream_transform 0.0.19
string_scanner 1.0.4
term_glyph 1.1.0
tuple 1.0.2
typed_data 1.1.6
watcher 0.9.7+12
yaml 2.1.16
Dev dependencies
angular_test ^2.3.0
build_config ^0.3.2 0.4.1
build_runner ^1.3.3
build_test ^0.10.7
build_web_compilers ^2.0.0
html_unescape ^1.0.1+2
mockito ^4.0.0
pageloader ^3.2.0
test ^1.6.2

Admin