After fixing ELEMENTS-1334 we stated an opportunity to refactor action buttons. We probably need to create a new element that could wrap paper-icon-button, span and nuxeo-tooltip. This repetition occurs, at least, on 15 elements:
- ui/actions/nuxeo-add-to-collection-button.js
- ui/actions/nuxeo-delete-blob-button.js
- ui/actions/nuxeo-delete-document-button.js
- ui/actions/nuxeo-download-button.js
- ui/actions/nuxeo-export-button.js
- ui/actions/nuxeo-favorites-toggle-button.js
- ui/actions/nuxeo-link-button.js
- ui/actions/nuxeo-lock-toggle-button.js
- ui/actions/nuxeo-move-documents-down-button.js
- ui/actions/nuxeo-move-documents-up-button.js
- ui/actions/nuxeo-notifications-toggle-button.js
- ui/actions/nuxeo-preview-button.js
- ui/actions/nuxeo-share-button.js
- ui/actions/nuxeo-untrash-document-button.js
- ui/actions/nuxeo-workflow-button.js