custom_elements 1.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 72

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 failed Download custom_elements 1.0.1 archive
1.0.0 Feb 22, 2017 failed Download custom_elements 1.0.0 archive
0.0.12+2 Nov 28, 2016 failed Download custom_elements 0.0.12+2 archive
0.0.12+1 Nov 27, 2016 failed Download custom_elements 0.0.12+1 archive
0.0.12 Nov 26, 2016 failed Download custom_elements 0.0.12 archive
0.0.11+1 Nov 2, 2016 failed Download custom_elements 0.0.11+1 archive
0.0.10 Nov 2, 2016 failed Download custom_elements 0.0.10 archive
0.0.9+1 Sep 7, 2016 failed Download custom_elements 0.0.9+1 archive
0.0.9 Sep 7, 2016 failed Download custom_elements 0.0.9 archive
0.0.8+4 Jul 19, 2016 failed Download custom_elements 0.0.8+4 archive

All 23 versions...

Analysis

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

  • Dart: 2.0.0-dev.46.0
  • pana: 0.10.6

Scores

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

Platforms

Detected platforms: unsure

Error(s) prevent platform classification:

Error(s) in lib/iron_data_table_style.dart: Target of URI doesn't exist: 'package:polymer/polymer.dart'.

Suggestions

  • Fix platform conflicts.

    Error(s) prevent platform classification:

    Error(s) in lib/iron_data_table_style.dart: Target of URI doesn't exist: 'package:polymer/polymer.dart'.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 3 errors 228 hints.

    Make sure that the imported libraries are not in conflict. Error(s) in lib/iron_data_table_style.dart: Target of URI doesn't exist: 'package:polymer/polymer.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').

    Similar analysis of the following files failed:

    • lib/data_table_cell.dart (hint)
    • lib/data_table_checkbox.dart (hint)
    • lib/data_table_column.dart (hint)
    • lib/data_table_column_filter.dart (hint)
    • lib/data_table_column_sort.dart (hint)
    • lib/data_table_icons.dart (hint)
    • lib/data_table_row.dart (hint)
    • lib/data_table_row_detail.dart (hint)
    • lib/data_table_templatizer_behavior.dart (hint)
    • lib/datatable_icons.dart (hint)
    • lib/default_styles.dart (hint)
    • lib/iron_data_table.dart (hint)
    • lib/moment_import.dart (hint)
    • lib/moment_with_locales_import.dart (hint)
    • lib/paper_calendar.dart (hint)
    • lib/paper_clock_selector.dart (hint)
    • lib/paper_datatable.dart (hint)
    • lib/paper_datatable_column.dart (hint)
    • lib/paper_datatable_edit_dialog.dart (hint)
    • lib/paper_date_picker.dart (hint)
    • lib/paper_date_picker_dialog_style.dart (hint)
    • lib/paper_date_picker_icons.dart (hint)
    • lib/paper_divider.dart (hint)
    • lib/paper_filter_dialog.dart (hint)
    • lib/paper_more_button.dart (hint)
    • lib/paper_search.dart (hint)
    • lib/paper_search_bar.dart (hint)
    • lib/paper_search_panel.dart (hint)
    • lib/paper_time_picker.dart (hint)
    • lib/paper_time_picker_dialog_style.dart (hint)
    • lib/paper_year_list.dart (hint)
    • lib/polymer_themes.dart (hint)
    • lib/vaadin_date_picker.dart (hint)
    • lib/vaadin_date_picker_behavior.dart (hint)
    • lib/vaadin_date_picker_helper.dart (hint)
    • lib/vaadin_date_picker_icons.dart (hint)
    • lib/vaadin_date_picker_light.dart (hint)
    • lib/vaadin_date_picker_overlay.dart (hint)
    • lib/vaadin_grid.dart (hint)
    • lib/vaadin_grid_extra.dart (hint)
    • lib/vaadin_icons.dart (hint)
    • lib/vaadin_infinite_scroller.dart (hint)
    • lib/vaadin_month_calendar.dart (hint)
    • lib/vaadin_split_layout.dart (hint)
    • lib/vaadin_upload.dart (hint)
    • lib/vaadin_upload_file.dart (hint)
    • lib/vaadin_upload_icons.dart (hint)
  • 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.4.1
async 2.0.6
barback 0.15.2+15
charcode 1.1.1
cli_util 0.1.2+1
code_transformers 0.5.1+4
collection 1.14.9
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
dart_style 0.2.16 1.0.10
glob 1.1.5
html 0.13.3
initialize 0.6.2+7
isolate 0.2.3 2.0.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