PolymerElements / iron-swipeable-container

A container that allows any of its nested children to be swiped away.
25 stars 18 forks source link

NPM package for Polymer 3 #33

Closed tedplumtree closed 6 years ago

tedplumtree commented 6 years ago

Is there a plan to port this to Polymer 3?

I see most of the other iron and paper elements being ported into npm under @polymer, but this one still seems to use the legacy Polymer object.

I'm using the latest version (3.0.0-pre.6), but it doesn't work with Polymer 3.

Instead of the typical

import '@polymer/polymer/polymer-legacy.js';
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js';
import { html } from '@polymer/polymer/lib/utils/html-tag.js';
import { dom } from '@polymer/polymer/lib/legacy/polymer.dom.js';

I get

import '../polymer/polymer.js'

Maybe this is a problem with the modulizer? Not sure what's going on here.

notwaldorf commented 6 years ago

cc @e111077

e111077 commented 6 years ago

Hello, yes it is. I'll have to look into why it is not updated in npm. May have been a bug with our modulizer. Regardless, we will be doing manual publishings so this will not happen when we release 3.0.0 elements very soon.

e111077 commented 6 years ago

it seems to have been removed from the default list. I just added it back in

e111077 commented 6 years ago

There is an updated version on @latest we haven't yet determined its usability yet