custom_elements 1.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 76

Custom Elements

A Dart port of selected elements from customelements.io.

Also some styles from polymerthemes.com

Ported Elements

Ported but not working

  • paper-data-table SADLY NOT WORKING ON DART BECAUSE OF SOME table related problem (sigh) because of a dart:html bug

To Update

upgrade versions on bower.json and run :

bower update
pub run custom_element_apigen:update custom_elements_config.yaml

Reminder:

Need to patch apigen too allow behavior with custom "prefix" (prefix to be ignored) and correct handling of proxy with more than one level of indentation (neon-animation stuff).

1.0.0

  • added paper-search components from Collarbone

0.0.12

  • added 'vaadin-date-picker'
  • some fixes

0.0.11

  • added vaadin-split-layout
  • added vaadin-icons

0.0.10

  • update latest version of components
    • iron-data-table v1.0.4

0.0.9

  • update to latest version of components

0.0.8+2

  • update to latest versions of components (most notably iron-data-table v1.0.0)
  • requires latest polymer_elements

0.0.7+2

  • clean up

0.0.7+1

  • merged fix for issue 17 for iron-data-table.

0.0.7

  • added vaadin-grid

0.0.6

  • added vaadin-upload

0.0.5+3

  • Updated iron-data-table with null-items fix.

0.0.5+2

  • Minor fixes and upgrade to latest apigen.

0.0.5

0.0.4

  • Added paper-divider

0.0.3+2

  • Minor patch to iron-data-table.

1. Depend on it

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


dependencies:
  custom_elements: "^1.0.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:custom_elements/data_table_cell.dart';

import 'package:custom_elements/data_table_checkbox.dart';

import 'package:custom_elements/data_table_column.dart';

import 'package:custom_elements/data_table_column_filter.dart';

import 'package:custom_elements/data_table_column_sort.dart';

import 'package:custom_elements/data_table_icons.dart';

import 'package:custom_elements/data_table_row.dart';

import 'package:custom_elements/data_table_row_detail.dart';

import 'package:custom_elements/data_table_templatizer_behavior.dart';

import 'package:custom_elements/datatable_icons.dart';

import 'package:custom_elements/default_styles.dart';

import 'package:custom_elements/iron_data_table.dart';

import 'package:custom_elements/iron_data_table_style.dart';

import 'package:custom_elements/moment_import.dart';

import 'package:custom_elements/moment_with_locales_import.dart';

import 'package:custom_elements/paper_calendar.dart';

import 'package:custom_elements/paper_chip.dart';

import 'package:custom_elements/paper_clock_selector.dart';

import 'package:custom_elements/paper_datatable.dart';

import 'package:custom_elements/paper_datatable_column.dart';

import 'package:custom_elements/paper_datatable_edit_dialog.dart';

import 'package:custom_elements/paper_date_picker.dart';

import 'package:custom_elements/paper_date_picker_dialog_style.dart';

import 'package:custom_elements/paper_date_picker_icons.dart';

import 'package:custom_elements/paper_divider.dart';

import 'package:custom_elements/paper_filter_dialog.dart';

import 'package:custom_elements/paper_more_button.dart';

import 'package:custom_elements/paper_search.dart';

import 'package:custom_elements/paper_search_bar.dart';

import 'package:custom_elements/paper_search_panel.dart';

import 'package:custom_elements/paper_time_picker.dart';

import 'package:custom_elements/paper_time_picker_dialog_style.dart';

import 'package:custom_elements/paper_year_list.dart';

import 'package:custom_elements/polymer_themes.dart';

import 'package:custom_elements/vaadin_date_picker.dart';

import 'package:custom_elements/vaadin_date_picker_behavior.dart';

import 'package:custom_elements/vaadin_date_picker_helper.dart';

import 'package:custom_elements/vaadin_date_picker_icons.dart';

import 'package:custom_elements/vaadin_date_picker_light.dart';

import 'package:custom_elements/vaadin_date_picker_overlay.dart';

import 'package:custom_elements/vaadin_grid.dart';

import 'package:custom_elements/vaadin_grid_extra.dart';

import 'package:custom_elements/vaadin_icons.dart';

import 'package:custom_elements/vaadin_infinite_scroller.dart';

import 'package:custom_elements/vaadin_month_calendar.dart';

import 'package:custom_elements/vaadin_split_layout.dart';

import 'package:custom_elements/vaadin_upload.dart';

import 'package:custom_elements/vaadin_upload_file.dart';

import 'package:custom_elements/vaadin_upload_icons.dart';
        
Version Uploaded Documentation Archive
1.0.1 Mar 9, 2017 Go to the documentation of custom_elements 1.0.1 Download custom_elements 1.0.1 archive
1.0.0 Feb 22, 2017 Go to the documentation of custom_elements 1.0.0 Download custom_elements 1.0.0 archive
0.0.12+2 Nov 28, 2016 Go to the documentation of custom_elements 0.0.12+2 Download custom_elements 0.0.12+2 archive
0.0.12+1 Nov 27, 2016 Go to the documentation of custom_elements 0.0.12+1 Download custom_elements 0.0.12+1 archive
0.0.12 Nov 26, 2016 Go to the documentation of custom_elements 0.0.12 Download custom_elements 0.0.12 archive
0.0.11+1 Nov 2, 2016 Go to the documentation of custom_elements 0.0.11+1 Download custom_elements 0.0.11+1 archive
0.0.10 Nov 2, 2016 Go to the documentation of custom_elements 0.0.10 Download custom_elements 0.0.10 archive
0.0.9+1 Sep 7, 2016 Go to the documentation of custom_elements 0.0.9+1 Download custom_elements 0.0.9+1 archive
0.0.9 Sep 7, 2016 Go to the documentation of custom_elements 0.0.9 Download custom_elements 0.0.9 archive
0.0.8+4 Jul 19, 2016 Go to the documentation of custom_elements 0.0.8+4 Download custom_elements 0.0.8+4 archive

All 23 versions...

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 14, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
69 / 100
Health:
Code health derived from static analysis. [more]
90 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
72 / 100
Overall score:
Weighted score of the above. [more]
76

Platforms

Detected platforms: unsure

Error(s) prevent platform classification.

Suggestions

  • Fix lib/iron_data_table_style.dart.

    Strong-mode analysis of lib/iron_data_table_style.dart failed with the following error:

    line: 4 col: 8
    Target of URI doesn't exist: 'package:polymer/polymer.dart'.

  • Fix lib/paper_chip.dart.

    Strong-mode analysis of lib/paper_chip.dart failed with the following error:

    line: 89 col: 3
    Invalid override. The type of 'PaperChip.remove' ('(dynamic) → void') isn't a subtype of 'Node.remove' ('() → void').

  • Fix platform conflicts.

    Make sure none of the libraries use mutually exclusive dependendencies.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 2 error(s) and 0 warning(s).

  • The description is too short.

    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.

    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 custom_elements.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
polymer_elements ^1.0.0-rc.8 1.0.0-rc.10
polymer_interop ^1.0.0-rc.5 1.0.0-rc.10
web_components ^0.12.0 0.12.5
Transitive dependencies
analyzer 0.29.5 0.31.1
args 0.13.7 1.3.0
async 2.0.3 2.0.4
barback 0.15.2+14
charcode 1.1.1
cli_util 0.1.2+1
code_transformers 0.5.1+4
collection 1.14.5
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
dart_style 0.2.16 1.0.9+1
glob 1.1.5
html 0.13.2+2
initialize 0.6.2+7
isolate 0.2.3 1.1.0
logging 0.11.3+1
meta 1.1.2
package_config 1.0.3
plugin 0.2.0+2
pool 1.3.4
source_maps 0.10.4
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+7
Dev dependencies
browser ^0.10.0
custom_element_apigen ^0.2.2
html5lib >=0.11.0 <0.13.0
path ^1.0.0 1.5.1
polymer ^1.0.0-rc.6
test ^0.12.5+1
yaml >=1.0.0 <3.0.0 2.1.13