-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading to Hybrid mode #68
base: master
Are you sure you want to change the base?
Conversation
Hy, for your style problems you also have change |
Sorry for late response. Thanks for advice! But seems like you have already implemented hybrid mode so I think you can now close this PR. |
paper-stepper.html
Outdated
@@ -13,6 +13,7 @@ | |||
<link rel="import" href="animations/fade-in-slide-from-left-animation.html"> | |||
<link rel="import" href="animations/fade-out-slide-left-animation.html"> | |||
<link rel="import" href="paper-step.html"> | |||
<link rel="import" href="../bower_components/neon-animation/web-animation.html"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace:
<link rel="import" href="../bower_components/neon-animation/web-animation.html">
with:
<link rel="import" href="../neon-animation/web-animations.html">
It complains that the path doesn't exist and it also lacks the s at the end of animations.
Thanks for suggestions, everyone! I'm gonna work on it tomorrow. |
step-label-shared-styles.html
Outdated
@apply(--paper-font-common-base); | ||
@apply(--layout-flex); | ||
@apply --paper-font-common-base; | ||
@apply --layout-flex; | ||
} | ||
#textWrapper { | ||
color: var(--paper-step-disabled-label-text-color, --paper-grey-400); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#textWrapper {
color: var(--paper-step-disabled-label-text-color, var(--paper-grey-400));
step-label-shared-styles.html
Outdated
@@ -50,8 +50,8 @@ | |||
border-radius: 50%; | |||
color: var(--paper-step-badge-color, --dark-theme-text-color); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
border-radius: 50%;
color: var(--paper-step-badge-color, var(--dark-theme-text-color));
Also add this Very excited to getting this version of the hybrid completed. The current one is still a prototype and lacks a few components. |
Sorry for breaking my promise but I won't be able to push it today 😞 |
Link also has the correct file name.
After bower install, the site couldn't find iron-menu-behavior. I had to install it seperately to get it working. However, I'm still new to the bower.json. So I'm not sure if where I placed it is the best.
Updated the styles
Fixed dependencies
OK, so I merged all PRs to my code (Huge thanks for them!) but the vertical option doesn't seem to work I'm looking into it right now |
Awesome! |
Is this PR better than the current state of things? |
@rjsteinert I will say that myfrom's version is way better than the original. I ended up using it for my internship. They were really pleased with it and we were using Polymer 2. |
So a little update: I have checked a bit on my local machine and I found out that both mine and Zecat's hybrid version (Polymer-2 or hybrid-modular-prototype respectively) seems to work the same. However, there are huge code changes in Zecat's version (at least on diffs) as opposed to my approach with minimal changes. I think this could be safely merged to master now without breaking anything and having great compatibility with other PRs. Could you tell what do you think about it, @Zecat? |
It's been many years since then. Have we considered closing out this PR due to inactivity? |
Resolves #67
I've gone through some steps of upgrading elements to Hybrid mode so they work in Polymer 1 (>1.9) and 2.0
The element is now pretty functional but some styles don't get applied and I'm not sure why. Please help. 😧It'd also be needed to move animations to standard Web Animations API instead of neon-animations as they got deprecated.
I also would suggest to do some more testing on it before publishing, I'm not good at testing 😖.