Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
Docs: Updated documentation for the element.
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodek committed Sep 28, 2017
1 parent b8fd084 commit bb880d5
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion import-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@
<link rel="import" href="import-data-inspector.html">

<!--
`<import-panel>` The import data view for ARC
The data import view for ARC.
Generates the UI and support logic for importing data from a file, Google Drive,
and copy / paste action.
It requires the `arc-data-import` element to be present in the DOM to handle
`import-data` and `import-normalize` events.
### Example
```
Expand All @@ -41,6 +47,21 @@
Custom property | Description | Default
----------------|-------------|----------
`--import-panel` | Mixin applied to the element | `{}`
`--action-button` | MIxin applied to main action buttons | `{}`
`--error-toast` | Mixin applied to a toast with error message | `{}`
`--warning-primary-color` | Background color of error toast | `#FF7043`
`--warning-contrast-color`| Color of error toast | `#fff`
`--import-panel-card` | Mixin applied to a paper card like element | `{}`
`--import-data-inspector` | Mixin applied to the element | `{}`
`--action-button` | Mixin applied to the primary acction button | `{}`
`--import-data-inspector-meta-color` | Color of the meta data property | `{}`
`--import-table` | Mixin applied to a table with data import | `{}`
`--import-table-opened` | Mixin applied to a table with data import when opened | `{}`
`--import-table-title` | Mixin applied to the title of the import table | `{}`
`--import-table-header` | Mixin applied to data table header with selecyion options | `{}`
`--import-table-method-label` | Mixin applied to the HTTP method label container | `{}`
`--import-table-selection-counter` | Mixin applied to a table selection counter label | `{}`
`--import-table-list-item` | Mixin applied to data table's items | `{}`
@group UI Elements
@element import-panel
Expand Down Expand Up @@ -91,6 +112,7 @@
.card {
@apply --shadow-elevation-2dp;
padding: 24px;
@apply --import-panel-card;
}

iron-pages,
Expand Down

0 comments on commit bb880d5

Please sign in to comment.