Tim van der Lippe
acfef71d0f
Deduplicate style includes
2018-03-16 16:15:12 +01:00
Tim van der Lippe
2a6c0a2a10
Returning null in template should nullify parent template
2018-03-15 11:30:06 +01:00
Kevin Schaaf
5422bef956
Merge pull request #5125 from Polymer/auto-detect-attribute-capitalization
...
Automatically detect capitalized HTML attributes
2018-03-13 11:52:46 -07:00
Tim van der Lippe
0573d483c4
[ci skip] Add clarifying comment
2018-03-07 12:30:06 +01:00
Tim van der Lippe
d45dd5750c
Put attribute capitalization fix in property-effects
2018-02-28 13:12:09 +01:00
Tim van der Lippe
0a7b66e492
Merge branch 'master' into update-closure-version
2018-02-27 20:41:51 +01:00
Kevin Schaaf
9c6e6fec8d
Merge pull request #5112 from Polymer/TimvdLippe-patch-1
...
Add note to updateStyles regarding updates to CSS mixins
2018-02-26 15:53:59 -08:00
Tim van der Lippe
4004c9c44c
Update Google Closure Compiler version and fix cast
2018-02-25 16:49:53 +01:00
Kevin Schaaf
0657de02ae
Merge pull request #5129 from Polymer/dom-element-documentation
...
Fix several issues in the documentation of dom-* elements
2018-02-23 10:06:03 -08:00
Tim van der Lippe
8e1b3f4507
Fix several issues in the documentation of dom-* elements
2018-02-23 16:54:22 +01:00
Daniel Freedman
5c0f3e6af0
Handle disabled attribute correctly for tap gesture
...
Fixes #4685
2018-02-22 13:59:44 -08:00
Daniel Freedman
481dea6625
Merge pull request #5039 from Polymer/fix-label-tap
...
Fix label tap by checking matched label pairs
2018-02-21 17:34:55 -08:00
Daniel Freedman
e1df166204
Add docs and cleanup matchingLabels
...
Remove broken `while` loop, as that case is already handled by the
mouseCancellor code
2018-02-21 16:43:36 -08:00
Daniel Freedman
70edf1f8dc
Add tests
...
Workaround IE11 not having `element.labels` and Safari not populating
`element.labels` in shadowroots
2018-02-21 16:06:41 -08:00
Daniel Freedman
a37ba7e2cb
fix tests and add dependency import
2018-02-21 14:08:21 -08:00
Daniel Freedman
8f8135b2de
fix typings
2018-02-21 12:52:00 -08:00
Daniel Freedman
7e74e363ff
Ensure DisableUpgradeMixin extends PropertiesMixin
2018-02-21 12:45:18 -08:00
Steven Orvell
b8c66ded58
Format comment and remove deduping mixin
2018-02-21 12:08:19 -08:00
Steven Orvell
59d7f975b0
Merge branch 'master' into disable-upgrade
2018-02-21 10:22:08 -08:00
Steve Orvell
06bc75ecc8
Merge pull request #5108 from Polymer/5107-kschaaf-set-throws
...
Use stronger check for PropertyEffects clients. Fixes #5107
2018-02-21 10:17:43 -08:00
Tim van der Lippe
37fd5ffe8e
Add mixin to automatically detect capitalized HTML attributes
2018-02-21 13:04:06 +01:00
Kevin Schaaf
821f335bc8
Merge pull request #5110 from MajorBreakfast/patch-4
...
Remove unnecessary mutableData property from MutableData mixin
2018-02-20 10:50:21 -08:00
Duy Khoa
e6903821a7
Simplify condition checking in stylesFromModule function
2018-02-19 01:47:50 +08:00
Alexander Marks
9d86135c7b
dispatchEvent returns boolean ( #5117 )
2018-02-15 15:40:44 -08:00
Tim van der Lippe
55708acf8d
Fix issue with not genering the Templatizer docs
2018-02-13 14:50:12 +01:00
Josef Brandl
92b83249c1
Remove unnecessary mutableData property from MutableData mixin
2018-02-11 09:42:51 +01:00
Tim van der Lippe
d458bab317
Add note to updateStyles regarding updates to CSS mixins
2018-02-10 16:39:36 +01:00
Kevin Schaaf
e6d558ece2
Use stronger check for PropertyEffects clients. Fixes #5017
2018-02-08 14:23:49 -08:00
Steve Orvell
0e564aea11
Merge pull request #5097 from Polymer/shouldPropertiesChange
...
[PropertiesChanged]: adds _shouldPropertiesChange
2018-02-08 11:06:38 -08:00
Steven Orvell
74907b9a10
[PropertiesChanged]: allow old data to be gc'd after _propertiesChanged
2018-02-07 17:15:30 -08:00
Alexander Marks
3ede9b517e
Make EventApi.path EventTarget type non-nullable.
2018-02-06 22:29:26 -08:00
Steven Orvell
5607a2d8c3
Lint and type fixes
2018-02-06 14:48:36 -08:00
Steven Orvell
c1885a6a94
[PropertiesChanged]: adds _shouldPropertiesChange
...
Adds `_shouldPropertiesChange` method which can be overridden to customize when the `_propertiesChanged` method is called. This method gets the current, pending, and old property values and by default returns truthy...
2018-02-06 14:42:03 -08:00
Kevin Schaaf
9b3ca2c39e
Merge pull request #5089 from MajorBreakfast/patch-3
...
Update docs: templatize() cannot be called multiple times
2018-02-06 11:30:49 -08:00
Josef Brandl
27fc21c5b6
Update docs: templatize() cannot be called multiple times
2018-02-05 20:28:33 +01:00
Arthur Evans
73089414c2
Merge pull request #5090 from Polymer/arthurevans-patch-2
...
Fix JSDoc example formatting
2018-02-02 15:51:41 -08:00
Daniel Freedman
8b733e5227
2.5.0
2018-02-02 15:32:51 -08:00
Kevin Schaaf
fd8f906aa1
Merge pull request #4913 from Polymer/arthurevans-patch-1
...
Clarify API docs for PropertyAccessors mixin
2018-02-02 14:14:13 -08:00
Arthur Evans
699cd87f37
Fix JSDoc example formatting
2018-02-02 14:08:26 -08:00
Florian Ribon
636abae062
Update JSDocs to use <dom-repeat> tags
...
Update jsdocs to recommended use of wrapper custom elements from https://www.polymer-project.org/2.0/docs/about_20#type-extension
2018-02-01 15:53:16 -08:00
Josef Brandl
97837c7ca1
Use class syntax in <dom-repeat> documentation ( #5077 )
2018-02-01 15:02:31 +01:00
Kevin Schaaf
a829cbcef2
Add comments about resolveUrl idiosyncrasies.
2018-01-31 15:47:49 -08:00
Kevin Schaaf
127bc866b3
Revert "Move absolute url logic to element-mixin"
2018-01-31 15:27:55 -08:00
Steve Orvell
62fd4c5606
Merge pull request #4993 from Polymer/dom-if-slot
...
Templatize: remove slots when hiding children
2018-01-31 14:05:02 -08:00
Steven Orvell
1463e3b256
Avoid tracking parentNode since it's unncessary
2018-01-31 11:58:11 -08:00
Kevin Schaaf
a06759ad11
Merge branch 'master' into arthurevans-patch-1
2018-01-31 11:28:26 -08:00
Kevin Schaaf
c9208fd672
Fix nit.
2018-01-31 11:21:45 -08:00
Steven Orvell
a39cfd1147
Avoid comment constructor for IE support.
2018-01-31 10:47:55 -08:00
Kevin Schaaf
4c8d25551e
Merge pull request #5051 from Polymer/array-splice-only-start
...
Fix issue where el.splice could not clear full array
2018-01-31 10:46:17 -08:00
Kevin Schaaf
0856df4e4c
Merge pull request #5075 from Polymer/fix-5073
...
[element-mixin] Do not create property accessors unless a property ef…
2018-01-31 10:39:06 -08:00